]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73981a9d53278d23f4f4c0213d5c418879b0ceb7
tree376c4dced5983181707c50bfcf1613da1a361851
parentdcf4cbb20f6d63acda7a9a8558b4cec0224f2a58
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