[Bug 70764] [snb] TearFree now triggers stuck semaphores (due to Eliminate the synchronous wait from inside TearFree)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 23 14:42:33 CEST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70764
--- Comment #18 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, try this simpler one instead:
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 7fcade6..5c04d78 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -4299,7 +4299,7 @@ static bool wait_for_shadow(struct sna *sna, struct
sna_pixmap *priv, unsigned f
damage = sna->mode.shadow_damage;
sna->mode.shadow_damage = NULL;
- while (sna->mode.shadow_flip && sna_mode_has_pending_events(sna))
+ while (sna->mode.shadow_flip && sna_mode_wait_for_event(sna))
sna_mode_wakeup(sna);
if (sna->mode.shadow_flip) {
--
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/20131023/38d27789/attachment.html>
More information about the intel-gfx-bugs
mailing list