[PATCH 0/1][SRU][M][N] System hang after unplug/plug DP monitor with AMD W7500 card

AceLan Kao acelan.kao at canonical.com
Thu Nov 16 05:26:50 UTC 2023


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/2042912

[Impact]
System hangs and no external output after unplug/plug DP monitor. (AMD Radeon Pro W7500)
Observed a bunch of [Hardware Error] messages and finally amdgpu crashed.

[Fix]
AMD provides a patch to fix the issue
https://www.spinics.net/lists/amd-gfx/msg99737.html

which is included in v6.7-rc1
7f3e6b840fa8 drm/amd/pm: Fix error of MACO flag setting code

[Testcase]
1. Connect the DUT to an external DP monitor via one of the ports on the AMD graphics card
2. Boot into Ubuntu
3. Unplug the DP cable from the DUT
4. Wait for 30 seconds
5. Replug in the DP cable
6. Make sure the system doesn't hang and the external DP monitor works

[Where probles could occur]
The patch make sure MACO is supported only if BACO is supported. It creates
a stricter rule for MACO to avoid MACO is enabled with BACO supports. It
should be safe to apply stricter rules to enable features.

Ma Jun (1):
  drm/amd/pm: Fix error of MACO flag setting code

 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 8 ++++----
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 9 +++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list