From 4a64b9088e9ff4ff0d6587e9b554a9ecb5f36cad Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Tue, 8 Mar 2016 17:39:36 +0100 Subject: [PATCH] drm: omapdrm: add DSI mapping This sets proper connector type for DSI connected panels. Signed-off-By: Sebastian Reichel Reviewed-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index d86f5479345b..6c0647486945 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -203,6 +203,8 @@ static int get_connector_type(struct omap_dss_device *dssdev) return DRM_MODE_CONNECTOR_HDMIA; case OMAP_DISPLAY_TYPE_DVI: return DRM_MODE_CONNECTOR_DVID; + case OMAP_DISPLAY_TYPE_DSI: + return DRM_MODE_CONNECTOR_DSI; default: return DRM_MODE_CONNECTOR_Unknown; } -- 2.39.5