]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Check UHBR13.5 cap when determining max link cap
authorGeorge Shen <george.shen@amd.com>
Tue, 23 Apr 2024 20:59:43 +0000 (16:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:47:14 +0000 (15:47 -0400)
commit4eaf110f97ae55d18a3b0cb727eb6d8c0e8ce7db
treeea02e59925a4ebe5cf85b1e661d77e34f9084082
parentc49e44ede5cdfe650c2f769d8bd58cbe289e87cd
drm/amd/display: Check UHBR13.5 cap when determining max link cap

[WHY]
UHBR13.5 support is optional, even if UHBR20 is supported by the device.
If source supports max UHBR13.5 while sink, cable and LTTPR support
UHBR20 but not UHBR13.5, UHBR10 should be used as the max link cap.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@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/link/protocols/link_dp_capability.c