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

Chris Wilson ickle at kemper.freedesktop.org
Sun Oct 6 09:28:32 PDT 2013


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

New commits:
commit c3fe60c15763c02b3b6238c77e6350d478cd8982
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Oct 6 17:27:22 2013 +0100

    sna/gen7: Add a always-stall debug option
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=68410
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 0a86372..9fac7b0f 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -46,6 +46,7 @@
 #include "gen4_vertex.h"
 
 #define ALWAYS_FLUSH 0
+#define ALWAYS_STALL 0
 
 #define NO_COMPOSITE 0
 #define NO_COMPOSITE_SPANS 0
@@ -1107,6 +1108,8 @@ gen7_emit_state(struct sna *sna,
 
 	need_stall = gen7_emit_binding_table(sna, wm_binding_table);
 	need_stall &= gen7_emit_drawing_rectangle(sna, op);
+	if (ALWAYS_STALL)
+		need_stall = true;
 
 	if (ALWAYS_FLUSH || kgem_bo_is_dirty(op->src.bo) || kgem_bo_is_dirty(op->mask.bo)) {
 		gen7_emit_pipe_invalidate(sna);


More information about the xorg-commit mailing list