Signed-off-by: Jeff Smith <whydoubt@xxxxxxxxx> --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 2b92939..168f260 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -706,8 +706,13 @@ bool dc_link_detect(const struct dc_link *dc_link, bool boot) /* HDMI-DVI Dongle */ if (dc_sink->sink_signal == SIGNAL_TYPE_HDMI_TYPE_A && - !dc_sink->edid_caps.edid_hdmi) + !dc_sink->edid_caps.edid_hdmi) { dc_sink->sink_signal = SIGNAL_TYPE_DVI_SINGLE_LINK; + } else if ((dc_sink->sink_signal == SIGNAL_TYPE_DVI_SINGLE_LINK || + dc_sink->sink_signal == SIGNAL_TYPE_DVI_DUAL_LINK) && + dc_sink->edid_caps.edid_hdmi) { + dc_sink->sink_signal = SIGNAL_TYPE_HDMI_TYPE_A; + } /* Connectivity log: detection */ for (i = 0; i < sink->public.dc_edid.length / EDID_BLOCK_SIZE; i++) { -- 2.9.3 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel