<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96743#c51">Comment # 51</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96743">bug 96743</a>
              from <span class="vcard"><a class="email" href="mailto:topi.pohjolainen@intel.com" title="Topi Pohjolainen <topi.pohjolainen@intel.com>"> <span class="fn">Topi Pohjolainen</span></a>
</span></b>
        <pre>For quite some time I only saw _intel_batchbuffer_flush_fence() when switching
from render ring to blit ring. And specifically because the following condition
fired:

   /* If we're switching rings, implicitly flush the batch. */
   if (unlikely(ring != brw->batch.ring) && brw->batch.ring != UNKNOWN_RING &&
       brw->gen >= 6)

I thought this was for some reason significant. But now I've gotten the hang
also when flushing due to running out of batch space and also from render ring
itself (brw_try_draw_prims()).

What is also curious is that error decode shows the batch buffer containing
garbage starting from the beginning but both brw->batch->bo->map_cpu and
brw->batch->last_bo->map_cpu give me sane values (0x7a000003 and 0x54c00006
respectively). Error decode says the first dword is 0x423303d0.</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>