drm: rcar-du: Enable hotplug detection on HDMI connector
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 8 Dec 2014 23:18:36 +0000 (01:18 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Dec 2014 10:01:51 +0000 (12:01 +0200)
As HDMI support hotplug detection, enable HPD-based poll on HDMI
connectors.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c

index 4d7d4dd46d2603c6cc3d4f06958edac30d34a2a4..322b7208171ab140fa672b1db8f8fa34c6d89759 100644 (file)
@@ -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);