From 6adaf6de6d61ea8409601c2cdc39f99366cc3379 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Wed, 14 Mar 2018 15:27:01 -0400 Subject: radeonsi: cap VP9 support to Raven MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Leo Liu Acked-by: Christian König --- src/gallium/drivers/radeonsi/si_get.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.2.3