[Bug 97914] Redraw lag on Ivy Bridge since 1f6dfc9df678

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 14 20:10:38 UTC 2016


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

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
I think I'm starting to understand. It's not a missing wait/flush for the
target drawable, but missing flushes on the source textures, i.e.

mesa diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index ee05f39..d63c89b 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -1007,8 +1007,7 @@ dri2_bind_tex_image(Display * dpy,
    if (pdraw != NULL) {
       psc = (struct dri2_screen *) base->psc;

-      if (!pdp->invalidateAvailable && psc->f &&
-           psc->f->base.version >= 3 && psc->f->invalidate)
+      if (psc->f && psc->f->base.version >= 3 && psc->f->invalidate)
         psc->f->invalidate(pdraw->driDrawable);

       if (psc->texBuffer->base.version >= 2 &&

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


More information about the intel-gfx-bugs mailing list