<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 --- - [SNB]igt/kms_flip/flip-vs-modeset-vs-hang causes GPU hung"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60140">60140</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>bingx.a.yan@intel.com, yangweix.shui@intel.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[SNB]igt/kms_flip/flip-vs-modeset-vs-hang causes GPU hung
</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>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=74029" name="attach_74029" title="i915_error_state">attachment 74029</a> <a href="attachment.cgi?id=74029&action=edit" title="i915_error_state">[details]</a></span>
i915_error_state
System Environment:
--------------------------
Arch: i386
Platform: sandybridge
Kernel: (drm-intel-next-queued)699c938d75d5e0e4b6173f40727def6bb788a39d
Some additional commit info:
Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Date: Wed Jan 30 15:59:56 2013 +0100
drm/i915: don't run hsw power well code on !hsw
Bug detailed description:
-------------------------
It causes GPU hung on sandybridge. It happens on -queued kernel and -fixes
kernel.
test commit:
(drm-intel-fixes)4518f611ba21ba165ea3714055938a8984a44ff9
(drm-intel-next-queued)699c938d75d5e0e4b6173f40727def6bb788a39d
output:
Using monotonic timestamps
running testcase: flip-vs-modeset-vs-hang
Beginning flip-vs-modeset-vs-hang on crtc 3, connector 7
1600x900 60 1600 1664 1706 1970 900 903 906 912 0xa 0x48 107800
.
dmesg:
[ 35.548779] [drm:i915_driver_open],
[ 35.548796] [drm:intel_crtc_set_config], [CRTC:3] [FB:11] #connectors=1 (x
y) (0 0)
[ 35.548802] [drm:intel_modeset_stage_output_state], [CONNECTOR:7:LVDS-1] to
[CRTC:3]
[ 35.548804] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[ 35.548806] [drm:intel_modeset_stage_output_state], [CONNECTOR:7:LVDS-1] to
[CRTC:3]
[ 35.548813] [drm:i915_driver_open],
[ 35.548894] [drm:drm_mode_getresources], CRTC[2] CONNECTORS[8] ENCODERS[8]
[ 35.548899] [drm:drm_mode_getresources], CRTC[2] CONNECTORS[8] ENCODERS[8]
[ 35.548907] [drm:drm_mode_getconnector], [CONNECTOR:7:?]
[ 35.548909] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:7:LVDS-1]
[ 35.548921] [drm:drm_helper_probe_single_connector_modes],
[CONNECTOR:7:LVDS-1] probed modes :
[ 35.548923] [drm:drm_mode_debug_printmodeline], Modeline 30:"1600x900" 60
107800 1600 1664 1706 1970 900 903 906 912 0x48 0xa
[ 35.548925] [drm:drm_mode_debug_printmodeline], Modeline 31:"1600x900" 40
71870 1600 1664 1706 1970 900 903 906 912 0x40 0xa
[ 35.548929] [drm:drm_mode_getconnector], [CONNECTOR:7:?]
[ 35.605399] [drm:drm_mode_addfb], [FB:32]
[ 35.618087] [drm:drm_mode_addfb], [FB:33]
[ 35.618122] [drm:drm_mode_setcrtc], [CRTC:3]
[ 35.618126] [drm:drm_mode_setcrtc], [CONNECTOR:7:LVDS-1]
[ 35.618128] [drm:intel_crtc_set_config], [CRTC:3] [FB:32] #connectors=1 (x
y) (0 0)
[ 35.618133] [drm:intel_modeset_stage_output_state], [CONNECTOR:7:LVDS-1] to
[CRTC:3]
[ 35.620056] [drm:ironlake_update_plane], Writing base 005F1000 00000000 0 0
6400
[ 35.631312] [drm:intel_update_fbc], fbc set to per-chip default
[ 35.631321] [drm:intel_update_fbc], fbc disabled per module param
[ 35.647411] [drm:drm_mode_setcrtc], [CRTC:3]
[ 35.647426] [drm:drm_mode_setcrtc], [CONNECTOR:7:LVDS-1]
[ 35.647432] [drm:intel_crtc_set_config], [CRTC:3] [FB:32] #connectors=1 (x
y) (0 0)
[ 35.647443] [drm:intel_modeset_stage_output_state], [CONNECTOR:7:LVDS-1] to
[CRTC:3]
[ 35.647451] [drm:ironlake_update_plane], Writing base 005F1000 00000000 0 0
6400
[ 35.665272] [drm:intel_update_fbc], fbc set to per-chip default
[ 35.665281] [drm:intel_update_fbc], fbc disabled per module param
[ 35.665387] [drm:i915_driver_open],
[ 35.665392] [drm:intel_update_fbc], fbc set to per-chip default
[ 35.665396] [drm:intel_update_fbc], fbc disabled per module param
[ 35.665412] [drm:i915_ring_stop_write], Stopping rings 0x0000000f
[ 35.665433] [drm:drm_mode_setcrtc], [CRTC:3]
[ 35.665435] [drm:intel_crtc_set_config], [CRTC:3] [NOFB]
[ 35.665437] [drm:intel_modeset_stage_output_state], [CONNECTOR:7:LVDS-1] to
[NOCRTC]
[ 35.665438] [drm:intel_modeset_stage_output_state], encoder changed, full
mode switch
[ 35.665440] [drm:intel_modeset_stage_output_state], crtc changed, full mode
switch
[ 35.665442] [drm:intel_set_mode], set mode pipe masks: modeset: 0, prepare:
0, disable: 1
[ 35.665444] [drm:intel_panel_actually_set_backlight], set backlight PWM = 0
[ 43.671116] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU
hung
[ 43.671161] [drm] capturing error event; look for more information in
/debug/dri/0/i915_error_state
[ 43.674881] [drm:i915_error_work_func], resetting chip
[ 43.675048] [drm:gm45_get_vblank_counter], trying to get vblank count for
disabled pipe B
Reproduce steps:
----------------
1. ./kms_flip --run-subtest flip-vs-modeset-vs-hang</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>