From bcc73ba6f7ac06b2bb55654d85ec47b30a46ebd3 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Thu, 8 Dec 2022 09:46:40 -0500 Subject: [PATCH] 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 Reviewed-by: Ruijing Dong Part-of: (cherry picked from commit 5233551e1912519b456515ac8da7a62c9779fca8) --- .pick_status.json | 2 +- src/gallium/drivers/radeonsi/si_get.c | 2 +- 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: