diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-13 17:49:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-13 17:49:23 +0000 |
commit | 8da8809d03734d92c3bcf478fe051077ce3caa29 (patch) | |
tree | 09cd56d4a6e5245028e16b82b166fc95bd316c8e /src/sna | |
parent | cac335b979a95e31e201f9766d19d737361e09b2 (diff) |
sna/video: Simplify check for 915G[M] which is simply gen==30
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_video_textured.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index 55c78c96..8531fc6b 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -241,7 +241,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn, return Success; if (xvmc_passthrough(id)) { - if (IS_I915G(sna) || IS_I915GM(sna)) { + if (sna->kgem.gen == 30) { /* XXX: i915 is not support and needs some * serious care. grep for KMS in i915_hwmc.c */ return BadAlloc; |