Skip to contentSkip to conversation

Revert "drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()"

PATCH New Samuel Holland 1 participant 1 message Nov 29

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

PATCH 1/1 Revert "drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()"

This reverts commit 1738286ab46261bcf93dd6e1c13f73a0bb2b6e58. It was backported without commit dcad6dd16e87 ("drm/display: bridge-connector:
attach the encoder to the created connector"), which moves the function call to generic code. As a result, in v6.18.65, the connector is never attached and HDMI output on RK3588 is broken.

Fixes 1738286ab462 ("drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()")

---

 drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c +1 -1
index 0953ff807310..f08cdd89b3ed 100644
@@ -563,7 +563,7 @@ static int dw_hdmi_qp_rockchip_bind(struct device *dev, struct device *master,
 
 	platform_set_drvdata(pdev, hdmi);
 
-	return 0;
+	return drm_connector_attach_encoder(connector, encoder);
 }
 
 static void dw_hdmi_qp_rockchip_unbind(struct device *dev,
Signature · 3 lines
2.56.0

base-commit: 4700e3adf3b24b39dd4929e9c6d62811ba3ccea8