From: Sebastian Reichel Date: Tue, 8 Mar 2016 16:39:36 +0000 (+0100) Subject: drm: omapdrm: add DSI mapping X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a64b9088e9ff4ff0d6587e9b554a9ecb5f36cad;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; }