Skip to content

Commit 7c5835b

Browse files
Peichen Huangalexdeucher
authored andcommitted
drm/amd/display: limit DPIA link rate to HBR3
[Why] DPIA doesn't support UHBR, driver should not enable UHBR for dp tunneling [How] limit DPIA link rate to HBR3 Cc: Mario Limonciello <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Acked-by: Stylon Wang <[email protected]> Signed-off-by: Peichen Huang <[email protected]> Reviewed-by: Mustapha Ghaddar <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent ea2062d commit 7c5835b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/gpu/drm/amd/display/dc/link/link_detection.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,11 @@ static bool detect_link_and_local_sink(struct dc_link *link,
980980
(link->dpcd_caps.dongle_type !=
981981
DISPLAY_DONGLE_DP_HDMI_CONVERTER))
982982
converter_disable_audio = true;
983+
984+
/* limited link rate to HBR3 for DPIA until we implement USB4 V2 */
985+
if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA &&
986+
link->reported_link_cap.link_rate > LINK_RATE_HIGH3)
987+
link->reported_link_cap.link_rate = LINK_RATE_HIGH3;
983988
break;
984989
}
985990

0 commit comments

Comments
 (0)