]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix DP LT sequence on EQ fail
authorIlya <Ilya.Bakoulin@amd.com>
Thu, 27 Jan 2022 19:14:32 +0000 (14:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 23:03:49 +0000 (18:03 -0500)
commit0e6048b1bc4fc3f42b1dca2b0df72dad1c0047da
tree7e68da2285094e0d5e67c6c774c7599d85ec5d4f
parent3b49462019ec1d6cc9bce229190bc71200a6243c
drm/amd/display: Fix DP LT sequence on EQ fail

[Why]
The number of lanes wasn't being reset to maximum when reducing link
rate due to an EQ failure. This could result in having fewer lanes in
the verified link capabilities, a lower maximum link bandwidth, and
fewer modes being supported.

[How]
Reset the number of lanes to max when dropping link rate due to EQ
failure during link training.

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Ilya <Ilya.Bakoulin@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/core/dc_link_dp.c