[Bug 70461] [sna suse] ddx assertion hits

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 16 06:42:34 UTC 2016


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

--- Comment #140 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, I think I got it:

commit b6f204b62bbf2d0918761bb7773d2f80fff985fd
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Mar 15 21:24:20 2016 +0000

    sna/dri2: Prevent starting a swap chain for a decoupled Pixmap

    When a Window is resized, a new Pixmap is attached to the Window and the
    DRI2 buffers invalidated. However, the client may have requested a swap
    before it is notified of the resize and so we have to discard the stale
    swap. In doing so, we do not want to start a swap chain as it references
    the wrong frontbuffer and causes dire confusion when we start swapping
    for real.

    Reported-by: Jiri Slaby <jirislaby at gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70461#c131
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

plus a silly assert(chain->front = info->front) royally breaking things instead
of being the warning it was meant to be, which snuck into

commit d1672806a5222f00dcc2eb24ccddd03f727f71bc
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Feb 24 10:33:22 2016 +0000

    sna/dri2: Add active-scanout tracking to single CRTC flips

My task for today is to capture this resize race in tests/dri2-race.

-- 
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/20160316/326630bf/attachment.html>


More information about the intel-gfx-bugs mailing list