xf86-video-intel: src/i830_driver.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Jun 21 14:06:54 PDT 2010


 src/i830_driver.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bebd64d82121d2b61893e1d0adebda03f4faea61
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Jun 21 22:05:19 2010 +0100

    Also submit any pending flush for *this* batch in the BlockHander.
    
    We still need to submit an additional flush if we have further writes
    since the last flush.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 5d5a3c5..91e5ac9 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -868,7 +868,9 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask)
 		 * rendering results may not hit the framebuffer until significantly
 		 * later.
 		 */
-		intel_batch_submit(scrn, intel->need_mi_flush);
+		intel_batch_submit(scrn,
+				   intel->need_mi_flush ||
+				   !list_is_empty(intel->flush_pixmaps));
 		drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE);
 	}
 


More information about the xorg-commit mailing list