summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-12-09 02:18:36 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-12-23 13:01:51 +0300
commit2d60762adebfa9fabca69fc2f2f2d51d4cfd7af5 (patch)
treed7f33e0c38cdf10b3380cb65563f8e12c49e1b05 /drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
parentf67e1e058b722a2a2af4e40fa80936889f128b4c (diff)
downloadlinux-2d60762adebfa9fabca69fc2f2f2d51d4cfd7af5.tar.xz
drm: rcar-du: Enable hotplug detection on HDMI connector
As HDMI support hotplug detection, enable HPD-based poll on HDMI connectors. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c b/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
index 4d7d4dd46d26..322b7208171a 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
@@ -95,6 +95,7 @@ int rcar_du_hdmi_connector_init(struct rcar_du_device *rcdu,
connector = &rcon->connector;
connector->display_info.width_mm = 0;
connector->display_info.height_mm = 0;
+ connector->polled = DRM_CONNECTOR_POLL_HPD;
ret = drm_connector_init(rcdu->ddev, connector, &connector_funcs,
DRM_MODE_CONNECTOR_HDMIA);