Bug 89908 - [IVB Macbook HDMI] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
Summary: [IVB Macbook HDMI] [drm:intel_dp_complete_link_train] *ERROR* failed to train...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 16:03 UTC by Chris Bainbridge
Modified: 2017-07-24 22:47 UTC (History)
2 users (show)

See Also:
i915 platform: IVB
i915 features: display/eDP


Attachments
dmesg.4.0-rc6.f8b3d8a (209.81 KB, text/plain)
2015-04-05 16:10 UTC, Chris Bainbridge
no flags Details
dmesg v4.0-10710-g27cf3a1 (858.11 KB, text/plain)
2015-04-24 22:21 UTC, Chris Bainbridge
no flags Details

Description Chris Bainbridge 2015-04-05 16:03:46 UTC
Hardware: IVB Macbook Pro 13

Kernel: latest git 4.0-rc6+ f8b3d8a 
(also get same error with Debian kernel 3.16.0-4)

Reproduce:

- Boot with external monitor on HDMI port (using HDMI->DVI adaptor)

Result:

[    1.500888] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[    1.517432] [drm:ironlake_crtc_enable] *ERROR* mode set failed: pipe A stuck
xorg: laptop display blank, monitor corrupt

Full dmesg attached.

HDMI only = FAIL
HDMI+DP = FAIL
HDMI+DP1+DP2 = OK
DP1 = OK
DP1+DP2 = OK

Interestingly the triple monitor setup works ok but all other setups using HDMI port fail. Setups without HDMI port work OK.
Comment 1 Chris Bainbridge 2015-04-05 16:10:07 UTC
Created attachment 114875 [details]
dmesg.4.0-rc6.f8b3d8a
Comment 2 Chris Bainbridge 2015-04-24 22:20:55 UTC
v4.0-10710-g27cf3a1
clamshell mode (lid closed)
1 HDMI monitor

This error still occurs, but now the external monitor works.

Also:
    "blank wait timed out on crtc 0"
    "pipe_off wait timed out"

[    1.480366] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[    1.480515] [drm:intel_edp_backlight_on]
[    1.480517] [drm:intel_panel_enable_backlight] pipe A
[    1.480518] [drm:pch_enable_backlight] cpu backlight already enabled
[    1.497227] [drm:ironlake_crtc_enable] *ERROR* mode set failed: pipe A stuck
[    1.497248] [drm:intel_connector_check_state] [CONNECTOR:33:eDP-1]

...

[    6.362331] ------------[ cut here ]------------
[    6.362341] WARNING: CPU: 2 PID: 3066 at drivers/gpu/drm/drm_irq.c:1142 drm_wait_one_vblank+0xa5/0x180()
[    6.362342] vblank wait timed out on crtc 0
[    6.362343] Modules linked in: sbs sbshc
[    6.362348] CPU: 2 PID: 3066 Comm: Xorg Not tainted 4.0.0+ #32
[    6.362350] Hardware name: Apple Inc. MacBookPro10,2/Mac-AFD8A9D944EA4843, BIOS MBP102.88Z.0106.B07.1501071215 01/07/2015
[    6.362351]  ffffffff81ec0537 ffff880086d779e8 ffffffff81a7fe40 0000000000000007
[    6.362353]  ffff880086d77a38 ffff880086d77a28 ffffffff810beb95 000000000000030a
[    6.362355]  0000000000000000 ffff880263928800 0000000000000000 0000000000000000
[    6.362357] Call Trace:
[    6.362362]  [<ffffffff81a7fe40>] dump_stack+0x45/0x57
[    6.362366]  [<ffffffff810beb95>] warn_slowpath_common+0x85/0xc0
[    6.362368]  [<ffffffff810bec11>] warn_slowpath_fmt+0x41/0x50
[    6.362371]  [<ffffffff810f7a84>] ? finish_wait+0x54/0x70
[    6.362373]  [<ffffffff8157e605>] drm_wait_one_vblank+0xa5/0x180
[    6.362375]  [<ffffffff810f7c50>] ? wait_woken+0x90/0x90
[    6.362377]  [<ffffffff8157e6fb>] drm_crtc_wait_one_vblank+0x1b/0x30
[    6.362380]  [<ffffffff8156c3a0>] drm_plane_helper_commit+0x200/0x2b0
[    6.362382]  [<ffffffff8156c4e5>] drm_plane_helper_update+0x95/0xf0
[    6.362385]  [<ffffffff8160d933>] intel_crtc_set_config+0x863/0x1040
[    6.362388]  [<ffffffff81a7c141>] ? printk+0x41/0x43
[    6.362390]  [<ffffffff81587a26>] drm_mode_set_config_internal+0x66/0x100
[    6.362392]  [<ffffffff8158bd0b>] drm_mode_setcrtc+0x24b/0x610
[    6.362394]  [<ffffffff8157c9f1>] drm_ioctl+0x191/0x670
[    6.362397]  [<ffffffff811e8cf0>] do_vfs_ioctl+0x2e0/0x4e0
[    6.362400]  [<ffffffff81407bd7>] ? file_has_perm+0x87/0xa0
[    6.362402]  [<ffffffff811e8f71>] SyS_ioctl+0x81/0xa0
[    6.362405]  [<ffffffff81a88a97>] system_call_fastpath+0x12/0x6a
[    6.362407] ---[ end trace ad02b9afcf7b21f9 ]---

...

[    6.770752] ------------[ cut here ]------------
[    6.770774] WARNING: CPU: 0 PID: 3066 at drivers/gpu/drm/i915/intel_display.c:1034 intel_disable_pipe+0x28e/0x2a0()
[    6.770775] pipe_off wait timed out
[    6.770776] Modules linked in: sbs sbshc
[    6.770781] CPU: 0 PID: 3066 Comm: Xorg Tainted: G        W       4.0.0+ #32
[    6.770783] Hardware name: Apple Inc. MacBookPro10,2/Mac-AFD8A9D944EA4843, BIOS MBP102.88Z.0106.B07.1501071215 01/07/2015
[    6.770785]  ffffffff81e7e778 ffff880086d77988 ffffffff81a7fe40 0000000000000007
[    6.770787]  ffff880086d779d8 ffff880086d779c8 ffffffff810beb95 0000000000000000
[    6.770789]  ffff880263930000 0000000000070008 00000000fffb867d ffff8802642e8000
[    6.770791] Call Trace:
[    6.770796]  [<ffffffff81a7fe40>] dump_stack+0x45/0x57
[    6.770800]  [<ffffffff810beb95>] warn_slowpath_common+0x85/0xc0
[    6.770802]  [<ffffffff810bec11>] warn_slowpath_fmt+0x41/0x50
[    6.770804]  [<ffffffff815fdeee>] intel_disable_pipe+0x28e/0x2a0
[    6.770806]  [<ffffffff8160511b>] ironlake_crtc_disable+0xab/0x7f0
[    6.770808]  [<ffffffff8160610b>] __intel_set_mode+0x32b/0xcb0
[    6.770812]  [<ffffffff81597029>] ? drm_atomic_get_crtc_state+0x19/0xb0
[    6.770814]  [<ffffffff8160dd9f>] intel_crtc_set_config+0xccf/0x1040
[    6.770817]  [<ffffffff811076ea>] ? vprintk_default+0x1a/0x20
[    6.770819]  [<ffffffff81a7c141>] ? printk+0x41/0x43
[    6.770823]  [<ffffffff815802d0>] ? drm_ut_debug_printk+0x50/0x60
[    6.770825]  [<ffffffff81587a26>] drm_mode_set_config_internal+0x66/0x100
[    6.770827]  [<ffffffff8158bd0b>] drm_mode_setcrtc+0x24b/0x610
[    6.770829]  [<ffffffff8157c9f1>] drm_ioctl+0x191/0x670
[    6.770832]  [<ffffffff811e8cf0>] do_vfs_ioctl+0x2e0/0x4e0
[    6.770835]  [<ffffffff81407bd7>] ? file_has_perm+0x87/0xa0
[    6.770839]  [<ffffffff811d4ee2>] ? vfs_write+0x182/0x1b0
[    6.770841]  [<ffffffff811e8f71>] SyS_ioctl+0x81/0xa0
[    6.770844]  [<ffffffff81a88a97>] system_call_fastpath+0x12/0x6a
[    6.770845] ---[ end trace ad02b9afcf7b21fa ]---
Comment 3 Chris Bainbridge 2015-04-24 22:21:57 UTC
Created attachment 115317 [details]
dmesg v4.0-10710-g27cf3a1
Comment 4 Jani Nikula 2016-01-18 13:13:39 UTC
Please try kernel v4.4.
Comment 5 Chris Bainbridge 2016-01-19 00:40:49 UTC
Seems to be fixed in 4.4
Comment 6 Jani Nikula 2016-01-19 10:15:03 UTC
(In reply to Chris Bainbridge from comment #5)
> Seems to be fixed in 4.4

Thanks for testing and following up!


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.