drm/amd/display: Check lane status again after link training done
authorMartin Tsai <martin.tsai@amd.com>
Wed, 15 Jul 2020 03:21:43 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:23:39 +0000 (16:23 -0400)
commitb246f90a09706ecf755c40006fc8b4c07cdfc314
treed5f7823cf0c645b76dbe1df26d1ad66e37a105e4
parentbe6ccdf861de048833b2000d80db800ab4f8d81b
drm/amd/display: Check lane status again after link training done

[Why]
Some monitors could suffer symbol unlock but cannot send HPD IRQ to
notic source device to handle link loss. This makes monitor stuck in
abnormal status and causes black screen.

[How]
According to the suggestion from scalar vendor, to check lane status
again after link training done. That can improve the comaptibility
from current production monitors.

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/include/link_service_types.h