]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Assume an LTTPR is always present on fixed_vs links
authorMichael Strauss <michael.strauss@amd.com>
Wed, 31 Aug 2022 19:10:43 +0000 (15:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:09:56 +0000 (15:09 -0400)
commit2b2ca2036a7821be4d1748d36565d360c5c1e4ed
treeeec94b531d4a0d526f375c129f32ce91f2ad28cf
parent5498adc2708d8daf3a036c13edbea26594e52eea
drm/amd/display: Assume an LTTPR is always present on fixed_vs links

[WHY]
LTTPRs can in very rare instsances fail to increment DPCD LTTPR count.
This results in aux-i LTTPR requests to be sent to the wrong DPCD
address, which causes link training failure.

[HOW]
Override internal repeater count if fixed_vs flag is set for a given link

Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@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