linux/drivers/gpu/drm/amd/display/amdgpu_dm
Wayne Lin 3c6a743c69 drm/amd/display: Enable mst when it's detected but yet to be initialized
[Why]
drm_dp_mst_topology_queue_probe() is used under the assumption that
mst is already initialized. If we connect system with SST first
then switch to the mst branch during suspend, we will fail probing
topology by calling the wrong API since the mst manager is yet to
be initialized.

[How]
At dm_resume(), once it's detected as mst branc connected, check if
the mst is initialized already. If not, call
dm_helpers_dp_mst_start_top_mgr() instead to initialize mst

V2: Adjust the commit msg a bit

Fixes: bc068194f5 ("drm/amd/display: Don't write DP_MSTM_CTRL after LT")
Cc: Fangzhi Zuo <jerry.zuo@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 62320fb8d9)
Cc: stable@vger.kernel.org
2025-11-06 11:58:55 -05:00
..
amdgpu_dm_color.c drm/amd/display: change dc stream color settings only in atomic commit 2025-09-23 10:36:15 -04:00
amdgpu_dm_crc.c drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_crc.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_crtc.c drm/amd/display: Fix incorrect return of vblank enable on unconfigured crtc 2025-10-28 11:05:47 -04:00
amdgpu_dm_crtc.h drm/amd/display: Disable replay and psr while VRR is enabled 2025-01-06 14:44:27 -05:00
amdgpu_dm_debugfs.c drm/amd/display: Fix NULL deref in debugfs odm_combine_segments 2025-11-04 13:40:42 -05:00
amdgpu_dm_debugfs.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_hdcp.c drm/amd/display: Enable DTM v3 on dGPUs with DCN 3.1+ 2025-09-23 10:27:24 -04:00
amdgpu_dm_hdcp.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_helpers.c drm/amd/display: Add HDR workaround for a specific eDP 2025-10-28 11:04:40 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq.c drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_mst_types.c drm/amd/display: Fix pbn_div Calculation Error 2025-09-05 17:38:41 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Fix pbn_div Calculation Error 2025-09-05 17:38:41 -04:00
amdgpu_dm_plane.c drm/amd/display: Use mpc.preblend flag to indicate preblend 2025-09-23 10:27:36 -04:00
amdgpu_dm_plane.h drm: Pass pixel_format+modifier to .get_format_info() 2025-07-16 19:59:59 +03:00
amdgpu_dm_pp_smu.c drm/amd/display: Add pixel_clock to amd_pp_display_configuration 2025-09-15 16:52:41 -04:00
amdgpu_dm_psr.c drm/amd/display: Drop unused include 2025-07-28 16:40:30 -04:00
amdgpu_dm_psr.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_quirks.c drm/amd/display: Restructure DMI quirks 2025-05-13 09:30:52 -04:00
amdgpu_dm_replay.c drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
amdgpu_dm_replay.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_services.c drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
amdgpu_dm_trace.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_wb.c drm/amd/display: Adjust all dev_*() messages to drm_*() 2025-04-07 18:01:07 -04:00
amdgpu_dm_wb.h
amdgpu_dm.c drm/amd/display: Enable mst when it's detected but yet to be initialized 2025-11-06 11:58:55 -05:00
amdgpu_dm.h Revert "drm/amd/display: Only restore backlight after amdgpu_dm_init or dm_resume" 2025-10-13 14:14:14 -04:00
dc_fpu.c drm/amd/display: use ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
dc_fpu.h
Makefile drm/amd/display: Restructure DMI quirks 2025-05-13 09:30:52 -04:00