<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:yann.argotti@intel.com" title="yann <yann.argotti@intel.com>"> <span class="fn">yann</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW] GPU HANG: ecode 7:0:0x85dffffc, in glxspheres64 [4492], reason: Hang on render ring, action: reset"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99001">bug 99001</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;">Assignee</td>
           <td>yann.argotti@intel.com
           </td>
           <td>chris@chris-wilson.co.uk
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW] GPU HANG: ecode 7:0:0x85dffffc, in glxspheres64 [4492], reason: Hang on render ring, action: reset"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99001#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW] GPU HANG: ecode 7:0:0x85dffffc, in glxspheres64 [4492], reason: Hang on render ring, action: reset"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99001">bug 99001</a>
              from <span class="vcard"><a class="email" href="mailto:yann.argotti@intel.com" title="yann <yann.argotti@intel.com>"> <span class="fn">yann</span></a>
</span></b>
        <pre>(In reply to Jari Tahvanainen from <a href="show_bug.cgi?id=99001#c14">comment #14</a>)
<span class="quote">> Yann, use five minutes and check out if new crash log give any new
> indication about the reason for hang.
> I also removed bisected keyword since assumable that is not the case.</span >

According to mesa engineers, mesa only emits 3DSTATE_VERTEX_ELEMENTS on-demand
right before 3DPRIMITIVE.

Chris has changed SNA to emit a dummy primitive between VertexElements in 
4acd4a7d3d2f41227022fa7581cfb85a0b124eae in xf86-video-intel (thanks to
<a href="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=4acd4a7d3d2f41227022fa7581cfb85a0b124eae">https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=4acd4a7d3d2f41227022fa7581cfb85a0b124eae</a>)
but this is for gen9. Here we are dealing with gen7, do we need such mechanism
as well in gen7_emit_vertex_elements?

An alternate solution is to use Glamor/modesetting.

*Details:
- Kernel: 4.9.0-rc8inteldri+
- Platform: Haswell (PCI ID: 0x0416, PCI Revision: 0x06, PCI Subsystem:
1462:10e0)
- Mesa: 13.0.2-2
- xf86-video-intel: 2.99.917.740.g9ac7a33-1



0x008a0540:      0x78090001: 3DSTATE_VERTEX_ELEMENTS
0x008a0544:      0x02850000:    buffer 0: valid, type 0x0085, src offset 0x0000
bytes
0x008a0548:      0x11230000:    (X, Y, 0.0, 1.0), dst offset 0x00 bytes
0x008a054c:      0x7b000005: 3DPRIMITIVE:
0x008a0550:      0x00000006:    tri fan sequential
0x008a0554:      0x00000004:    vertex count
0x008a0558:      0x00000000:    start vertex
0x008a055c:      0x00000001:    instance count
0x008a0560:      0x00000000:    start instance
0x008a0564:      0x00000000:    index bias
0x008a0568:      0x7a000003: PIPE_CONTROL
0x008a056c:      0x00101001:    no write, cs stall, render target cache flush,
depth cache flush,
0x008a0570:      0x00000000:    destination address
0x008a0574:      0x00000000:    immediate dword low
0x008a0578:      0x00000000:    immediate dword high
0x008a057c:      0x7a000003: PIPE_CONTROL
0x008a0580:      0x00000c10:    no write, instruction cache invalidate, texture
cache invalidate, vf fetch invalidate,
0x008a0584:      0x00000000:    destination address
0x008a0588:      0x00000000:    immediate dword low
0x008a058c:      0x00000000:    immediate dword high</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>