summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_hwmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_video_hwmc.c')
-rw-r--r--src/sna/sna_video_hwmc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sna/sna_video_hwmc.c b/src/sna/sna_video_hwmc.c
index 3da7d3a5..1f36096c 100644
--- a/src/sna/sna_video_hwmc.c
+++ b/src/sna/sna_video_hwmc.c
@@ -196,10 +196,7 @@ Bool sna_video_xvmc_setup(struct sna *sna,
char buf[64];
/* Needs KMS support. */
- if (IS_I915G(sna) || IS_I915GM(sna))
- return FALSE;
-
- if (IS_GEN2(sna))
+ if (sna->kgem.gen < 31)
return FALSE;
pAdapt = calloc(1, sizeof(XF86MCAdaptorRec));