<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [uxa ivb] graphical glitches in the circulating symbol while waiting for an application"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89291#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [uxa ivb] graphical glitches in the circulating symbol while waiting for an application"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89291">bug 89291</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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();</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>