summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyuan Zhang <boyuan.zhang@amd.com>2022-12-08 09:46:40 -0500
committerEric Engestrom <eric@engestrom.ch>2022-12-14 20:47:01 +0000
commitbcc73ba6f7ac06b2bb55654d85ec47b30a46ebd3 (patch)
treecf859241982e09f09d0735bcc3b0ebbc833dd2b0
parent5b6718728bd869ceab37f833ef5b53b485fae969 (diff)
downloadmesa-bcc73ba6f7ac06b2bb55654d85ec47b30a46ebd3.tar.gz
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 5233551e1912519b456515ac8da7a62c9779fca8)
-rw-r--r--.pick_status.json2
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/.pick_status.json b/.pick_status.json
index bdfb0f2ccce..3c5783f5097 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -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
},
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 2a5d4851c91..1f774d6fd09 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -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: