]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Link training retry fix for abort case
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Mon, 30 Aug 2021 18:01:10 +0000 (14:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 13:56:24 +0000 (09:56 -0400)
commitc1e3cdf8eed071563f0d036212f4ebc0f2cc1b31
tree328d7d85bf272ba61d3cd9fead69ac6059bade94
parentd00398c748e50b84eb1b90a04ab108ac2f471cca
drm/amd/display: Link training retry fix for abort case

[Why]
If link training is aborted, it shall be retried if sink is present.

[How]
Check hpd status to find out whether sink is present or not. If sink is
present, then link training shall be tried again with same settings.
Otherwise, link training shall be aborted.

Reviewed-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@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