<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [SKL bisected] texsubimage pbo intermittent failures"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91926#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [SKL bisected] texsubimage pbo intermittent failures"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91926">bug 91926</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>I was able to narrow down the combination of _mesa_update_state() and
brw_emit_mi_flush(). I got it simplified to a call _mesa_update_texture()
followed by part of the logic in brw_context.c:intel_update_state() - namely
calling brw_render_cache_set_check_flush() at least once. That call in turn is
simple check for existence of the underlying buffer object of the texture and
then a call to brw_emit_mi_flush().

So, after more simplification, I found out that if I'm calling
brw_emit_mi_flush() _twice_ after the call for _mesa_meta_pbo_TexSubImage() in
intelTexSubImage() I'm not able to reproduce the error. Recall that calling
brw_emit_mi_flush() isn't enough.

This is turn means that I'm mostly likely in square one - I'm simple changing
the dynamics enough to hide the real 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>