[Bug 89291] [uxa ivb] graphical glitches in the circulating symbol while waiting for an application

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 25 12:00:03 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89291

--- Comment #10 from Chris Wilson <chris at chris-wilson.co.uk> ---
Could you please try:

diff --git a/src/uxa/i965_render.c b/src/uxa/i965_render.c
index c1943fb..80b3c64 100644
--- a/src/uxa/i965_render.c
+++ b/src/uxa/i965_render.c
@@ -2255,6 +2255,7 @@ i965_composite(PixmapPtr dest, int srcX, int srcY, int
maskX, int maskY,
     if (intel->needs_render_state_emit) {
         i965_bind_surfaces(intel);

+        intel_batch_emit_flush(scrn);
         if (INTEL_INFO(intel)->gen >= 060)
             gen6_emit_composite_state(intel);
         else
diff --git a/src/uxa/intel_batchbuffer.c b/src/uxa/intel_batchbuffer.c
index a29e443..d48c1cf 100644
--- a/src/uxa/intel_batchbuffer.c
+++ b/src/uxa/intel_batchbuffer.c
@@ -208,9 +208,10 @@ void intel_batch_emit_flush(ScrnInfoPtr scrn)
             } else {
                 BEGIN_BATCH(4);
                 OUT_BATCH(BRW_PIPE_CONTROL | (4 - 2));
-                OUT_BATCH(BRW_PIPE_CONTROL_WC_FLUSH |
+                OUT_BATCH(BRW_PIPE_CONTROL_NOWRITE |
+                      BRW_PIPE_CONTROL_WC_FLUSH |
                       BRW_PIPE_CONTROL_TC_FLUSH |
-                      BRW_PIPE_CONTROL_NOWRITE);
+                      BRW_PIPE_CONTROL_CS_STALL);
                 OUT_BATCH(0); /* write address */
                 OUT_BATCH(0); /* write data */
                 ADVANCE_BATCH();

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150225/3106837d/attachment-0001.html>


More information about the intel-gfx-bugs mailing list