OSDN Git Service

drm/amd/display: Disconnect non-DP with no EDID
authorChris Park <Chris.Park@amd.com>
Tue, 4 May 2021 20:20:55 +0000 (16:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 May 2021 22:03:30 +0000 (18:03 -0400)
commit080039273b126eeb0185a61c045893a25dbc046e
tree376c4dced5983181707c50bfcf1613da1a361851
parentdbd1003d1252db5973dddf20b24bb0106ac52aa2
drm/amd/display: Disconnect non-DP with no EDID

[Why]
Active DP dongles return no EDID when dongle
is connected, but VGA display is taken out.
Current driver behavior does not remove the
active display when this happens, and this is
a gap between dongle DTP and dongle behavior.

[How]
For active DP dongles and non-DP scenario,
disconnect sink on detection when no EDID
is read due to timeout.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Stylon Wang <stylon.wang@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.c