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)
commit47c2790ad69d1f072e7e26dc16bb91e99dd4c946
treeeec94b531d4a0d526f375c129f32ce91f2ad28cf
parent62f0576c42993a442ae722fe2e67a140e4669945
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