[Bug 89903] [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 5 03:01:56 PDT 2015


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

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

commit 7cf670228eec058a97f6450df46a1a47cb080583
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Apr 4 20:58:24 2015 +0100

    sna/dri2: Prevent the sw cursor from copyig to a buffer as we discard it

    During swapbuffers, the sw cursor tries to write to the old buffer.
    Ordinary this is not an issue as we are discarding it, but under
    TearFree that write causes us to instantiate the shadow buffer with a
    possible recursion into set_bo and mayhem.

    v2:

    commit 226a58bc592d4ed305b7ad0e460f1ee2548e0ddf
    Author: Chris Wilson <chris at chris-wilson.co.uk>
    Date:   Sat Apr 4 20:58:24 2015 +0100

        sna/dri2: Prevent the sw cursor from copyig to a buffer as we discard
it

    Tried to fix it by disabling SourceValidate. However, it a direct hook
    into the Damage code by miSprite that triggers the copy. Since there
    appears to be no way to intervene, we just mark that copy as internal
    and ignore it.

    Reported-by: Chris Bainbridge <chris.bainbridge at gmail.com>
    References: https://bugs.freedesktop.org/show_bug.cgi?id=89903
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
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/20150405/37e73c3b/attachment.html>


More information about the intel-gfx-bugs mailing list