From 9ab1e427bbbb8d0edf6b97283dcf2a0000636ef5 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Tue, 5 Mar 2019 17:51:23 -0500 Subject: [PATCH] radeonsi: enable jpeg decode for navi10 Signed-off-by: Boyuan Zhang Acked-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_get.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 6b45e71f67f..5d08bdf83e6 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -629,7 +629,8 @@ static int si_get_video_param(struct pipe_screen *screen, return false; case PIPE_VIDEO_FORMAT_JPEG: if (sscreen->info.family == CHIP_RAVEN || - sscreen->info.family == CHIP_RAVEN2) + sscreen->info.family == CHIP_RAVEN2 || + sscreen->info.family == CHIP_NAVI10) return true; if (sscreen->info.family < CHIP_CARRIZO || sscreen->info.family >= CHIP_VEGA10) return false; -- 2.30.2