Bug 201535
Summary: | HP Laptop 17-an0xx resume from not working [amdgpu warnings] | ||
---|---|---|---|
Product: | Drivers | Reporter: | alex14641 |
Component: | Video(Other) | Assignee: | drivers_video-other |
Status: | RESOLVED IMPLEMENTED | ||
Severity: | high | CC: | alex14641, mario.limonciello, plum.michalski, yu.c.chen |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.19 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
lsmod for 4.18
lsmod for 4.19 dmesg for 4.18 dmesg for 4.19 Output from lspci -vv Kernel config file for 4.19 dmidecode |
Created attachment 279193 [details]
lsmod for 4.19
Created attachment 279195 [details]
dmesg for 4.18
Created attachment 279197 [details]
dmesg for 4.19
Created attachment 279199 [details]
Output from lspci -vv
Created attachment 279209 [details]
Kernel config file for 4.19
Same problem here - lenovo W530 Created attachment 279243 [details]
dmidecode
If the network works after resumed, the system should go through a successful system suspend/resume cycle. According to the description, there is a problem in the graphic display. And per the dmesg log in 4.19, the amdgraphic driver has printed quite some warnings, such as drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu] please try blacklist the amdgpu and check if it works. BTW, please provide the info under /sys/power/* for 4.18.17
me@boss4:/spare/linux/linux-drm$ for i in /sys/power/* ; do
> echo "***** $i **********"
> cat $i
> done
***** /sys/power/disk **********
[platform] shutdown reboot suspend test_resume
***** /sys/power/image_size **********
13453881344
***** /sys/power/mem_sleep **********
s2idle [deep]
***** /sys/power/pm_async **********
1
***** /sys/power/pm_freeze_timeout **********
20000
***** /sys/power/reserved_size **********
1048576
***** /sys/power/resume **********
0:0
***** /sys/power/resume_offset **********
0
***** /sys/power/state **********
freeze mem disk
***** /sys/power/wake_lock **********
***** /sys/power/wake_unlock **********
***** /sys/power/wakeup_count **********
5
For 4.19 adavis@boss4:~$ for i in /sys/power/* ; do echo "***** $i **********"; cat $i; done ***** /sys/power/disk ********** [platform] shutdown reboot suspend test_resume ***** /sys/power/image_size ********** 13454172160 ***** /sys/power/mem_sleep ********** s2idle [deep] ***** /sys/power/pm_async ********** 1 ***** /sys/power/pm_freeze_timeout ********** 20000 ***** /sys/power/reserved_size ********** 1048576 ***** /sys/power/resume ********** 0:0 ***** /sys/power/resume_offset ********** 0 ***** /sys/power/state ********** freeze mem disk ***** /sys/power/wake_lock ********** ***** /sys/power/wake_unlock ********** ***** /sys/power/wakeup_count ********** 2 After blacklisting the amdgpu driver, sleep works. I've closed and opened the lid several time, and the laptop woke up each time. Will continue testing. Tested with the code in drm-next-4.21-wip: with that code, when the lid is closed, the fan spins down; when the lid is opened, the fan spins up and I can ssh in, but the screen stays blank. Also, the following appears in dmesg: [ 1735.527692] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* displayport link status failed [ 1735.527713] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* clock recovery failed This is a bit of an old bug, do you still have problems? Currently running 5.17.x with no issues. |
Created attachment 279191 [details] lsmod for 4.18 In 4.19, when I close the laptop lid, the screen turns off, the fan does not spin down; on opening the lid, the screen does not turn back on, and the laptop is pingable, but I can't SSH in. With 4.18, there are no problems. I'm running Slackware current. I have KDE configured to put the laptop to sleep when the lid is closed.