Skip to content

Commit fddb024

Browse files
George Shenalexdeucher
authored andcommitted
drm/amd/display: Limit max link cap with LTTPR caps
[Why] Max link rate should be limited to the maximum link rate support by any LTTPR that are connected, including when operating in transparent mode. [How] Include transparent mode when factoring in LTTPR max supported link rate. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Wesley Chalmers <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: George Shen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent bf252ce commit fddb024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,7 @@ static struct dc_link_settings get_max_link_cap(struct dc_link *link)
28732873
* account for lttpr repeaters cap
28742874
* notes: repeaters do not snoop in the DPRX Capabilities addresses (3.6.3).
28752875
*/
2876-
if (link->lttpr_mode == LTTPR_MODE_NON_TRANSPARENT) {
2876+
if (link->lttpr_mode != LTTPR_MODE_NON_LTTPR) {
28772877
if (link->dpcd_caps.lttpr_caps.max_lane_count < max_link_cap.lane_count)
28782878
max_link_cap.lane_count = link->dpcd_caps.lttpr_caps.max_lane_count;
28792879

0 commit comments

Comments
 (0)