drm/amd/display: dp mst detection code refactor
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 14 May 2021 18:39:55 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jun 2021 21:25:40 +0000 (17:25 -0400)
commit8a58e25b8b6572927ac2b3333c071560fbf7386c
tree2807b8f36d5b5f7381f864f85193846867ee7ba8
parenta161f8cb677f21dda3beaf2eb07e93a3ea878c6b
drm/amd/display: dp mst detection code refactor

[why]
Move mst start top mgr in dc_link_detect layer.
Remove unused same_dpcd variable.
Move PEAK_FACTOR_X1000 and LINK_TRAINING_MAX_VERIFY_RETRY
to the proper header for defining dc link internal constant.

Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h