[SRU] [J/K/OEM-5.19] [PATCH 0/3] Fix resume on AMD platforms when TBT monitor is plugged

Kai-Heng Feng kai.heng.feng at canonical.com
Tue Sep 27 06:59:53 UTC 2022


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

[Impact]
When TBT monitor is connected to AMD platform, system resume will hit
stack corruption or BUG_ON() macro.

[Fix]
Revert the offending commit and handle MST properly.

[Test]
The system can resume normally and no more kernel splat.

[Where problems could occur]
The new logic is restriced to MST hub, so normal DP/HDMI usage should be
unaffected.

Kai-Heng Feng (1):
  Revert "drm/amd/display: Add helper for blanking all dp displays"

Wayne Lin (2):
  drm/amd/display: Detect dpcd_rev when hotplug mst monitor
  drm/amd/display: Release remote dc_sink under mst scenario

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  5 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 18 +----
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   | 72 +++++++++++++++++--
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 45 ------------
 drivers/gpu/drm/amd/display/dc/dc_link.h      |  1 -
 .../display/dc/dce110/dce110_hw_sequencer.c   | 13 +++-
 .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 41 ++++++++++-
 .../drm/amd/display/dc/dcn30/dcn30_hwseq.c    | 39 +++++++++-
 .../drm/amd/display/dc/dcn31/dcn31_hwseq.c    | 37 +++++++++-
 9 files changed, 192 insertions(+), 79 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list