[PATCH 30/49] staging: hikey9xx/gpu: register connector
Mauro Carvalho Chehab
mchehab+huawei at kernel.org
Wed Aug 19 11:45:58 UTC 2020
call drm_connector_register() when initializing the connector.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei at kernel.org>
---
drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c b/drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c
index 39ec39a6a69b..09d035038c1a 100644
--- a/drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c
+++ b/drivers/staging/hikey9xx/gpu/kirin9xx_dw_drm_dsi.c
@@ -1786,6 +1786,8 @@ static int dsi_connector_init(struct drm_device *dev, struct dw_dsi *dsi)
if (ret)
return ret;
+ drm_connector_register(&dsi->connector);
+
DRM_INFO("connector init\n");
return 0;
}
--
2.26.2
More information about the dri-devel
mailing list