radeonsi/vcn: remove EFC support for renoir

Renoir hardware has limited EFC support, so remove support for it from Mesa.
Thanks to @nyanmisaka for raising the issue.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9436

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27076>
This commit is contained in:
Thong Thai
2024-01-15 12:43:29 -05:00
committed by Marge Bot
parent ff84aef116
commit df5203d631

View File

@@ -808,7 +808,7 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
else
return 0;
case PIPE_VIDEO_CAP_EFC_SUPPORTED:
return ((sscreen->info.family >= CHIP_RENOIR) &&
return ((sscreen->info.family > CHIP_RENOIR) &&
!(sscreen->debug_flags & DBG(NO_EFC)));
case PIPE_VIDEO_CAP_ENC_MAX_REFERENCES_PER_FRAME: