From: Roy Chan <roy.c...@amd.com>

[Why]
Found a use case (IPKVM) that DP-VGA active dongle does
not return any EDID and the mentioned commit broke it.

[How]
This reverts "Disconnect non-DP with no EDID"

Signed-off-by: Roy Chan <roy.c...@amd.com>
Reviewed-by: Chris Park <chris.p...@amd.com>
Acked-by: Stylon Wang <stylon.w...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 18 ------------------
 1 file changed, 18 deletions(-)

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 d1ade55a8d47..7e699a5bfd24 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -1099,24 +1099,6 @@ static bool dc_link_detect_helper(struct dc_link *link,
                            dc_is_dvi_signal(link->connector_signal)) {
                                if (prev_sink)
                                        dc_sink_release(prev_sink);
-                               link_disconnect_sink(link);
-
-                               return false;
-                       }
-                       /*
-                        * Abort detection for DP connectors if we have
-                        * no EDID and connector is active converter
-                        * as there are no display downstream
-                        *
-                        */
-                       if (dc_is_dp_sst_signal(link->connector_signal) &&
-                               (link->dpcd_caps.dongle_type ==
-                                               DISPLAY_DONGLE_DP_VGA_CONVERTER 
||
-                               link->dpcd_caps.dongle_type ==
-                                               
DISPLAY_DONGLE_DP_DVI_CONVERTER)) {
-                               if (prev_sink)
-                                       dc_sink_release(prev_sink);
-                               link_disconnect_sink(link);
 
                                return false;
                        }
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to