Commit fab85801 authored by Wesley Chalmers's avatar Wesley Chalmers Committed by Alex Deucher
Browse files

drm/amd/display: Set LTTPR mode to non-LTTPR if no repeaters found



[WHY]
If no repeaters are found, we do not need or want to attempt to
link-train repeaters, as this could cause bugs.

Signed-off-by: default avatarWesley Chalmers <Wesley.Chalmers@amd.com>
Acked-by: default avatarBindu Ramamurthy <bindur12@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b0f34382
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3582,6 +3582,8 @@ static bool retrieve_link_cap(struct dc_link *link)
				link->dpcd_caps.lttpr_caps.revision.raw >= 0x14);
		if (is_lttpr_present)
			CONN_DATA_DETECT(link, lttpr_dpcd_data, sizeof(lttpr_dpcd_data), "LTTPR Caps: ");
		else
			link->lttpr_mode = LTTPR_MODE_NON_LTTPR;
	}

	if (!is_lttpr_present)