diff options
author | Sebastian Reichel <sre@kernel.org> | 2016-03-08 17:39:36 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-06 10:14:28 +0300 |
commit | 4a64b9088e9ff4ff0d6587e9b554a9ecb5f36cad (patch) | |
tree | daaaa09207053905748c04cab6d6f9eee0489aaa /drivers/gpu/drm/omapdrm/omap_drv.c | |
parent | 6d39e63d5504a40a575a32b13f89423aa0a3698c (diff) | |
download | talos-op-linux-4a64b9088e9ff4ff0d6587e9b554a9ecb5f36cad.tar.gz talos-op-linux-4a64b9088e9ff4ff0d6587e9b554a9ecb5f36cad.zip |
drm: omapdrm: add DSI mapping
This sets proper connector type for DSI connected panels.
Signed-off-By: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |