xf86-video-intel: src/sna/gen4_render.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Dec 16 03:41:25 PST 2013


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

New commits:
commit 9289e2c56b7f0cc78c5123691ad96611f0e04bed
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Dec 16 11:39:20 2013 +0000

    sna/gen4: Sacrifice performance to workaround render corruption
    
    The long running saga of trying to find an acceptable workaround for the
    gen4 rendering corruption (seems to be a read-write hazard failure inside
    the gpu) is failing, the only w/a found so far is to send a single
    rectangle through the GPU at a time.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index a87af39..637137e 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -63,7 +63,7 @@
 #define NO_FILL_BOXES 0
 #define NO_VIDEO 0
 
-#define MAX_FLUSH_VERTICES 6
+#define MAX_FLUSH_VERTICES 1 /* was 6, https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
 
 #define GEN4_GRF_BLOCKS(nreg)    ((nreg + 15) / 16 - 1)
 


More information about the xorg-commit mailing list