Created attachment 101419 [details] dmesg ==System Environment== -------------------------- Regression: No. It's first run tests on BSW Non-working platforms: BSW ==kernel== -------------------------- origin/drm-intel-nightly: 78f31a2d50183db12c0532eadcf486b9ebfa5f6d(fails) drm-intel-nightly: 2014y-06m-19d-21h-00m-17s integration manifest origin/drm-intel-next-queued: 9c33baa6b3bbb01c1a88dceba986b20e6642cf31(fails) drivers/i915: Fix unnoticed failure of init_ring_common() origin/drm-intel-fixes: 4a11e398b39b018c7aa3b22267cfdf3b7fae3625(fails) drm/i915: cache hw power well enabled state ==Bug detailed description== ----------------------------- eDP unable to light up after loading i915 driver, and calltrace during boot. the system is able to connect via ssh Dmesg shows: [ 601.382533] WARNING: CPU: 0 PID: 1096 at drivers/gpu/drm/i915/intel_pm.c:6116 vlv_power_well_enabled+0x68/0x91 [i915]() [ 601.382557] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm pcspkr serio_raw snd_timer snd soundcore battery ac option usb_wwan usbserial i915 video button drm_kms_helper drm [ 601.382561] CPU: 0 PID: 1096 Comm: kworker/0:1 Tainted: G W 3.15.0-rc8_drm-intel-next-queued_9c33ba_20140620+ #3734 [ 601.382566] Workqueue: events console_callback [ 601.382569] 0000000000000000 0000000000000009 ffffffff81772baa 0000000000000000 [ 601.382573] ffffffff81036e54 000000000000000f ffffffffa0068678 ffffffffa00ecae5 [ 601.382576] 0000000000030000 0000000000030000 ffff880002c80000 ffff880002c882a0 [ 601.382577] Call Trace: [ 601.382582] [<ffffffff81772baa>] ? dump_stack+0x41/0x51 [ 601.382586] [<ffffffff81036e54>] ? warn_slowpath_common+0x78/0x90 [ 601.382606] [<ffffffffa0068678>] ? vlv_power_well_enabled+0x68/0x91 [i915] [ 601.382626] [<ffffffffa0068678>] ? vlv_power_well_enabled+0x68/0x91 [i915] [ 601.382647] [<ffffffffa0069e16>] ? check_power_well_state+0xf/0x6f [i915] [ 601.382668] [<ffffffffa006df70>] ? intel_display_power_get+0x82/0xb9 [i915] [ 601.382695] [<ffffffffa00c1ffb>] ? _edp_panel_vdd_on+0x58/0x15f [i915] [ 601.382723] [<ffffffffa00c2660>] ? intel_dp_aux_ch+0x3f/0x5ae [i915] [ 601.382751] [<ffffffffa00b488f>] ? vlv_sideband_rw+0x21f/0x2bb [i915] [ 601.382755] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.382783] [<ffffffffa00c2cc6>] ? intel_dp_aux_transfer+0xf7/0x11f [i915] [ 601.382786] [<ffffffff81777332>] ? mutex_lock+0x9/0x25 [ 601.382793] [<ffffffffa004a450>] ? drm_dp_dpcd_access+0x61/0xe7 [drm_kms_helper] [ 601.382820] [<ffffffffa009993c>] ? chv_read64+0x221/0x221 [i915] [ 601.382827] [<ffffffffa004a4e9>] ? drm_dp_dpcd_write+0x13/0x17 [drm_kms_helper] [ 601.382854] [<ffffffffa00c359b>] ? intel_dp_sink_dpms+0x35/0x8f [i915] [ 601.382881] [<ffffffffa00c3627>] ? intel_disable_dp+0x32/0x5a [i915] [ 601.382910] [<ffffffffa00ad1db>] ? i9xx_crtc_disable+0x69/0x3c8 [i915] [ 601.382939] [<ffffffffa00a7771>] ? intel_crtc_update_dpms+0xbd/0x11d [i915] [ 601.382967] [<ffffffffa00aff0a>] ? intel_connector_dpms+0x3f/0x4a [i915] [ 601.382973] [<ffffffffa004d32f>] ? drm_fb_helper_dpms.isra.7+0x83/0xd0 [drm_kms_helper] [ 601.382979] [<ffffffffa004d3ae>] ? drm_fb_helper_blank+0x32/0x3c [drm_kms_helper] [ 601.382983] [<ffffffff8135e287>] ? fb_blank+0x51/0x84 [ 601.382987] [<ffffffff81356f60>] ? fbcon_blank+0x119/0x230 [ 601.382992] [<ffffffff8103ffd1>] ? lock_timer_base.isra.37+0x23/0x47 [ 601.382996] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.383000] [<ffffffff813aae31>] ? do_blank_screen+0x184/0x24f [ 601.383004] [<ffffffff813ad35b>] ? console_callback+0xc6/0xed [ 601.383008] [<ffffffff8104aade>] ? process_one_work+0x1e2/0x363 [ 601.383012] [<ffffffff8104b385>] ? worker_thread+0x1c7/0x2bc [ 601.383016] [<ffffffff8104b1be>] ? manage_workers.isra.23+0x1b5/0x1b5 [ 601.383019] [<ffffffff8104fb32>] ? kthread+0xc5/0xcd [ 601.383023] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.383027] [<ffffffff8177e97c>] ? ret_from_fork+0x7c/0xb0 [ 601.383031] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.383033] ---[ end trace cf182eec4eb73319 ]--- [ 601.383054] WARNING: CPU: 0 PID: 1096 at drivers/gpu/drm/i915/intel_pm.c:6178 check_power_well_state+0x69/0x6f [i915]() [ 601.383056] state mismatch for 'dpio-tx-c-01' (always_on 0 hw state 0 use-count 146 disable_power_well 1 [ 601.383080] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm pcspkr serio_raw snd_timer snd soundcore battery ac option usb_wwan usbserial i915 video button drm_kms_helper drm [ 601.383083] CPU: 0 PID: 1096 Comm: kworker/0:1 Tainted: G W 3.15.0-rc8_drm-intel-next-queued_9c33ba_20140620+ #3734 [ 601.383087] Workqueue: events console_callback [ 601.383091] 0000000000000000 0000000000000009 ffffffff81772baa ffff8800731af918 [ 601.383094] ffffffff81036e54 0000000000000000 ffffffffa0069e70 ffffffff8333a6a8 [ 601.383098] ffffffffa00fee90 ffffffffa00fee90 0000000000000004 0000000000008000 [ 601.383098] Call Trace: [ 601.383103] [<ffffffff81772baa>] ? dump_stack+0x41/0x51 [ 601.383107] [<ffffffff81036e54>] ? warn_slowpath_common+0x78/0x90 [ 601.383127] [<ffffffffa0069e70>] ? check_power_well_state+0x69/0x6f [i915] [ 601.383132] [<ffffffff81036f04>] ? warn_slowpath_fmt+0x45/0x4a [ 601.383152] [<ffffffffa0068695>] ? vlv_power_well_enabled+0x85/0x91 [i915] [ 601.383173] [<ffffffffa0069e70>] ? check_power_well_state+0x69/0x6f [i915] [ 601.383194] [<ffffffffa006df70>] ? intel_display_power_get+0x82/0xb9 [i915] [ 601.383221] [<ffffffffa00c1ffb>] ? _edp_panel_vdd_on+0x58/0x15f [i915] [ 601.383249] [<ffffffffa00c2660>] ? intel_dp_aux_ch+0x3f/0x5ae [i915] [ 601.383277] [<ffffffffa00b488f>] ? vlv_sideband_rw+0x21f/0x2bb [i915] [ 601.383281] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.383309] [<ffffffffa00c2cc6>] ? intel_dp_aux_transfer+0xf7/0x11f [i915] [ 601.383312] [<ffffffff81777332>] ? mutex_lock+0x9/0x25 [ 601.383319] [<ffffffffa004a450>] ? drm_dp_dpcd_access+0x61/0xe7 [drm_kms_helper] [ 601.383346] [<ffffffffa009993c>] ? chv_read64+0x221/0x221 [i915] [ 601.383353] [<ffffffffa004a4e9>] ? drm_dp_dpcd_write+0x13/0x17 [drm_kms_helper] [ 601.383380] [<ffffffffa00c359b>] ? intel_dp_sink_dpms+0x35/0x8f [i915] [ 601.383407] [<ffffffffa00c3627>] ? intel_disable_dp+0x32/0x5a [i915] [ 601.383436] [<ffffffffa00ad1db>] ? i9xx_crtc_disable+0x69/0x3c8 [i915] [ 601.383465] [<ffffffffa00a7771>] ? intel_crtc_update_dpms+0xbd/0x11d [i915] [ 601.383493] [<ffffffffa00aff0a>] ? intel_connector_dpms+0x3f/0x4a [i915] [ 601.383508] [<ffffffffa004d32f>] ? drm_fb_helper_dpms.isra.7+0x83/0xd0 [drm_kms_helper] [ 601.383515] [<ffffffffa004d3ae>] ? drm_fb_helper_blank+0x32/0x3c [drm_kms_helper] [ 601.383518] [<ffffffff8135e287>] ? fb_blank+0x51/0x84 [ 601.383523] [<ffffffff81356f60>] ? fbcon_blank+0x119/0x230 [ 601.383527] [<ffffffff8103ffd1>] ? lock_timer_base.isra.37+0x23/0x47 [ 601.383531] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.383535] [<ffffffff813aae31>] ? do_blank_screen+0x184/0x24f [ 601.383539] [<ffffffff813ad35b>] ? console_callback+0xc6/0xed [ 601.383543] [<ffffffff8104aade>] ? process_one_work+0x1e2/0x363 [ 601.383547] [<ffffffff8104b385>] ? worker_thread+0x1c7/0x2bc [ 601.383551] [<ffffffff8104b1be>] ? manage_workers.isra.23+0x1b5/0x1b5 [ 601.383555] [<ffffffff8104fb32>] ? kthread+0xc5/0xcd [ 601.383559] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.383562] [<ffffffff8177e97c>] ? ret_from_fork+0x7c/0xb0 [ 601.383566] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.383568] ---[ end trace cf182eec4eb7331a ]--- [ 601.602051] WARNING: CPU: 0 PID: 1096 at drivers/gpu/drm/i915/intel_dp.c:370 intel_dp_aux_ch+0xa2/0x5ae [i915]() [ 601.602052] eDP powered off while attempting aux channel communication. [ 601.602076] Modules linked in: ip6table_filter ip6_tables ipv6 iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm pcspkr serio_raw snd_timer snd soundcore battery ac option usb_wwan usbserial i915 video button drm_kms_helper drm [ 601.602079] CPU: 0 PID: 1096 Comm: kworker/0:1 Tainted: G W 3.15.0-rc8_drm-intel-next-queued_9c33ba_20140620+ #3734 [ 601.602083] Workqueue: events console_callback [ 601.602087] 0000000000000000 0000000000000009 ffffffff81772baa ffff8800731af9b8 [ 601.602090] ffffffff81036e54 00000000000c0000 ffffffffa00c26c3 00000000000c0000 [ 601.602093] ffff8800774b78d8 ffff880002c80000 ffff880002c80000 0000000000000001 [ 601.602094] Call Trace: [ 601.602099] [<ffffffff81772baa>] ? dump_stack+0x41/0x51 [ 601.602103] [<ffffffff81036e54>] ? warn_slowpath_common+0x78/0x90 [ 601.602130] [<ffffffffa00c26c3>] ? intel_dp_aux_ch+0xa2/0x5ae [i915] [ 601.602134] [<ffffffff81036f04>] ? warn_slowpath_fmt+0x45/0x4a [ 601.602162] [<ffffffffa00c26c3>] ? intel_dp_aux_ch+0xa2/0x5ae [i915] [ 601.602190] [<ffffffffa00b488f>] ? vlv_sideband_rw+0x21f/0x2bb [i915] [ 601.602194] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.602222] [<ffffffffa00c2cc6>] ? intel_dp_aux_transfer+0xf7/0x11f [i915] [ 601.602226] [<ffffffff81777332>] ? mutex_lock+0x9/0x25 [ 601.602232] [<ffffffffa004a450>] ? drm_dp_dpcd_access+0x61/0xe7 [drm_kms_helper] [ 601.602260] [<ffffffffa009993c>] ? chv_read64+0x221/0x221 [i915] [ 601.602266] [<ffffffffa004a4e9>] ? drm_dp_dpcd_write+0x13/0x17 [drm_kms_helper] [ 601.602293] [<ffffffffa00c359b>] ? intel_dp_sink_dpms+0x35/0x8f [i915] [ 601.602321] [<ffffffffa00c3627>] ? intel_disable_dp+0x32/0x5a [i915] [ 601.602349] [<ffffffffa00ad1db>] ? i9xx_crtc_disable+0x69/0x3c8 [i915] [ 601.602378] [<ffffffffa00a7771>] ? intel_crtc_update_dpms+0xbd/0x11d [i915] [ 601.602406] [<ffffffffa00aff0a>] ? intel_connector_dpms+0x3f/0x4a [i915] [ 601.602413] [<ffffffffa004d32f>] ? drm_fb_helper_dpms.isra.7+0x83/0xd0 [drm_kms_helper] [ 601.602419] [<ffffffffa004d3ae>] ? drm_fb_helper_blank+0x32/0x3c [drm_kms_helper] [ 601.602422] [<ffffffff8135e287>] ? fb_blank+0x51/0x84 [ 601.602427] [<ffffffff81356f60>] ? fbcon_blank+0x119/0x230 [ 601.602431] [<ffffffff8103ffd1>] ? lock_timer_base.isra.37+0x23/0x47 [ 601.602435] [<ffffffff8104003b>] ? try_to_del_timer_sync+0x46/0x51 [ 601.602439] [<ffffffff813aae31>] ? do_blank_screen+0x184/0x24f [ 601.602443] [<ffffffff813ad35b>] ? console_callback+0xc6/0xed [ 601.602447] [<ffffffff8104aade>] ? process_one_work+0x1e2/0x363 [ 601.602451] [<ffffffff8104b385>] ? worker_thread+0x1c7/0x2bc [ 601.602455] [<ffffffff8104b1be>] ? manage_workers.isra.23+0x1b5/0x1b5 [ 601.602459] [<ffffffff8104fb32>] ? kthread+0xc5/0xcd [ 601.602463] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.602466] [<ffffffff8177e97c>] ? ret_from_fork+0x7c/0xb0 [ 601.602470] [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40 [ 601.602472] ---[ end trace cf182eec4eb7331e ]--- ==Reproduce steps== ---------------------------- 1. Boot the device with eDP
Could you provide a full dmesg starting from boot, also showing the WARNs?
Created attachment 101562 [details] dmesg (In reply to comment #1) > Could you provide a full dmesg starting from boot, also showing the WARNs? Update dmesg
(In reply to comment #2) > Created attachment 101562 [details] > dmesg > > (In reply to comment #1) > > Could you provide a full dmesg starting from boot, also showing the WARNs? > > Update dmesg You can get the warning message form the video below: http://youtu.be/f-WrZOXCF1s
Can you try this tree & branch from Ville for this? git://gitorious.org/vsyrjala/linux.git chv_stuff_5
(In reply to comment #4) > Can you try this tree & branch from Ville for this? > > git://gitorious.org/vsyrjala/linux.git chv_stuff_5 eDP is able to light up on Ville's tree, the commit is "7f80850d3f9fd8fda23a317044aef3a6bafab06b"
This bug still able to reproduce on latest -nightly(089bea2664988de48fccc81407ebe12115156731) while running test igt/kms_cursor_crc/cursor-128-offscreen root@x-bsw01 tests]# ./kms_cursor_crc --run-subtest cursor-128-offscreen IGT-Version: 1.7-g4d4f4b2 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_089bea_20140725_debug+ x86_64) Beginning cursor-128-offscreen on pipe C, connector HDMI-A-3 .................................................... cursor-128-offscreen on pipe C, connector HDMI-A-3: PASSED Subtest cursor-128-offscreen: SUCCESS <4>[ 232.558222] WARNING: CPU: 3 PID: 3855 at drivers/gpu/drm/i915/intel_pm.c:6171 vlv_power_well_enabled+0x7b/0xa8 [i915]() <4>[ 232.558227] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac i915 button video drm_kms_helper drm option usb_wwan usbserial <4>[ 232.558317] CPU: 3 PID: 3855 Comm: kms_cursor_crc Tainted: G W 3.16.0-rc6_drm-intel-nightly_089bea_20140725_debug+ #790 <4>[ 232.558667] [<ffffffffa00ea0f8>] drm_helper_probe_single_connector_modes_merge_bits+0x158/0x2f9 [drm_kms_helper] <4>[ 232.558693] [<ffffffffa00ea2be>] drm_helper_probe_single_connector_modes+0x13/0x15 [drm_kms_helper] <4>[ 232.558733] [<ffffffffa009fe52>] drm_mode_getconnector+0xf7/0x3e8 [drm] <4>[ 232.558762] [<ffffffffa0093223>] drm_ioctl+0x2bd/0x425 [drm] <4>[ 232.558792] [<ffffffffa009fd5b>] ? drm_mode_getcrtc+0xc1/0xc1 [drm] <4>[ 232.591059] WARNING: CPU: 3 PID: 3855 at drivers/gpu/drm/i915/intel_pm.c:6171 vlv_power_well_enabled+0x7b/0xa8 [i915]() <4>[ 232.591064] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec snd_hwdep r8169 snd_pcm snd_timer snd soundcore battery ac i915 button video drm_kms_helper drm option usb_wwan usbserial <4>[ 232.591145] CPU: 3 PID: 3855 Comm: kms_cursor_crc Tainted: G W 3.16.0-rc6_drm-intel-nightly_089bea_20140725_debug+ #790 <4>[ 232.591434] [<ffffffffa00ea0f8>] drm_helper_probe_single_connector_modes_merge_bits+0x158/0x2f9 [drm_kms_helper] <4>[ 232.591450] [<ffffffffa00ea2be>] drm_helper_probe_single_connector_modes+0x13/0x15 [drm_kms_helper] <4>[ 232.591483] [<ffffffffa009fe52>] drm_mode_getconnector+0xf7/0x3e8 [drm] <4>[ 232.591547] [<ffffffffa0093223>] drm_ioctl+0x2bd/0x425 [drm] <4>[ 232.591587] [<ffffffffa009fd5b>] ? drm_mode_getcrtc+0xc1/0xc1 [drm]
Can you try again with the latest nightly? I think we have enough of the fixes in so that basic stuff should work.
Is this fixed in nightly now?
It works well on latest nightly kernel(cf1dde8b8783).
Regarding as fixed then.
Verified.Fixed.
Closing old verified.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.