Bug 218211 - Thinkpad X13 AMD: Problems with external monitor wake up after suspend
Summary: Thinkpad X13 AMD: Problems with external monitor wake up after suspend
Status: RESOLVED ANSWERED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: AMD Linux
: P3 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-30 18:12 UTC by Oliver Schmidt
Modified: 2023-12-13 20:34 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.1.64
Subsystem:
Regression: Yes
Bisected commit-id: ec5fa9fcdeca69edf7dab5ca3b2e0ceb1c08fe9a


Attachments

Description Oliver Schmidt 2023-11-30 18:12:07 UTC
Since kernel version 6.1.57 I have problems with external monitor wakeup after suspend on Thinkpad X13 AMD Gen2 Notebook.

Notebook is in docking station with closed lid. Suspend & Resume. The external monitor gets no signal. After randomly typing Ctrl+Alt+Fn for switchung consoles, the monitor at some point gets signal and is usable again.

It worked with kernel 6.1.56.

I managed to compile a 6.1.57 kernel and also a 6.1.64 kernel by reverting the changes from commit ec5fa9 "drm/amd/display: Adjust the MST resume flow" (https://github.com/torvalds/linux/commit/ec5fa9fcdeca69edf7dab5ca3b2e0ceb1c08fe9a?diff=split&w=1?diff=split&w=1) and with this suspend & resume worked like before without any problems.

I reported this also to the Manjaro's support forum, since I tried this on Manjaro Linux (https://forum.manjaro.org/t/problems-with-external-monitor-wake-up-after-suspend/151840).
Comment 1 Bagas Sanjaya 2023-12-01 00:06:58 UTC
(In reply to Oliver Schmidt from comment #0)
> Since kernel version 6.1.57 I have problems with external monitor wakeup
> after suspend on Thinkpad X13 AMD Gen2 Notebook.
> 
> Notebook is in docking station with closed lid. Suspend & Resume. The
> external monitor gets no signal. After randomly typing Ctrl+Alt+Fn for
> switchung consoles, the monitor at some point gets signal and is usable
> again.
> 
> It worked with kernel 6.1.56.
> 
> I managed to compile a 6.1.57 kernel and also a 6.1.64 kernel by reverting
> the changes from commit ec5fa9 "drm/amd/display: Adjust the MST resume flow"
> (https://github.com/torvalds/linux/commit/
> ec5fa9fcdeca69edf7dab5ca3b2e0ceb1c08fe9a?diff=split&w=1?diff=split&w=1) and
> with this suspend & resume worked like before without any problems.
> 
> I reported this also to the Manjaro's support forum, since I tried this on
> Manjaro Linux
> (https://forum.manjaro.org/t/problems-with-external-monitor-wake-up-after-
> suspend/151840).

Please also report on freedesktop tracker [1].

[1]: https://gitlab.freedesktop.org/drm/amd/-/issues
Comment 2 Oliver Schmidt 2023-12-01 09:18:27 UTC
(In reply to Bagas Sanjaya from comment #1)
> Please also report on freedesktop tracker [1].

OK, I reported it on freedesktop, see: https://gitlab.freedesktop.org/drm/amd/-/issues/3023
Comment 3 Mario Limonciello (AMD) 2023-12-05 20:37:56 UTC
I sent a revert up: https://lore.kernel.org/amd-gfx/20231205195436.16081-1-mario.limonciello@amd.com/T/#u
Comment 4 Mario Limonciello (AMD) 2023-12-13 17:54:23 UTC
It was mentioned in Gitlab that it's fixed by a dock firmware update.  Will not be reverting it.
Comment 5 Oliver Schmidt 2023-12-13 20:34:34 UTC
After updating the docking station's firmware, the problem was solved :-)

It is a ThinkPad Ultra Dockingstation, part number 40AJ0135EU, see also
https://support.lenovo.com/us/en/solutions/pd500173-thinkpad-ultra-docking-station-overview-and-service-parts

Firmware Update: ThinkPad Docking Station Firmware Utility v3.3.4
(cs18dkfw334_web.exe) from https://pcsupport.lenovo.com/us/en/downloads/DS505699

Note You need to log in before you can comment on or make changes to this bug.