From bc24b8b6d75be869e2ae0c1e4d93cbb0463f5935 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 13 May 2013 13:40:33 +0300 Subject: [PATCH] OMAPDSS: add OMAP_DISPLAY_TYPE_DVI 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 --- drivers/video/omap2/dss/display.c | 1 + include/video/omapdss.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 0daf3e3..fafe7c9 100644 --- a/drivers/video/omap2/dss/display.c +++ b/drivers/video/omap2/dss/display.c @@ -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(); diff --git a/include/video/omapdss.h b/include/video/omapdss.h index cca912a..cff514e 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -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 { -- 2.7.4