diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-09-10 03:10:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-09-10 03:10:32 +0000 |
commit | 06400adc1ae4937d7ead837437b7662f006f9eda (patch) | |
tree | a0c0fbf2089d1b044b16d02f43fe3a2fe8633097 /driver | |
parent | 7e83fac579d31c829942137356a0f28128ad14e1 (diff) |
disable blit acceleration on haswell for now
seems to mitigate some hangs seen by weerd@ and matthieu@
Diffstat (limited to 'driver')
-rw-r--r-- | driver/xf86-video-intel/src/intel_driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/xf86-video-intel/src/intel_driver.c b/driver/xf86-video-intel/src/intel_driver.c index 780710624..9b9e703d5 100644 --- a/driver/xf86-video-intel/src/intel_driver.c +++ b/driver/xf86-video-intel/src/intel_driver.c @@ -405,6 +405,12 @@ static Bool can_accelerate_blt(struct intel_screen_private *intel) if (INTEL_INFO(intel)->gen == -1) return FALSE; + if (INTEL_INFO(intel)->gen >= 075) { + xf86DrvMsg(intel->scrn->scrnIndex, X_WARNING, + "Disabling hardware acceleration on Haswell, causes hangs.\n"); + return FALSE; + } + if (xf86ReturnOptValBool(intel->Options, OPTION_ACCEL_DISABLE, FALSE) || !intel_option_cast_string_to_bool(intel, OPTION_ACCEL_METHOD, TRUE)) { xf86DrvMsg(intel->scrn->scrnIndex, X_CONFIG, |