diff options
author | Boyuan Zhang <[email protected]> | 2019-03-05 17:51:23 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:12 -0400 |
commit | 9ab1e427bbbb8d0edf6b97283dcf2a0000636ef5 (patch) | |
tree | 43d7497350d58e15923629b9071cb63fb855fb0f /src/gallium | |
parent | 6480c7b577792a7bbc917c2cdaa3b37da8e83e46 (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.c | 3 |
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; |