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>
(cherry picked from commit df5203d631)
This commit is contained in:
Thong Thai 2024-01-15 12:43:29 -05:00 committed by Eric Engestrom
parent 5dbea52bae
commit 25764d8e99
2 changed files with 2 additions and 2 deletions

View file

@ -3374,7 +3374,7 @@
"description": "radeonsi/vcn: remove EFC support for renoir",
"nominated": false,
"nomination_type": 3,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -749,7 +749,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: