<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BDW]igt some gem_reset_stats subcases cause GPU hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78723">78723</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW]igt some gem_reset_stats subcases cause GPU hang
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=99056" name="attach_99056" title="dmesg">attachment 99056</a> <a href="attachment.cgi?id=99056&action=edit" title="dmesg">[details]</a></span>
dmesg

system Environment:
--------------------------
Platform: Broadwell
Kernel:(drm-intel-nightly)c74cad3c2599b47438b168ca5629fbb00ab63f95

Bug detailed description:
-----------------------------
Run some gem_reset_stats subcases, GPU HANG reports in dmesg. It happens on 
Broadwell with -nightly, queued and -fixes kernel.
Run earlier kernel, this issue still exists.

run  ./gem_reset_stats --run-subtest ban-blt
output:
IGT-Version: 1.6-g351e7d3 (x86_64) (Linux:
3.15.0-rc3_drm-intel-nightly_c74cad_20140515+ x86_64)
Subtest ban-blt: SUCCESS

dmesg -r | egrep "<[1-6]>" |grep drm
<6>[  106.713869] [drm] stuck on blitter ring
<6>[  106.715357] [drm] GPU HANG: ecode 2:0xe77ffff2, in gem_reset_stats
[4470], reason: Ring hung, action: reset
<6>[  106.715360] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
<6>[  106.715362] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
<6>[  106.715366] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
<6>[  106.715370] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
<6>[  106.715371] [drm] GPU crash dump saved to /sys/class/drm/card0/error
<6>[  106.716771] [drm] Simulated gpu hang, resetting stop_rings
<6>[  112.711645] [drm] stuck on blitter ring
<6>[  112.712839] [drm] GPU HANG: ecode 2:0xe77ffff2, in gem_reset_stats
[4470], reason: Ring hung, action: reset
<6>[  112.714606] [drm] Simulated gpu hang, resetting stop_rings

Reproduce steps:
----------------------------
1. ./gem_reset_stats --run-subtest ban-blt</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>