OMAPDSS: add OMAP_DISPLAY_TYPE_DVI
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 13 May 2013 10:40:33 +0000 (13:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:58 +0000 (14:00 +0300)
Add new display bus type for DVI. This is not used by omapdss driver
itself, but is used by external encoder chips that output DVI.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/display.c
include/video/omapdss.h

index 0daf3e37d5979037812bb6497c6e23a467b2e484..fafe7c941a60537cf9015f6166dfb9e15abf8838 100644 (file)
@@ -61,6 +61,7 @@ int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev)
        case OMAP_DISPLAY_TYPE_VENC:
        case OMAP_DISPLAY_TYPE_SDI:
        case OMAP_DISPLAY_TYPE_HDMI:
+       case OMAP_DISPLAY_TYPE_DVI:
                return 24;
        default:
                BUG();
index cca912a5f32e4eade542ef36705ea4c36474c6d5..cff514eec5847aa4eea245af359c280a9f037984 100644 (file)
@@ -70,6 +70,7 @@ enum omap_display_type {
        OMAP_DISPLAY_TYPE_DSI           = 1 << 3,
        OMAP_DISPLAY_TYPE_VENC          = 1 << 4,
        OMAP_DISPLAY_TYPE_HDMI          = 1 << 5,
+       OMAP_DISPLAY_TYPE_DVI           = 1 << 6,
 };
 
 enum omap_plane {