diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2010-09-17 16:39:12 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2010-09-17 16:39:12 +0800 |
commit | f63c7df6866fed61551d39209b1a262e2a0c4b28 (patch) | |
tree | 0f5bcf8a55f419f4e9e442f5cdd4e72c6b30b3a7 | |
parent | 55b5fe888002258dd863d41977bfbfcf1a922179 (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>
-rw-r--r-- | src/intel_driver.c | 3 |
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", |