<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><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> changed
              <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89903">bug 89903</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>NEEDINFO
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89903#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89903">bug 89903</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>This should fix the assertion:

commit 226a58bc592d4ed305b7ad0e460f1ee2548e0ddf
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
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.

    Reported-by: Chris Bainbridge <<a href="mailto:chris.bainbridge@gmail.com">chris.bainbridge@gmail.com</a>>
    References: <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed"
   href="show_bug.cgi?id=89903">https://bugs.freedesktop.org/show_bug.cgi?id=89903</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

and maybe the other odd issue. However, I still want to dig into why you are
hitting the sw cursor fallback.</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>