mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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>
(cherry picked from commit 5233551e19)
This commit is contained in:
parent
5b6718728b
commit
bcc73ba6f7
2 changed files with 2 additions and 2 deletions
|
|
@ -2416,7 +2416,7 @@
|
|||
"description": "radeonsi: disable av1 decode for navi24",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue