drm/amd/display: implement lttpr logic
authorabdoulaye berthe <abdoulaye.berthe@amd.com>
Wed, 24 Jul 2019 15:01:44 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:43 +0000 (15:29 -0500)
commit64c12b733fe7eaffa9207e6f30b313595c6e6597
tree81f8d74db85380b363384e11c44730cb9df3881b
parentbad7ab0be9bea2a4128158751bc29ac4b1c3bce2
drm/amd/display: implement lttpr logic

1-If at least one repeater is present in the link and we are in non
transparent mode, perform clock recovery then channel equalization
with all repeaters one by one before training DPRX.

2-Mark the end of LT with a repeater by setting training pattern 0
at the end of channel equalization with each repeater.

Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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/core/dc_link_hwss.c
drivers/gpu/drm/amd/display/dc/inc/link_hwss.h