From: Leo Liu Date: Wed, 14 Mar 2018 19:27:01 +0000 (-0400) Subject: radeonsi: cap VP9 support to Raven X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6adaf6de6d61ea8409601c2cdc39f99366cc3379;p=mesa.git radeonsi: cap VP9 support to Raven Signed-off-by: Leo Liu Acked-by: Christian König --- 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; }