summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_hwmc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-06 09:19:56 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-06 09:19:56 +0000
commit22e452ebe01c32a08599411743cf18f9ad0545a7 (patch)
tree695c684532253421375c73313f6161edc5aed4d0 /src/sna/sna_video_hwmc.c
parenta8ed1a02ada1f8d2f910dfefb150d26c840bf9ea (diff)
sna: Disable use of xvmc for SNB+
Not yet implemented, so don't bother setting it to fail. References: https://bugs.freedesktop.org/show_bug.cgi?id=44874 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_hwmc.c')
-rw-r--r--src/sna/sna_video_hwmc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_video_hwmc.c b/src/sna/sna_video_hwmc.c
index 1f36096c..2baa9398 100644
--- a/src/sna/sna_video_hwmc.c
+++ b/src/sna/sna_video_hwmc.c
@@ -199,6 +199,10 @@ Bool sna_video_xvmc_setup(struct sna *sna,
if (sna->kgem.gen < 31)
return FALSE;
+ /* Not implemented */
+ if (sna->kgem.gen >= 60)
+ return FALSE;
+
pAdapt = calloc(1, sizeof(XF86MCAdaptorRec));
if (!pAdapt)
return FALSE;