drm/amd/display: Refactor fixed VS logic for non-transparent mode
authorGeorge Shen <George.Shen@amd.com>
Fri, 11 Feb 2022 23:37:39 +0000 (18:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:26:21 +0000 (14:26 -0500)
commitaa34ca52a325d9a547158cdc8644f4c21d68562a
tree699e1e4790ad8c7a5e9a365880a15bb00b76018b
parentc595fb05e392a5cd17c70c4fd996b8cc9735f20e
drm/amd/display: Refactor fixed VS logic for non-transparent mode

[Why]
All fixed VS/PE link training sequence should be refactored
into a separate function outside of the standard link training
sequence. This includes the sequence for non-transparent
mode.

[How]
Isolate link training sequence for fixed VS/PE non-transparent
mode into a separate function.

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: George Shen <George.Shen@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_dp.c