]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Don't write DP_MSTM_CTRL after LT
authorWayne Lin <Wayne.Lin@amd.com>
Fri, 25 Oct 2024 04:27:26 +0000 (12:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 16:39:19 +0000 (11:39 -0500)
commitbc068194f548ef1f230d96c4398046bf59165992
tree2818924038b30c753535ed57f8376fc7820c3bd5
parentcaccee7b296b1f6c37f09b5d4808606c66438e9d
drm/amd/display: Don't write DP_MSTM_CTRL after LT

[Why]
Observe after suspend/resme, we can't light up mst monitors under specific
mst hub. The reason is that driver still writes DPCD DP_MSTM_CTRL after LT.
It's forbidden even we write the same value for that dpcd register.

[How]
We already resume the mst branch device dpcd settings during
resume_mst_branch_status(). Leverage drm_dp_mst_topology_queue_probe() to
only probe the topology, not calling drm_dp_mst_topology_mgr_resume() which
will set DP_MSTM_CTRL as well.

Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c