]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5432a62ae1d75f8b821afa2e05e4b269b8e1de37
tree2fcf429319c4aa76bf99b407150452a003275e02
parent5607a88521ff5bd5bfbcc0c2c1677e59469c232d
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