drm/amd/display: Refactor vendor specific link training sequence
authorShen, George <George.Shen@amd.com>
Tue, 7 Dec 2021 21:53:12 +0000 (16:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
commit21bf3e6f1454b8f472ff7e6cbc95931dcaf7eb47
tree08ec2c3c4463d1cbaf2082bd7d76b11801801227
parentfddb024537f121995957d816fcf8e2e230451db2
drm/amd/display: Refactor vendor specific link training sequence

[Why]
Current implementation is not scalable and retrofits the existing
standard link training code for purposes outside of its original design.

[How]
Refactor vendor specific link training sequence into its own separate
function to be called instead of the standard link training function.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: George Shen <George.Shen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c