Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502104 - sys-kernel/gentoo-sources-3.10.25 - [drm:radeon_dp_link_train_cr] *ERROR* displayport link status failed after resume from suspend
Summary: sys-kernel/gentoo-sources-3.10.25 - [drm:radeon_dp_link_train_cr] *ERROR* dis...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 11:11 UTC by Kamil Roman
Modified: 2014-09-27 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lspci -vvv (lspci,38.47 KB, text/plain)
2014-02-22 11:14 UTC, Kamil Roman
Details
gentoo-sources-3.13.3 .config file (.config,90.59 KB, application/xml)
2014-02-22 11:25 UTC, Kamil Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Roman 2014-02-22 11:11:25 UTC
When I connect additional display with display port, after suspend/resume from KDE, switching to tty and back to KDE the screen gets blank and I can only switch back to tty. In /var/log/messages I get

[28322.660425] [drm:radeon_dp_link_train_cr] *ERROR* displayport link status failed
Feb 22 09:07:53 localhost kernel: [28322.660426] [drm:radeon_dp_link_train_cr] *ERROR* clock recovery failed

On gentoo-sources-3.13.3 I get additionally stacktrace:
Feb 22 09:07:53 localhost kernel: [28322.660425] [drm:radeon_dp_link_train_cr] *ERROR* displayport link status failed
Feb 22 09:07:53 localhost kernel: [28322.660426] [drm:radeon_dp_link_train_cr] *ERROR* clock recovery failed
Feb 22 09:07:53 localhost kernel: [28322.691536] ------------[ cut here ]------------
Feb 22 09:07:53 localhost kernel: [28322.691539] WARNING: CPU: 0 PID: 4554 at drivers/gpu/drm/drm_crtc.c:2051 drm_mode_set_config_internal+0xcc/0xd0()
Feb 22 09:07:53 localhost kernel: [28322.691541] Modules linked in: vboxnetflt(O) vboxnetadp(O) vboxdrv(O) [last unloaded: microcode]
Feb 22 09:07:53 localhost kernel: [28322.691543] CPU: 0 PID: 4554 Comm: X Tainted: G        W  O 3.13.3-gentoo #2
Feb 22 09:07:53 localhost kernel: [28322.691543] Hardware name: Hewlett-Packard HP EliteBook 8460p/161C, BIOS 68SCF Ver. F.42 07/15/2013
Feb 22 09:07:53 localhost kernel: [28322.691545]  0000000000000000 0000000000000009 ffffffff8182fa3a 0000000000000000
Feb 22 09:07:53 localhost kernel: [28322.691546]  ffffffff8104f5a1 ffff8800bea040a0 ffff88032ec36000 0000000000000000
Feb 22 09:07:53 localhost kernel: [28322.691547]  ffff88032f1d7000 ffff8800bea04a38 ffffffff8135daac 0000000000000001
Feb 22 09:07:53 localhost kernel: [28322.691547] Call Trace:
Feb 22 09:07:53 localhost kernel: [28322.691550]  [<ffffffff8182fa3a>] ? dump_stack+0x41/0x51
Feb 22 09:07:53 localhost kernel: [28322.691551]  [<ffffffff8104f5a1>] ? warn_slowpath_common+0x81/0xb0
Feb 22 09:07:53 localhost kernel: [28322.691553]  [<ffffffff8135daac>] ? drm_mode_set_config_internal+0xcc/0xd0
Feb 22 09:07:53 localhost kernel: [28322.691555]  [<ffffffff8134becb>] ? drm_fb_helper_pan_display+0x8b/0xe0
Feb 22 09:07:53 localhost kernel: [28322.691557]  [<ffffffff812f2499>] ? fb_pan_display+0xb9/0x180
Feb 22 09:07:53 localhost kernel: [28322.691558]  [<ffffffff812ffd81>] ? bit_update_start+0x21/0x50
Feb 22 09:07:53 localhost kernel: [28322.691559]  [<ffffffff812fe329>] ? fbcon_switch+0x389/0x530
Feb 22 09:07:53 localhost kernel: [28322.691562]  [<ffffffff812d6f6f>] ? redraw_screen+0x15f/0x240
Feb 22 09:07:53 localhost kernel: [28322.691563]  [<ffffffff812fef2a>] ? fbcon_blank+0x23a/0x2f0
Feb 22 09:07:53 localhost kernel: [28322.691565]  [<ffffffff812d762c>] ? do_unblank_screen+0xac/0x1e0
Feb 22 09:07:53 localhost kernel: [28322.691567]  [<ffffffff812cd87c>] ? complete_change_console+0x5c/0xf0
Feb 22 09:07:53 localhost kernel: [28322.691569]  [<ffffffff812ce804>] ? vt_ioctl+0xef4/0x10d0
Feb 22 09:07:53 localhost kernel: [28322.691570]  [<ffffffff810f57f5>] ? handle_mm_fault+0x595/0x9a0
Feb 22 09:07:53 localhost kernel: [28322.691572]  [<ffffffff814521c8>] ? pm_runtime_autosuspend_expiration+0x88/0x90
Feb 22 09:07:53 localhost kernel: [28322.691573]  [<ffffffff812c352f>] ? tty_ioctl+0x28f/0xb00
Feb 22 09:07:53 localhost kernel: [28322.691575]  [<ffffffff8103540a>] ? __do_page_fault+0x1ba/0x4a0
Feb 22 09:07:53 localhost kernel: [28322.691577]  [<ffffffff81375834>] ? radeon_drm_ioctl+0x84/0xb0
Feb 22 09:07:53 localhost kernel: [28322.691578]  [<ffffffff811242de>] ? do_vfs_ioctl+0x7e/0x500
Feb 22 09:07:53 localhost kernel: [28322.691580]  [<ffffffff811146e8>] ? __sb_end_write+0x28/0x60
Feb 22 09:07:53 localhost kernel: [28322.691581]  [<ffffffff81112bde>] ? vfs_write+0x19e/0x1f0
Feb 22 09:07:53 localhost kernel: [28322.691582]  [<ffffffff811247ad>] ? SyS_ioctl+0x4d/0x90
Feb 22 09:07:53 localhost kernel: [28322.691584]  [<ffffffff81838d22>] ? system_call_fastpath+0x16/0x1b
Feb 22 09:07:53 localhost kernel: [28322.691585] ---[ end trace 28c5b1928183c4f0 ]---


Reproducible: Always

Steps to Reproduce:
1. Connect additional display via displayport
2. Run the notebook and log in to KDE.
3. Suspend the notebook from KDE.
5. Resume the notebook.
6. Press Ctrl+Alt+F1 to switch to tty1
7. Press Alt+F7 to try to switch back to KDE
Actual Results:  
Screen gets blank, error message is displayed in /var/log/messages

Expected Results:  
KDE session is displayed successfully

Running HP Elitebook 8460p with Radeon HD 6470M

KDE 4.11.5

Tried gentoo-sources-3.10.25 (latest stable) and 3.13.3 (latest unstable), the bug is reproducible as described on both.
Comment 1 Kamil Roman 2014-02-22 11:12:59 UTC
BTW have not found a revelant bug upstream
Comment 2 Kamil Roman 2014-02-22 11:14:38 UTC
Created attachment 371016 [details]
lspci -vvv

Attached output of lspci -vvv
Comment 3 Kamil Roman 2014-02-22 11:25:27 UTC
Created attachment 371018 [details]
gentoo-sources-3.13.3 .config file

Attached .config for 3.13.3 kernel
Comment 4 Mike Pagano gentoo-dev 2014-09-27 22:45:51 UTC
we'll watch the upstream bug