mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/amd/display: limit DPIA link rate to HBR3
commit 0e69ef6ea8 upstream.
[Why]
DPIA doesn't support UHBR, driver should not enable UHBR
for dp tunneling
[How]
limit DPIA link rate to HBR3
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Peichen Huang <peichen.huang@amd.com>
Reviewed-by: Mustapha Ghaddar <Mustapha.Ghaddar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
10347b115d
commit
3d3fd58bfc
@@ -1141,6 +1141,11 @@ static bool detect_link_and_local_sink(struct dc_link *link,
|
|||||||
(link->dpcd_caps.dongle_type !=
|
(link->dpcd_caps.dongle_type !=
|
||||||
DISPLAY_DONGLE_DP_HDMI_CONVERTER))
|
DISPLAY_DONGLE_DP_HDMI_CONVERTER))
|
||||||
converter_disable_audio = true;
|
converter_disable_audio = true;
|
||||||
|
|
||||||
|
/* limited link rate to HBR3 for DPIA until we implement USB4 V2 */
|
||||||
|
if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA &&
|
||||||
|
link->reported_link_cap.link_rate > LINK_RATE_HIGH3)
|
||||||
|
link->reported_link_cap.link_rate = LINK_RATE_HIGH3;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user