drm/amd/display: decide link training settings based on channel coding
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 3 May 2021 21:05:40 +0000 (17:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:39:08 +0000 (22:39 -0400)
commit4c247f8c57f3bde6cde98f180a2b8b559da47bee
tree3ca2e064e650373200bfe2cb0a240d7f3544a642
parent55bac4a77a86690402dc9462455438c84783394f
drm/amd/display: decide link training settings based on channel coding

[how]
Rename initialize_training_settings to decide_training_settings.
Call get link encoding format and decide training settings
based on current channel coding.

Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <George.Shen@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_dp.c