<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [BSW] GPU hang when suspending to disk"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94584">94584</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[BSW] GPU hang when suspending to disk
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>christophe.prigent@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=122368" name="attach_122368" title="suspend_stress_test.shell">attachment 122368</a> <a href="attachment.cgi?id=122368&action=edit" title="suspend_stress_test.shell">[details]</a></span>
suspend_stress_test.shell
Hardware:
Motherboard: Aspire XC-704
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz
cpu model : 76
cpu family : 6
Graphic card: Device 22b1 (rev 21)
Software:
Ubuntu 14.04
Bios: R01-A2
Kernel mainline 4.4.0 from
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git</a>
commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
Author: Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>>
Date: Sun Jan 10 15:01:32 2016 -0800
Linux 4.4
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: master bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from
git://git.freedesktop.org/git/xorg/util/macros
xserver: tag: xorg-server-1.18.1 23e60f9 from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: tag 2.99.917-560 d167280 from
git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: tag libva-1.7.0.pre1 35f1447 from
git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from
git://anongit.freedesktop.org/vaapi/intel-driver
IGT 1.14 364d378 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a>
One external screen connected to HDMI
Steps:
-------
1. Suspend to DISK with:
sudo -s
echo disk > /sys/power/state
2. Wait 60 seconds
3. Resume
4. Wait 30 seconds
5. Repeat previous steps several times
Actual result:
--------------
5. DUT reboots the 15th iteration without restoring any image, there is a GPU
hang:
[ 8.118322] sd 2:0:0:0: [sdb] No Caching mode page found
[ 8.118383] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 445.825548] [drm:i915_context_is_banned [i915]] *ERROR* gpu hanging too
fast, banning!
Expected result:
---------------
5. DUT can suspend to DISK and resume 2000 times
Info
----
I used the script attached to automate it, execute command:
# ./suspend_stress_test.shell --iterations=100 --mode=disk --suspend=48-52
--wake=28-32 --abort=none --display=error --file=suspend-log</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>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>