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

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - "Hung GPU" errors when resuming from suspend-to-disk on kernel 3.8 (SNB/HD3000)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64725">64725</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>"Hung GPU" errors when resuming from suspend-to-disk on kernel 3.8 (SNB/HD3000)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>thiago@kde.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg CVS
          </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=79482" name="attach_79482" title="i915_error_state after the hung messages">attachment 79482</a> <a href="attachment.cgi?id=79482&action=edit" title="i915_error_state after the hung messages">[details]</a></span>
i915_error_state after the hung messages

When resuming a hibernated Linux 3.8 (suspend-to-disk), I get the following
errors in dmesg:

[133824.298846] Restarting tasks ... done.
[133824.302138] video LNXVIDEO:00: Restoring backlight state
[133824.574336] [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
[133839.582069] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed...
GPU hung
[133839.582074] [drm] capturing error event; look for more information in
/debug/dri/0/i915_error_state
[133847.567832] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed...
GPU hung
[133855.565593] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed...
GPU hung
[-- a couple more --]
[133873.569751] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring
wedged!
[133873.570591] [drm:i915_reset] *ERROR* Failed to reset chip.

Similar hung messages are to be found in Xorg.0.log, but I failed to capture it
before rebooting.

This is a regression from 3.7. With the exact same userspace, resume-from-disk
works on all 3.7 kernels I've tried, and it fails on all 3.8 kernels I've
tried.

Steps to reproduce:
1) suspend-to-disk
2) resume-from-disk

I initially thought this was related to suspend-to-disk while an extra output
was enabled, besides LVDS, and resuming while that output was not connected.
That particular bug happened in 3.5 or 3.6, but disappeared in 3.7.

Hardware:
 - SandyBridge (Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz)
 - Dell Latitude E6420, BIOS version A05
 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA
controller])
        Subsystem: Dell Device 0493
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at e1400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

Kernel:
 Stock Fedora 17 kernels.
 Last one to show failure: kernel-3.8.11-100
 (there's an updated 3.8.12, but I haven't tested)</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 the assignee for the bug.</li>
      </ul>
    </body>
</html>