AMDGPU device takes two seconds to resume from S3
Brief summary of the problem:
AMDGPU device took a 2 seconds to resume from S3. Wonder if it's expected to be this slow, and possibility to make it faster.
System information:
- Kernel version: all kernel versions, amd-staging-drm-next included.
How to reproduce the issue:
- Suspend the system.
- Resume the system, screen remains blank for a rather long time.
-
sleepgraph
shows amdgpu took 2 seconds to resume. - ftrace shows
dc_link_detect()
alone spent 1 second to perform.