]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Not fallback if link BW is smaller than req BW
authorCruise <cruise.hung@amd.com>
Sat, 11 May 2024 06:42:14 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2024 20:20:25 +0000 (16:20 -0400)
commitfa3c5a8edc0447ddcca8e3ab4647d05ddaff38fa
tree9c56d54ee6b962411842f5da4b5ff95c7f899633
parent79d92dbaf60c30fe4da7a047c523ec752828678d
drm/amd/display: Not fallback if link BW is smaller than req BW

[Why]
When the link BW is smaller than the request BW,
the DP LT just kept running and fallback to lower link config.
DP LT just aborted if is_hpd_pending bit is high.
But is_hpd_pending bit indicates a new HPD event received.
It doesn't mean the HPD is low.

[How]
Abort the DP LT if the link BW is smaller than the request BW.
Remove checking is_hpd_pending bit in DP LT.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Cruise <cruise.hung@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_training.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.c