projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3a560
)
radeonsi: add JPEG decode support for VCN 2.0 devices
author
Thong Thai
<thong.thai@amd.com>
Mon, 19 Aug 2019 18:31:08 +0000
(14:31 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 29 Aug 2019 21:27:35 +0000
(17:27 -0400)
Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
src/gallium/drivers/radeonsi/si_get.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_get.c
b/src/gallium/drivers/radeonsi/si_get.c
index f85a53393aab9e7db714e92551236298bd312cd0..912013d6bb34c34434802d7e414d3cb2f8e1828c 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-643,9
+643,7
@@
static int si_get_video_param(struct pipe_screen *screen,
return profile == PIPE_VIDEO_PROFILE_HEVC_MAIN;
return false;
case PIPE_VIDEO_FORMAT_JPEG:
- if (sscreen->info.family == CHIP_RAVEN ||
- sscreen->info.family == CHIP_RAVEN2 ||
- sscreen->info.family == CHIP_NAVI10)
+ if (sscreen->info.family >= CHIP_RAVEN)
return true;
if (sscreen->info.family < CHIP_CARRIZO || sscreen->info.family >= CHIP_VEGA10)
return false;