OSDN Git Service

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>
Wed, 21 Sep 2022 21:19:25 +0000 (17:19 -0400)
commit29956d0fded036a570bd8e7d4ea4b1a1730307d2
tree20a3fd88716ae0c3ceb729ffc93673da2555c069
parentcb0eca01ad9756e853efec3301203c2b5b45aa9f
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