sna/video: Simplify check for 915G[M] which is simply gen==30
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
cac335b979
commit
8da8809d03
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue