summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-09-17 16:39:12 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2010-09-17 16:39:12 +0800
commitf63c7df6866fed61551d39209b1a262e2a0c4b28 (patch)
tree0f5bcf8a55f419f4e9e442f5cdd4e72c6b30b3a7 /src
parent55b5fe888002258dd863d41977bfbfcf1a922179 (diff)
Disable swap buffer wait on Sandybridge
MI_LOAD_SCAN_LINE_INCL command is not available on sandybridge. I haven't got reply on any substitution for it, so turn it off for now. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/intel_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c
index 6087f55b..c0ad69e9 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -873,6 +873,9 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv)
intel->swapbuffers_wait = FALSE;
}
+ if (IS_GEN6(intel))
+ intel->swapbuffers_wait = FALSE;
+
xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Tiling %sabled\n",
intel->tiling ? "en" : "dis");
xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "SwapBuffers wait %sabled\n",