Message ID | 1290137397-10786-1-git-send-email-mhopf@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/intel_driver.c b/src/intel_driver.c index 926c7e3..be41712 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -482,6 +482,13 @@ static Bool can_accelerate_2d(struct intel_screen_private *intel) if (drmIoctl(intel->drmSubFD, DRM_IOCTL_I915_GETPARAM, &gp)) return FALSE; } + if (INTEL_INFO(intel)->gen == 60) { + struct pci_device *const device = intel->PciInfo; + /* Sandybridge rev07 locks up easily, even with the workaround + * in place. Thus use shadowfb by default. */ + if (device->revision < 8) + return FALSE; + } return TRUE; }