summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2010-11-19 04:29:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-05 11:42:33 +0000
commitc2fac6ca108734dd9566570b15f01cc476fa53dc (patch)
tree78963031bd56561088c40484c75035e5512e4462 /src
parent8abade8a2139b500251488be5d6390f149666fb2 (diff)
downloadxf86-video-intel-c2fac6ca108734dd9566570b15f01cc476fa53dc.tar.gz
xf86-video-intel-c2fac6ca108734dd9566570b15f01cc476fa53dc.tar.bz2
xf86-video-intel-c2fac6ca108734dd9566570b15f01cc476fa53dc.zip
Don't use hardware acceleration on Sandybridge rev 07 hardware or earlier.
This is known to lock up the GPU even with the workaround in place. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31773 Signed-off-by: Matthias Hopf <mhopf@suse.de> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/intel_driver.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c
index e4aecfcfd..a3d924f24 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -496,6 +496,17 @@ static Bool can_accelerate_blt(struct intel_screen_private *intel)
return FALSE;
}
+ if (INTEL_INFO(intel)->gen == 60) {
+ struct pci_device *const device = intel->PciInfo;
+
+ /* Sandybridge rev07 locks up easily, even with the
+ * BLT ring workaround in place.
+ * Thus use shadowfb by default.
+ */
+ if (device->revision < 8)
+ return FALSE;
+ }
+
return TRUE;
}