xf86-video-intel: src/i965_render.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Dec 7 12:47:25 PST 2010


 src/i965_render.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b967807c2d240488a715509649663aac3583532
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Dec 7 20:45:16 2010 +0000

    Revert "i965: The RenderCache flush after every glyph is required for compiz"
    
    This reverts commit 03e8351179b1c25d219842ef3e01ee8e176f594f.
    
    * sigh.
    
    This was only meant to be a temporary debugging hack, not for public
    consumption (or embarrassment).
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/i965_render.c b/src/i965_render.c
index ebaa10e..ca5e6b6 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -1924,7 +1924,7 @@ i965_composite(PixmapPtr dest, int srcX, int srcY, int maskX, int maskY,
 	if (INTEL_INFO(intel)->gen < 50) {
 	    /* XXX OMG! */
 	    i965_vertex_flush(intel);
-	    OUT_BATCH(MI_FLUSH);
+	    OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
 	}
 
 	intel_batch_end_atomic(scrn);


More information about the xorg-commit mailing list