xf86-video-intel: src/i830_driver.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Dec 4 01:08:54 PST 2009


 src/i830_driver.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 415aab474edd1425034981306718afd8506445f1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Dec 4 09:02:36 2009 +0000

    intel: And remember to flush the batch...
    
    In commit 98e11210
    
      Remove flush parameter from intel_batch_flush()
    
    Maxi spotted that I had broken screen updating. It appears in my haste
    to eliminate the extra parameter I removed a call to intel_batch_flush()
    when throttling, i.e. when pushing the updates to the screen before
    idling.
    
    Should fix:
    
      Bug 25409 [bisected] rendering corruption since a938673e
      https://bugs.freedesktop.org/show_bug.cgi?id=25409
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 21fb2ba..fbbc585 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -999,6 +999,7 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask)
 		 */
 		if (flush)
 			intel_batch_pipelined_flush(scrn);
+		intel_batch_flush(scrn);
 		drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE);
 
 		intel->need_mi_flush = FALSE;


More information about the xorg-commit mailing list