OSDN Git Service

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>
Thu, 6 Aug 2020 20:38:32 +0000 (16:38 -0400)
commit3fd20292c2352660155bbc11736dd014b2fc6e98
tree17c160b13191a6a5a3e2492f31cbf550a693f6d2
parentbc0cd80783ff7c2201b44d384bab4629c9cb7db9
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