FS#41565 - [linux] Display Port error with kernel versions >3.15.5-2

Attached to Project: Arch Linux
Opened by Antoine Rougier (Thorleif) - Thursday, 14 August 2014, 15:59 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 22 October 2014, 16:08 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

* Machine setup:
I am using a Dell Latitude E7440 (laptop) which is docked on a dell E-Port dock station and I use a secondary screen (HP) which is plugged on the DVI port of the dock.

* Problem:
Until linux 3.15.5-2 everything worked well (apart the O2-micro card reader but we don't car here). Since the 3.15.7-1 update, the screen is not detected during the boot anymore and sometimes it wakes up after logging in my gnome session.

During the boot, the shutdown or in a virtual shell, an error about the display port is printed frequently:
- [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting.


* Here is the xrandr output when the secondary screen is connected even if it doesn't work:

Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 32767 x 32767
eDP1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.02*+
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1920x1080 59.99 +
1600x1200 60.00
1680x1050 59.95
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1280x720 59.97
1024x768 60.00
800x600 60.32
640x480 60.00
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


* And here a part of dmesg log after booting on linux 3.16-2 this morning:

[ 531.339637] CPU: 3 PID: 25 Comm: kworker/3:0 Tainted: G W 3.16.0-2-ARCH #1
[ 531.339638] Hardware name: Dell Inc. Latitude E7440/0PPXP5, BIOS A05 09/23/2013
[ 531.339648] Workqueue: events i915_hotplug_work_func [i915]
[ 531.339649] 0000000000000000 000000002429c849 ffff8801186f7c88 ffffffff8152a9d8
[ 531.339652] 0000000000000000 ffff8801186f7cc0 ffffffff8106e45d ffff8800da220000
[ 531.339655] 0000000080000006 ffff8800da0fb800 0000000000000002 ffff8801180c18d8
[ 531.339658] Call Trace:
[ 531.339662] [<ffffffff8152a9d8>] dump_stack+0x4d/0x6f
[ 531.339666] [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
[ 531.339668] [<ffffffff8106e58a>] warn_slowpath_null+0x1a/0x20
[ 531.339679] [<ffffffffa01122a9>] intel_dp_link_down+0x1a9/0x230 [i915]
[ 531.339690] [<ffffffffa0116a35>] intel_dp_complete_link_train+0x105/0x370 [i915]
[ 531.339700] [<ffffffffa0117328>] intel_dp_check_link_status+0xb8/0x1b0 [i915]
[ 531.339710] [<ffffffffa010ded8>] intel_ddi_hot_plug+0x28/0x30 [i915]
[ 531.339720] [<ffffffffa00d2a84>] i915_hotplug_work_func+0x1f4/0x340 [i915]
[ 531.339724] [<ffffffff8108afa8>] process_one_work+0x168/0x450
[ 531.339727] [<ffffffff8108b5db>] worker_thread+0x6b/0x550
[ 531.339730] [<ffffffff8108b570>] ? init_pwq.part.22+0x10/0x10
[ 531.339732] [<ffffffff81091cea>] kthread+0xea/0x100
[ 531.339735] [<ffffffff81091c00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 531.339738] [<ffffffff815306bc>] ret_from_fork+0x7c/0xb0
[ 531.339741] [<ffffffff81091c00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 531.339743] ---[ end trace 2a4539d26fa3b807 ]---
[ 531.472958] ------------[ cut here ]------------
[ 531.472975] WARNING: CPU: 3 PID: 25 at drivers/gpu/drm/i915/intel_dp.c:3122 intel_dp_link_down+0x1a9/0x230 [i915]()
[ 531.472976] Modules linked in: fuse ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common btusb videodev media bluetooth hid_generic usbhid intel_rapl x86_pkg_temp_thermal intel_powerclamp 6lowpan_iphc kvm_intel kvm joydev crct10dif_pclmul mousedev coretemp nvram hwmon crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel pn544_mei aes_x86_64 lrw gf128mul mei_phy pn544 hci glue_helper snd_hda_codec_realtek nfc iTCO_wdt iTCO_vendor_support ablk_helper dell_laptop snd_hda_codec_hdmi serio_raw arc4 dell_wmi snd_hda_codec_generic psmouse cryptd dcdbas sparse_keymap ppdev microcode i2c_hid hid iwlmvm mac80211 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep e1000e iwlwifi snd_pcm snd_timer snd cfg80211 rfkill soundcore 8250_dw mei_me wmi i2c_designware_platform i2c_i801
[ 531.473012] thermal evdev battery gpio_lynxpoint mei i2c_designware_core lpc_ich parport_pc ptp parport dw_dmac ac pps_core mac_hid dell_smo8800 dw_dmac_core shpchp spi_pxa2xx_platform processor ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci ehci_pci ehci_hcd xhci_hcd libata scsi_mod sdhci_pci usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core
[ 531.473037] CPU: 3 PID: 25 Comm: kworker/3:0 Tainted: G W 3.16.0-2-ARCH #1
[ 531.473038] Hardware name: Dell Inc. Latitude E7440/0PPXP5, BIOS A05 09/23/2013
[ 531.473048] Workqueue: events i915_hotplug_work_func [i915]
[ 531.473050] 0000000000000000 000000002429c849 ffff8801186f7c88 ffffffff8152a9d8
[ 531.473053] 0000000000000000 ffff8801186f7cc0 ffffffff8106e45d ffff8800da220000
[ 531.473056] 0000000080000006 ffff8800da0fb800 0000000000000002 ffff8801180c18d8
[ 531.473058] Call Trace:
[ 531.473062] [<ffffffff8152a9d8>] dump_stack+0x4d/0x6f
[ 531.473066] [<ffffffff8106e45d>] warn_sl-------
[ 543.234210] WARNING: CPU: 0 PID: 1064 at drivers/gpu/drm/i915/intel_dp.c:3122 intel_dp_link_down+0x1a9/0x230 [i915]()
[ 543.234213] Modules linked in: fuse ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common btusb videodev media bluetooth hid_generic usbhid intel_rapl x86_pkg_temp_thermal intel_powerclamp 6lowpan_iphc kvm_intel kvm joydev crct10dif_pclmul mousedev coretemp nvram hwmon crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel pn544_mei aes_x86_64 lrw gf128mul mei_phy pn544 hci glue_helper snd_hda_codec_realtek nfc iTCO_wdt iTCO_vendor_support ablk_helper dell_laptop snd_hda_codec_hdmi serio_raw arc4 dell_wmi snd_hda_codec_generic psmouse cryptd dcdbas sparse_keymap ppdev microcode i2c_hid hid iwlmvm mac80211 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep e1000e iwlwifi snd_pcm snd_timer snd cfg80211 rfkill soundcore 8250_dw mei_me wmi i2c_designware_platform i2c_i801
[ 543.234267] thermal evdev battery gpio_lynxpoint mei i2c_designware_core lpc_ich parport_pc ptp parport dw_dmac ac pps_core mac_hid dell_smo8800 dw_dmac_core shpchp spi_pxa2xx_platform processor ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci ehci_pci ehci_hcd xhci_hcd libata scsi_mod sdhci_pci usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core
[ 543.234310] CPU: 0 PID: 1064 Comm: kworker/0:3 Tainted: G W 3.16.0-2-ARCH #1
[ 543.234314] Hardware name: Dell Inc. Latitude E7440/0PPXP5, BIOS A05 09/23/2013
[ 543.234336] Workqueue: events i915_hotplug_work_func [i915]
[ 543.234339] 0000000000000000 0000000069d926be ffff88011767bc88 ffffffff8152a9d8
[ 543.234344] 0000000000000000 ffff88011767bcc0 ffffffff8106e45d ffff8800da220000
[ 543.234347] 0000000080000006 ffff8800da0fb800 0000000000000002 ffff8801180c18d8
[ 543.234352] Call Trace:
[ 543.234381] [<ffffffff8152a9d8>] dump_stack+0x4d/0x6f
[ 543.234400] [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
[ 543.234405] [<ffffffff8106e58a>] warn_slowpath_null+0x1a/0x20
[ 543.234423] [<ffffffffa01122a9>] intel_dp_link_down+0x1a9/0x230 [i915]
[ 543.234444] [<ffffffffa0116a35>] intel_dp_complete_link_train+0x105/0x370 [i915]
[ 543.234460] [<ffffffffa0117328>] intel_dp_check_link_status+0xb8/0x1b0 [i915]
[ 543.234475] [<ffffffffa010ded8>] intel_ddi_hot_plug+0x28/0x30 [i915]
[ 543.234490] [<ffffffffa00d2a84>] i915_hotplug_work_func+0x1f4/0x340 [i915]
[ 543.234508] [<ffffffff8108afa8>] process_one_work+0x168/0x450
[ 543.234512] [<ffffffff8108b5db>] worker_thread+0x6b/0x550
[ 543.234518] [<ffffffff8108b570>] ? init_pwq.part.22+0x10/0x10
[ 543.234523] [<ffffffff81091cea>] kthread+0xea/0x100
[ 543.234527] [<ffffffff81091c00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 543.234539] [<ffffffff815306bc>] ret_from_fork+0x7c/0xb0
[ 543.234543] [<ffffffff81091c00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 543.234546] ---[ end trace 2a4539d26fa3b853 ]---
[ 543.254995] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[ 543.572439] ------------[ cut here ]------------
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 22 October 2014, 16:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.17.x
Comment by Antoine Rougier (Thorleif) - Thursday, 14 August 2014, 16:30 GMT
PS: I also see in the changelog of the 3.15.7-1 that a guy from Red Hat have changed something in the dp link code maybe it can help you to know:
* ftp://ftp.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.7
* Commit: c6930992948adf0f8fc1f6ff1da51c5002a2cf95
Comment by Antoine Rougier (Thorleif) - Wednesday, 10 September 2014, 07:57 GMT
The issue is still the same even with the 3.16.2-1. However I have tried something that might interest you:
I only experience this problem by using the docking station (Dell E-Port II) and not with a basic DP<->DVI adapter.
Comment by Antoine Rougier (Thorleif) - Friday, 19 September 2014, 13:38 GMT
It is continuing not to work even with 3.16.3-1.
Comment by Antoine Rougier (Thorleif) - Tuesday, 07 October 2014, 08:32 GMT
It is still not working with 3.16.4-1.
Comment by Antoine Rougier (Thorleif) - Wednesday, 15 October 2014, 13:37 GMT
So today I have installed the testing/linux (3.17.0-2) package instead of core/linux (3.16.4-1). The shortcoming of kernel versions >3.15.5-2 looks to be fixed.
Now I am waiting the push of 3.17 to core when it will be ready and I hope this is note only a behavior.

Loading...