diff options
author | Leo Liu <[email protected]> | 2018-03-14 15:27:01 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2018-04-12 11:15:13 -0400 |
commit | 6adaf6de6d61ea8409601c2cdc39f99366cc3379 (patch) | |
tree | f0376bf56b512aa0d4a24da6bf7fee6211ff6626 /src/gallium/drivers/radeonsi | |
parent | 905368669d7b3acaa358c1169e57bddc9fa39411 (diff) |
radeonsi: cap VP9 support to Raven
Signed-off-by: Leo Liu <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-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 85cfb113383..761ca6f4cdf 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; } |