radeonsi: disable av1 decode for navi24

Disable AV1 decode for Navi24 since hardware doesn't support.

fixed: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7855

cc: mesa-stable

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20230>
This commit is contained in:
Boyuan Zhang 2022-12-08 09:46:40 -05:00 committed by Marge Bot
parent f3d2d076ed
commit 5233551e19

View file

@ -741,7 +741,7 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
return false;
return true;
case PIPE_VIDEO_FORMAT_AV1:
if (sscreen->info.family < CHIP_NAVI21)
if (sscreen->info.family < CHIP_NAVI21 || sscreen->info.family == CHIP_NAVI24)
return false;
return true;
default: