<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45] bsd ring reset fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65495">bug 65495</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>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45] bsd ring reset fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65495#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45] bsd ring reset fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65495">bug 65495</a>
              from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=65495#c17">comment #17</a>)
<span class="quote">> Ok, the previous patch had some pretty massive issues, so new patch to test:

> <a href="https://patchwork.kernel.org/patch/2816111/">https://patchwork.kernel.org/patch/2816111/</a>

> It seems to work here, but please confirm that this one is still good.</span >

Works well with this patch.
output:
rings stopped
gpu hang correctly dectected

dmesg:
[  199.855498] [drm:i915_ring_stop_set], Stopping rings 0x0000000f
[  199.857770] [drm:i915_driver_open],
[  199.857786] [drm:intel_crtc_cursor_set], cursor off
[  199.857789] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[  199.857794] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  199.857797] [drm:intel_crtc_cursor_set], cursor off
[  199.857799] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[  199.857801] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  199.857807] [drm:i915_driver_open],
[  203.707172] [drm:i915_hangcheck_elapsed] *ERROR* stuck on render ring
[  203.707240] [drm] capturing error event; look for more information in
/sys/class/drm/card0/error
[  203.710729] [drm:i915_error_work_func], resetting chip
[  203.710774] [drm] Simulated gpu hang, resetting stop_rings
[  203.710819] [drm:i915_gem_context_init], Disabling HW Contexts; old hardware
[  203.710822] [drm:gm45_get_vblank_counter], trying to get vblank count for
disabled pipe B
[  203.710879] [drm:i9xx_update_plane], Writing base 00046000 00000000 0 0 5120
[  204.245423] [drm:intel_crtc_cursor_set], cursor off
[  204.245428] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[  204.245434] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.245437] [drm:intel_crtc_cursor_set], cursor off
[  204.245438] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[  204.245441] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.255272] [drm:i915_driver_open],
[  204.255280] [drm:intel_crtc_cursor_set], cursor off
[  204.255282] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[  204.255285] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.255287] [drm:intel_crtc_cursor_set], cursor off
[  204.255289] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[  204.255291] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.255297] [drm:i915_driver_open],
[  204.255332] [drm:intel_crtc_cursor_set], cursor off
[  204.255334] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[  204.255337] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.255339] [drm:intel_crtc_cursor_set], cursor off
[  204.255341] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[  204.255343] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[  204.646094] [drm:i915_error_state_write], Resetting error state</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>