drm/amd/display: Update setting of DP training parameters.
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Mon, 5 Apr 2021 22:05:09 +0000 (18:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:09:53 +0000 (18:09 -0400)
commitede4f6dac99e4b59a7319b9617eff10705045aa2
tree17499b49c0ca318352636da6116f59af2fe10f61
parent99732e52e7f8115d505d88f78f27c48281078f66
drm/amd/display: Update setting of DP training parameters.

[Why]
Some links are dynamically assigned link encoders on stream enablement.

[How]
Update DisplayPort training parameter determination stage that assumes
link encoder statically assigned to link.

Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@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/core/dc_link_ddc.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
drivers/gpu/drm/amd/display/dc/inc/link_enc_cfg.h