xf86-video-intel: src/intel_driver.c

Zhenyu Wang zhen at kemper.freedesktop.org
Fri Sep 17 01:46:19 PDT 2010


 src/intel_driver.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f63c7df6866fed61551d39209b1a262e2a0c4b28
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 16:39:12 2010 +0800

    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 at linux.intel.com>

diff --git a/src/intel_driver.c b/src/intel_driver.c
index 6087f55..c0ad69e 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",


More information about the xorg-commit mailing list