Skip to content

Commit

Permalink
drm: omapdrm: add DSI mapping
Browse files Browse the repository at this point in the history
This sets proper connector type for DSI connected panels.

Signed-off-By: Sebastian Reichel <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
sre authored and tomba committed Jun 6, 2016
1 parent 6d39e63 commit 4a64b90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/omapdrm/omap_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4a64b90

Please sign in to comment.