Skip to contentSkip to conversation

drm/amd/display: fix the broken logic in dc_link.c

PATCH New Yifan Zhang 1 participant 1 message Apr 4, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: fix the broken logic in dc_link.c

Change-Id I8ea2eb01709878436fdab19e1267406afa95b232
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc_link.c +2 -1
index 7e0d797d8973..ad9875e64872 100644
@@ -422,8 +422,9 @@ static enum signal_type link_detect_sink(struct dc_link *link,
 	 */
 
 	/* PCIE detects the actual connector on add-on board */
-	if (link->link_id.id == CONNECTOR_ID_PCIE)
+	if (link->link_id.id == CONNECTOR_ID_PCIE) {
 		/* ZAZTODO implement PCIE add-on card detection */
+	}
 
 	switch (link->link_id.id) {
 	case CONNECTOR_ID_HDMI_TYPE_A: {
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx