Bug 205043

Summary: Plugging in AC adapter after boot causes ´*ERROR* suspend of IP block <powerplay> failed -22´ error
Product: Drivers Reporter: Utku Helvacı (proje.pdf)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: high    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.3.1-050301-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: journalctl log

Description Utku Helvacı 2019-09-30 07:05:11 UTC
Created attachment 285239 [details]
journalctl log

Error doesn't happen when AC adapter is plugged in before boot

First error message in log:

Sep 29 15:24:19 pop-os kernel: amdgpu: [powerplay] Trying to disable SCLK DPM when DPM is disabled
Sep 29 15:24:19 pop-os kernel: amdgpu: [powerplay] Trying to disable voltage DPM when DPM is disabled
Sep 29 15:24:19 pop-os kernel: amdgpu: [powerplay] Failed to force to switch arbf0!
Sep 29 15:24:19 pop-os kernel: amdgpu: [powerplay] [disable_dpm_tasks] Failed to disable DPM!
Sep 29 15:24:19 pop-os kernel: [drm:amdgpu_device_ip_suspend_phase2 [amdgpu]] *ERROR* suspend of IP block <powerplay> failed -22
Sep 29 15:24:19 pop-os kernel: cp is busy, skip halt cp
Sep 29 15:24:19 pop-os kernel: rlc is busy, skip halt rlc
Sep 29 15:24:20 pop-os kernel: amdgpu 0000:03:00.0: GPU pci config reset
Sep 29 15:24:20 pop-os sudo[27651]: pam_unix(sudo:session): session closed for user root
Sep 29 15:24:20 pop-os kernel: amdgpu: [powerplay] 
                                last message was failed ret is 65535
Sep 29 15:24:20 pop-os kernel: amdgpu: [powerplay] 
                                failed to send message 171 ret is 65535
Comment 1 Utku Helvacı 2019-09-30 07:08:04 UTC
My discrete gpu is RX 540, My computer is Acer Aspire 5 A515-41G-T48Q