[Intel-gfx] i915_wait_request: BUG_ON(seqno == 0) triggered on IvyBridge

Wu Fengguang fengguang.wu at intel.com
Mon Dec 19 07:25:17 CET 2011


Hi,

I managed to trigger the below BUG_ON when switching modes in an IvyBridge box.

i915_wait_request():

        BUG_ON(seqno == 0);

The call trace is at the bottom of the following dmesg.  Any ideas?

Thanks,
Fengguang
---
[  554.872849] [drm:drm_mode_getconnector], [CONNECTOR:6:?]
[  554.874490] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:6:VGA-1]
[  554.876059] [drm:intel_ironlake_crt_detect_hotplug], ironlake hotplug adpa=0x83f40018, result 1
[  554.878080] [drm:intel_crt_detect], CRT detected via hotplug
[  554.942138] [drm:drm_edid_to_eld], ELD: no CEA Extension found
[  554.948658] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:6:VGA-1] probed modes :
[  554.956306] [drm:drm_mode_debug_printmodeline], Modeline 19:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[  554.968661] [drm:drm_mode_debug_printmodeline], Modeline 25:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[  554.979304] [drm:drm_mode_debug_printmodeline], Modeline 20:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[  554.989715] [drm:drm_mode_debug_printmodeline], Modeline 26:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[  554.999572] [drm:drm_mode_debug_printmodeline], Modeline 27:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[  555.009914] [drm:drm_mode_debug_printmodeline], Modeline 28:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[  555.019513] [drm:drm_mode_debug_printmodeline], Modeline 21:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[  555.029576] [drm:drm_mode_debug_printmodeline], Modeline 22:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[  555.039131] [drm:drm_mode_debug_printmodeline], Modeline 23:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[  555.046116] [drm:drm_mode_debug_printmodeline], Modeline 24:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[  555.048700] [drm:drm_mode_getconnector], [CONNECTOR:6:?]
[  555.051126] [drm:drm_mode_getconnector], [CONNECTOR:9:?]
[  555.053007] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:HDMI-A-1]
[  555.066494] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:HDMI-A-1] disconnected
[  555.069830] [drm:drm_mode_getconnector], [CONNECTOR:9:?]
[  555.071982] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:HDMI-A-1]
[  555.087300] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:HDMI-A-1] disconnected
[  555.089683] [drm:drm_mode_getconnector], [CONNECTOR:13:?]
[  555.091775] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:HDMI-A-2]
[  555.105115] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:HDMI-A-2] disconnected
[  555.108413] [drm:drm_mode_getconnector], [CONNECTOR:13:?]
[  555.109646] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:HDMI-A-2]
[  555.124139] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:HDMI-A-2] disconnected
[  555.126380] [drm:drm_mode_getconnector], [CONNECTOR:14:?]
[  555.129581] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
[  555.132459] [drm:intel_dp_detect], DPCD: 110a840101000100
[  555.136364] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.165869] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.195046] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.197126] [drm:drm_detect_monitor_audio], Monitor has basic audio support
[  555.200698] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.230215] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.259247] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return 2
[  555.265006] [drm:drm_edid_to_eld], ELD monitor 221P3LPY
[  555.269556] [drm:drm_edid_to_eld], ELD size 8, SAD count 1
[  555.274536] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] probed modes :
[  555.282117] [drm:drm_mode_debug_printmodeline], Modeline 33:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x9
[  555.292807] [drm:drm_mode_debug_printmodeline], Modeline 36:"1680x1050" 60 146250 1680 1784 1960 2240 1050 1053 1059 1089 0x40 0x6
[  555.303118] [drm:drm_mode_debug_printmodeline], Modeline 45:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[  555.313819] [drm:drm_mode_debug_printmodeline], Modeline 35:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
[  555.324613] [drm:drm_mode_debug_printmodeline], Modeline 38:"1440x900" 75 136750 1440 1536 1688 1936 900 903 909 942 0x40 0x6
[  555.334564] [drm:drm_mode_debug_printmodeline], Modeline 37:"1440x900" 60 106500 1440 1520 1672 1904 900 903 909 934 0x40 0x6
[  555.344871] [drm:drm_mode_debug_printmodeline], Modeline 34:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0xa
[  555.354808] [drm:drm_mode_debug_printmodeline], Modeline 46:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[  555.363206] [drm:drm_mode_debug_printmodeline], Modeline 49:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[  555.366730] [drm:drm_mode_debug_printmodeline], Modeline 55:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[  555.373176] [drm:drm_mode_debug_printmodeline], Modeline 39:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[  555.375716] [drm:drm_mode_debug_printmodeline], Modeline 41:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
[  555.380110] [drm:drm_mode_debug_printmodeline], Modeline 40:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[  555.383506] [drm:drm_mode_debug_printmodeline], Modeline 42:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[  555.388883] [drm:drm_mode_debug_printmodeline], Modeline 43:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[  555.392293] [drm:drm_mode_debug_printmodeline], Modeline 44:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[  555.396749] [drm:drm_mode_getconnector], [CONNECTOR:14:?]
[  555.400890] [drm:drm_mode_getconnector], [CONNECTOR:16:?]
[  555.403144] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:16:DP-2]
[  555.406361] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.411227] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.416308] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.419702] [drm:intel_dp_detect], DPCD: 0000000000000000
[  555.421270] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:16:DP-2] disconnected
[  555.423126] [drm:drm_mode_getconnector], [CONNECTOR:16:?]
[  555.424338] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:16:DP-2]
[  555.426521] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.430212] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.434203] [drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x5145003e
[  555.437680] [drm:intel_dp_detect], DPCD: 0000000000000000
[  555.439486] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:16:DP-2] disconnected
[  555.443753] [drm:intel_crtc_cursor_set],
[  555.445421] [drm:intel_crtc_cursor_set], cursor off
[  555.455602] [drm:drm_mode_addfb], [FB:62]
[  555.457442] [drm:drm_mode_setcrtc], [CRTC:3]
[  555.459468] [drm:drm_mode_setcrtc], [CONNECTOR:6:VGA-1]
[  555.461482] [drm:drm_crtc_helper_set_config],
[  555.463574] [drm:drm_crtc_helper_set_config], [CRTC:3] [FB:62] #connectors=1 (x y) (0 0)
[  555.467340] [drm:drm_crtc_helper_set_config], [CONNECTOR:6:VGA-1] to [CRTC:3]
[  555.470905] [drm:drm_crtc_helper_set_config], [CONNECTOR:14:DP-1] to [CRTC:4]
[  555.493062] [drm:ironlake_update_plane], Writing base 06443000 00000000 0 0 12800
[  555.496149] [drm:intel_update_fbc],
[  555.502075] [drm:intel_prepare_page_flip], preparing flip with no unpin work?
[  555.549607] [drm:intel_wait_for_vblank], vblank wait timed out
[  555.551727] [drm:drm_mode_setcrtc], [CRTC:4]
[  555.552615] [drm:drm_mode_setcrtc], [CONNECTOR:14:DP-1]
[  555.553736] [drm:drm_crtc_helper_set_config],
[  555.554833] [drm:drm_crtc_helper_set_config], [CRTC:4] [FB:62] #connectors=1 (x y) (1280 0)
[  555.556917] [drm:drm_crtc_helper_set_config], [CONNECTOR:6:VGA-1] to [CRTC:3]
[  555.559330] [drm:drm_crtc_helper_set_config], [CONNECTOR:14:DP-1] to [CRTC:4]
[  555.562862] [drm:ironlake_update_plane], Writing base 06443000 00001400 1280 0 12800
[  555.565624] [drm:intel_update_fbc],
[  555.578992] [drm:intel_prepare_page_flip], preparing flip with no unpin work?
[  555.618530] [drm:intel_wait_for_vblank], vblank wait timed out
[  555.620617] [drm:intel_crtc_cursor_set],
[  555.621900] [drm:drm_mode_setcrtc], [CRTC:4]
[  555.622939] [drm:drm_mode_setcrtc], [CONNECTOR:14:DP-1]
[  555.624275] [drm:drm_crtc_helper_set_config],
[  555.625257] [drm:drm_crtc_helper_set_config], [CRTC:4] [FB:62] #connectors=1 (x y) (1280 0)
[  555.627996] [drm:drm_crtc_helper_set_config], modes are different, full mode set
[  555.630752] [drm:drm_mode_debug_printmodeline], Modeline 60:"" 0 31500 640 664 704 832 480 489 491 520 0x0 0xa
[  555.635059] [drm:drm_mode_debug_printmodeline], Modeline 56:"" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x0 0x9
[  555.640414] [drm:drm_crtc_helper_set_config], [CONNECTOR:6:VGA-1] to [CRTC:3]
[  555.642110] [drm:drm_crtc_helper_set_config], [CONNECTOR:14:DP-1] to [CRTC:4]
[  555.645673] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace
[  555.648381] [drm:drm_mode_debug_printmodeline], Modeline 56:"" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x0 0x9
[  555.652777] [drm:intel_dp_mode_fixup], Display port link bw 0a lane count 2 clock 270000
[  555.656487] [drm:drm_crtc_helper_set_mode], [CRTC:4]
[  555.657801] [drm:intel_dp_link_down],
[  555.677494] [drm:intel_dp_link_down], wfg: clearing DP_AUDIO_OUTPUT_ENABLE
[  555.708459] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=1
[  555.711083] HDMI status: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=0
[  555.716159] [drm:intel_prepare_page_flip], preparing flip with no unpin work?
[  555.761374] [drm:intel_wait_for_vblank], vblank wait timed out
[  555.786759] [drm:sandybridge_update_wm], FIFO watermarks For pipe A - plane 7, cursor: 6
[  555.789082] [drm:sandybridge_update_wm], FIFO watermarks For pipe B - plane 8, cursor: 6
[  555.790855] [drm:intel_update_fbc],
[  555.792042] [drm:intel_choose_pipe_bpp_dither], clamping display bpc (was -1) to EDID reported max of 8
[  555.794696] [drm:intel_choose_pipe_bpp_dither], setting pipe bpc to 8 (max display bpc 8)
[  555.796478] [drm:ironlake_crtc_mode_set], Mode for pipe 1:
[  555.797845] [drm:drm_mode_debug_printmodeline], Modeline 56:"" 0 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x0 0x9
[  555.852240] [drm:intel_wait_for_vblank], vblank wait timed out
[  555.853376] [drm:ironlake_update_plane], Writing base 06443000 00001400 1280 0 12800
[  555.855152] [drm:intel_update_fbc],
[  555.907214] [drm:intel_wait_for_vblank], vblank wait timed out
[  555.914108] [drm:sandybridge_update_wm], FIFO watermarks For pipe A - plane 7, cursor: 6
[  555.921375] [drm:sandybridge_update_wm], FIFO watermarks For pipe B - plane 8, cursor: 6
[  555.928702] [drm:drm_crtc_helper_set_mode], [ENCODER:15:TMDS-15] set [MODE:56:]
[  555.935083] [drm:intel_dp_mode_set], Enabling DP audio on pipe B
[  555.940722] [drm:intel_write_eld], ELD on [CONNECTOR:14:DP-1], [ENCODER:15:TMDS-15]
[  555.947655] [drm:ironlake_write_eld], ELD on pipe B
[  555.952008] [drm:ironlake_write_eld], Audio directed to unknown port
[  555.959322] [drm:ironlake_write_eld], ELD: DisplayPort detected
[  555.964878] [drm:sandybridge_update_wm], FIFO watermarks For pipe A - plane 7, cursor: 6
[  555.972207] [drm:sandybridge_update_wm], FIFO watermarks For pipe B - plane 8, cursor: 6
[  556.031077] [drm:intel_wait_for_vblank], vblank wait timed out
[  556.085018] [drm:intel_wait_for_vblank], vblank wait timed out
[  556.087200] [drm:ivb_manual_fdi_link_train], FDI_RX_IIR 0x100
[  556.088649] [drm:ivb_manual_fdi_link_train], FDI train 1 done.
[  556.090550] [drm:ivb_manual_fdi_link_train], FDI_RX_IIR 0x600
[  556.096435] [drm:ivb_manual_fdi_link_train], FDI train 2 done.
[  556.101733] [drm:ivb_manual_fdi_link_train], FDI train done.
[  556.107962] [drm:intel_update_fbc],
[  556.112331] [drm:intel_dp_start_link_train], training pattern 1 signal levels 00000000
[  556.120079] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[  556.120756] [drm:intel_dp_start_link_train], clock recovery OK
[  556.122521] [drm:drm_crtc_helper_set_config], Setting connector DPMS state to on
[  556.122525] [drm:drm_crtc_helper_set_config],        [CONNECTOR:14:DP-1] set DPMS on
[  556.144739] [drm:intel_prepare_page_flip], preparing flip with no unpin work?
[  556.151364] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
[  556.161207] HDMI: detected monitor 221P3LPY at connection type DisplayPort
[  556.168125] HDMI: available speakers: FL/FR
[  556.171648] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000 96000 176400, bits = 16 20 24
[  556.222548] [drm:drm_mode_addfb], [FB:65]
[  556.238386] [drm:intel_update_fbc],
[  556.254667] [drm:intel_update_fbc],
[  556.255918] [drm:drm_mode_addfb], [FB:62]
[  556.280296] ------------[ cut here ]------------
[  556.281614] kernel BUG at /c/wfg/linux/drivers/gpu/drm/i915/i915_gem.c:1952!
[  556.285079] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[  556.286429] CPU 0
[  556.286863] Modules linked in:
[  556.288448]
[  556.288800] Pid: 3391, comm: Xorg Tainted: G        W    3.2.0-rc5-eld+ #297 Intel Corporation 2012 Client Platform/LosLunas CRB
[  556.293417] RIP: 0010:[<ffffffff814b2027>]  [<ffffffff814b2027>] i915_wait_request+0x2b/0x42e
[  556.297258] RSP: 0018:ffff880142077b78  EFLAGS: 00010246
[  556.298521] RAX: ffff880141d95000 RBX: ffff880142304038 RCX: ffff880140c94800
[  556.302100] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880142304038
[  556.304718] RBP: ffff880142077bf8 R08: 0000000000000001 R09: ffff880142304000
[  556.308309] R10: 0000000000000000 R11: ffffffff814924d3 R12: 0000000000000000
[  556.311876] R13: ffff880142304000 R14: 0000000000000000 R15: ffff880140c94800
[  556.314519] FS:  00007f755d0db880(0000) GS:ffff880147400000(0000) knlGS:0000000000000000
[  556.318303] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  556.320625] CR2: 00007fec7a9d8010 CR3: 00000001406d8000 CR4: 00000000001406f0
[  556.324178] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  556.326790] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  556.329395] Process Xorg (pid: 3391, threadinfo ffff880142076000, task ffff880141294800)
[  556.332224] Stack:
[  556.332681]  0000000000000001 0000000000000004 ffff880142077ba8 ffffffff81097bf5
[  556.336437]  ffff880141294800 ffff880141294ef8 ffff880142077bd8 ffffffff810a272c
[  556.339975]  0000000042077c28 ffff880141294800 ffff880141d95488 ffff880140c94800
[  556.342672] Call Trace:
[  556.344209]  [<ffffffff81097bf5>] ? local_clock+0x41/0x5a
[  556.346508]  [<ffffffff810a272c>] ? lock_release_holdtime+0xa3/0xac
[  556.349830]  [<ffffffff814b245b>] i915_gem_object_wait_rendering+0x31/0x33
[  556.352369]  [<ffffffff814b450e>] i915_gem_object_pin_to_display_plane+0x3b/0xd8
[  556.355159]  [<ffffffff814c2577>] intel_pin_and_fence_fb_obj+0x8f/0xd1
[  556.357505]  [<ffffffff814c25f1>] intel_gen7_queue_flip+0x38/0x115
[  556.360934]  [<ffffffff814c240c>] intel_crtc_page_flip+0x1a2/0x27e
[  556.363282]  [<ffffffff8149d023>] drm_mode_page_flip_ioctl+0x171/0x1bd
[  556.365792]  [<ffffffff8148f956>] drm_ioctl+0x2c0/0x38c
[  556.367886]  [<ffffffff8149ceb2>] ? drm_mode_gamma_get_ioctl+0x115/0x115
[  556.370334]  [<ffffffff81084cea>] ? set_current_blocked+0x49/0x4e
[  556.372736]  [<ffffffff81097bf5>] ? local_clock+0x41/0x5a
[  556.373969]  [<ffffffff810a272c>] ? lock_release_holdtime+0xa3/0xac
[  556.376419]  [<ffffffff8103e6b4>] ? check_for_xstate+0x34/0x8f
[  556.379682]  [<ffffffff81156cb8>] do_vfs_ioctl+0x490/0x4d1
[  556.381866]  [<ffffffff81156d40>] sys_ioctl+0x47/0x6b
[  556.384068]  [<ffffffff8196a602>] system_call_fastpath+0x16/0x1b
[  556.386478] Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 58 66 66 66 66 90 48 8b 47 18 85 f6 48 89 fb 41 89 f6 4c 8b a8 c8 06 00 00 75 02 <0f> 0b 41 8b 85 68 1b 00 00 4d 8d bd 68 1b 00 00 85 c0 74 35 49
[  556.395704] RIP  [<ffffffff814b2027>] i915_wait_request+0x2b/0x42e
[  556.397971]  RSP <ffff880142077b78>




More information about the Intel-gfx mailing list