diff options
author | Leo Liu <leo.liu@amd.com> | 2018-03-14 15:27:01 -0400 |
---|---|---|
committer | Leo Liu <leo.liu@amd.com> | 2018-04-12 11:15:13 -0400 |
commit | 6adaf6de6d61ea8409601c2cdc39f99366cc3379 (patch) | |
tree | f0376bf56b512aa0d4a24da6bf7fee6211ff6626 | |
parent | 905368669d7b3acaa358c1169e57bddc9fa39411 (diff) |
radeonsi: cap VP9 support to Raven
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 85cfb11338..761ca6f4cd 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -648,6 +648,10 @@ static int si_get_video_param(struct pipe_screen *screen, return false; } return true; + case PIPE_VIDEO_FORMAT_VP9: + if (sscreen->info.family < CHIP_RAVEN) + return false; + return true; default: return false; } |