AMD Radeon PRO W7700 fail to display after several suspend/resume
Brief summary of the problem:
Sometimes The gfx fail to display after resume from S3. The system is still alive, can be access via network, but the screen is blank and can't come back until reboot. To make it easy to reproduce, run the command fwts s3 --s3-multiple=100
and it happens for each try.
Hardware description:
- CPU: lshw -C display -numeric
- GPU: Advanced Micro Devices, Inc. [AMD/ATI] [1002:7470]
- Display(s): Dell U2720Q
System information:
- Distro name and Version: Ubuntu 22.04
- Kernel version: Linux ubuntu 6.7.0-060700rc8drmtip20240104-generic
How to reproduce the issue:
- Connect to monitor via DP
- Boot into OS
- suspend/resume with
fwts s3 --s3-multiple=100
The dmesg show as follows when screen gets blank
[ 9909.393371] ubuntu kernel: Workqueue: ttm ttm_bo_delayed_delete [ttm]
[ 9909.393413] ubuntu kernel: Call Trace:
[ 9909.393417] ubuntu kernel: <TASK>
[ 9909.393424] ubuntu kernel: __schedule+0x2cb/0x760
[ 9909.393437] ubuntu kernel: schedule+0x33/0x110
[ 9909.393443] ubuntu kernel: schedule_timeout+0x157/0x170
[ 9909.393454] ubuntu kernel: dma_fence_default_wait+0x1e1/0x220
[ 9909.393462] ubuntu kernel: ? __pfx_dma_fence_default_wait_cb+0x10/0x10
[ 9909.393469] ubuntu kernel: dma_fence_wait_timeout+0x116/0x140
[ 9909.393476] ubuntu kernel: dma_resv_wait_timeout+0x7f/0xf0
[ 9909.393485] ubuntu kernel: ttm_bo_delayed_delete+0x2a/0xc0 [ttm]