<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA G33/31] xorg/ddx hits assertion `bo->refcnt' failed maybe once per day"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73406#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA G33/31] xorg/ddx hits assertion `bo->refcnt' failed maybe once per day"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73406">bug 73406</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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 <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
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: <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA G33/31] xorg/ddx hits assertion `bo->refcnt' failed maybe once per day"
   href="show_bug.cgi?id=73406">https://bugs.freedesktop.org/show_bug.cgi?id=73406</a>
    Reported-by: Matti Hamalainen <<a href="mailto:ccr@tnsp.org">ccr@tnsp.org</a>>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

commit de73c5fd1cd4f948b8bd3582ae788f6f855c5b16
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Tue Feb 4 20:57:24 2014 +0000

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

    References: <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [SNA G33/31] xorg/ddx hits assertion `bo->refcnt' failed maybe once per day"
   href="show_bug.cgi?id=73406">https://bugs.freedesktop.org/show_bug.cgi?id=73406</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

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. :|</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>