summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBoyuan Zhang <[email protected]>2019-03-05 17:51:23 -0500
committerMarek Olšák <[email protected]>2019-07-03 15:51:12 -0400
commit9ab1e427bbbb8d0edf6b97283dcf2a0000636ef5 (patch)
tree43d7497350d58e15923629b9071cb63fb855fb0f /src/gallium
parent6480c7b577792a7bbc917c2cdaa3b37da8e83e46 (diff)
radeonsi: enable jpeg decode for navi10
Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c3
1 files changed, 2 insertions, 1 deletions
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;