[PATCH v2 19/50] drm/omap: Factor out display type to connector type conversion