OSDN Git Service

drm/amd/display: add exit training mode and update channel coding in LT
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 3 May 2021 23:35:54 +0000 (19:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 May 2021 16:25:43 +0000 (12:25 -0400)
commit3df212576e8b6fb94f8e4b856d39853557d22005
tree2fcf429319c4aa76bf99b407150452a003275e02
parentf2973d2a418db94532a7f69c7ea404637cec1786
drm/amd/display: add exit training mode and update channel coding in LT

[why]
As recommended by DP specs, source needs to make sure
DPRX exits previous LT mode before configuring new LT params
Nofity what channel coding mode we will use for current link training.

Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@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
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/include/link_service_types.h