[Bug 60140] New: [SNB]igt/kms_flip/flip-vs-modeset-vs-hang causes GPU hung

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 31 18:22:42 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60140

          Priority: medium
            Bug ID: 60140
                CC: bingx.a.yan at intel.com, yangweix.shui at intel.com
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [SNB]igt/kms_flip/flip-vs-modeset-vs-hang causes GPU
                    hung
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: huax.lu at intel.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

Created attachment 74029
  --> https://bugs.freedesktop.org/attachment.cgi?id=74029&action=edit
i915_error_state

System Environment:
--------------------------
Arch:           i386
Platform:       sandybridge
Kernel: (drm-intel-next-queued)699c938d75d5e0e4b6173f40727def6bb788a39d
Some additional commit info:
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130201/316c8e44/attachment-0001.html>


More information about the intel-gfx-bugs mailing list