summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/hdp/imx-hdp.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-04-15 17:26:08 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-04-17 09:14:12 +0200
commit82aaeaf1d8b8d0ea83d2c6c404656d2bf7c918af (patch)
tree6769d4763acb0beb25769513a392fbdd9ef49617 /drivers/gpu/drm/imx/hdp/imx-hdp.c
parentdf83fa230c09bb41ed64cde4f0a2329d3cccff08 (diff)
ARM: dts: imx8: apalis-imx8qm: hack to make weston happy
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'drivers/gpu/drm/imx/hdp/imx-hdp.c')
-rw-r--r--drivers/gpu/drm/imx/hdp/imx-hdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.c b/drivers/gpu/drm/imx/hdp/imx-hdp.c
index 1152c9aaff07..b3dbc7eec3e5 100644
--- a/drivers/gpu/drm/imx/hdp/imx-hdp.c
+++ b/drivers/gpu/drm/imx/hdp/imx-hdp.c
@@ -834,7 +834,12 @@ imx_hdp_connector_detect(struct drm_connector *connector, bool force)
ret = imx_hdp_call(hdp, get_hpd_state, &hdp->state, &hpd);
if (ret > 0)
+#if 0
return connector_status_unknown;
+#else
+//TBD: make Weston happy
+ return connector_status_connected;
+#endif
if (hpd == 1)
/* Cable Connected */