[PATCH v6 20/51] drm/omap: Factor out display type to connector type conversion