[Mesa-dev] [PATCH 11/22] radeonsi: cap VP9 support to Raven
Leo Liu
leo.liu at amd.com
Mon Apr 9 16:36:07 UTC 2018
Signed-off-by: Leo Liu <leo.liu at amd.com>
---
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 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;
}
--
2.14.1
More information about the mesa-dev
mailing list