[Bug 73406] [SNA G33/31] xorg/ddx hits assertion `bo->refcnt' failed maybe once per day

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 4 13:49:47 PST 2014


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

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm, I've managed to reproduce on kgem_bo_submit() assert failure - but your
original report suggests that the assert(bo->refcnt) was more widespread.

commit 0906769c1b92520351729c4d8f2ab684d3ddf2eb
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Feb 4 17:51:51 2014 +0000

    sna: Rearrange assertion to ease use of substitute cached bo

    Since we call kgem_bo_submit() along one path when synchronising a
    cached bo (which is known to be inactive) but still want to keep the
    assertion on the refcnt, simply rearrange the code to only assert on the
    active path.

    References: https://bugs.freedesktop.org/show_bug.cgi?id=73406
    Reported-by: Matti Hamalainen <ccr at tnsp.org>
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

commit de73c5fd1cd4f948b8bd3582ae788f6f855c5b16
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Feb 4 20:57:24 2014 +0000

    sna: Tweak assert_bo_retired() to be callable on cached bo

    References: https://bugs.freedesktop.org/show_bug.cgi?id=73406
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Fixes up a couple of assert(bo->refcnt) for paths where refcnt was genuinely 0.
However, I don't think this explains your original bug. :|

-- 
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/20140204/ebfcf974/attachment.html>


More information about the intel-gfx-bugs mailing list