Commit 16196776 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Only require EDID read for HDMI and DVI

[Why]
VGA sometimes has trouble retrieving the EDID on very long cables, KVM
switches, or old displays.

[How]
Only require EDID read for HDMI and DVI and exempt other types (DP,
VGA). We currently don't support VGA but if anyone adds support in the
future this might get overlooked.
Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Suggested-by: default avatarMichel Dänzer <michel@daenzer.net>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 01dc285d
......@@ -753,7 +753,8 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
* even if we have no EDID in order to go to
* fail-safe mode
*/
if (!dc_is_dp_signal(link->connector_signal))
if (dc_is_hdmi_signal(link->connector_signal) ||
dc_is_dvi_signal(link->connector_signal))
return false;
default:
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment