]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Clear lane settings after LTTPRs have been trained
authorMartin Tsai <martin.tsai@amd.com>
Tue, 8 Jun 2021 05:48:32 +0000 (13:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Jun 2021 21:45:14 +0000 (17:45 -0400)
commit590a7027da3c8a8569e6e151bcf9a64769063a75
tree27dc186e3a871b2c959bd61a7cb1078d244cb3e0
parent8be5486ab7d3f403b37d1c24dfecf74cbefadb16
drm/amd/display: Clear lane settings after LTTPRs have been trained

[Why]
The voltage swing has to start from the minimum level when transmit TPS1 over
Main-Link in clock recovery sequence.
The lane settings from current design will inherit the existing VS/PE values
that could be adjusted by Repeater X, and to use the adjusted voltage swing level
in Repeater X-1 or DPRX could violate DP specs.

[How]
To reset VS from lane settings after LTTPRs have been trained to meet the requirement.

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@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