diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-13 06:40:33 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-17 07:00:58 -0400 |
| commit | bc24b8b6d75be869e2ae0c1e4d93cbb0463f5935 (patch) | |
| tree | 8b2717163e5c3b57720ffda0a26591926a3f6fb6 | |
| parent | efedce1425976fc73154a826552aad4f54086a25 (diff) | |
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 <tomi.valkeinen@ti.com>
| -rw-r--r-- | drivers/video/omap2/dss/display.c | 1 | ||||
| -rw-r--r-- | include/video/omapdss.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 0daf3e37d597..fafe7c941a60 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) | |||
| 61 | case OMAP_DISPLAY_TYPE_VENC: | 61 | case OMAP_DISPLAY_TYPE_VENC: |
| 62 | case OMAP_DISPLAY_TYPE_SDI: | 62 | case OMAP_DISPLAY_TYPE_SDI: |
| 63 | case OMAP_DISPLAY_TYPE_HDMI: | 63 | case OMAP_DISPLAY_TYPE_HDMI: |
| 64 | case OMAP_DISPLAY_TYPE_DVI: | ||
| 64 | return 24; | 65 | return 24; |
| 65 | default: | 66 | default: |
| 66 | BUG(); | 67 | BUG(); |
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index cca912a5f32e..cff514eec584 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
| @@ -70,6 +70,7 @@ enum omap_display_type { | |||
| 70 | OMAP_DISPLAY_TYPE_DSI = 1 << 3, | 70 | OMAP_DISPLAY_TYPE_DSI = 1 << 3, |
| 71 | OMAP_DISPLAY_TYPE_VENC = 1 << 4, | 71 | OMAP_DISPLAY_TYPE_VENC = 1 << 4, |
| 72 | OMAP_DISPLAY_TYPE_HDMI = 1 << 5, | 72 | OMAP_DISPLAY_TYPE_HDMI = 1 << 5, |
| 73 | OMAP_DISPLAY_TYPE_DVI = 1 << 6, | ||
| 73 | }; | 74 | }; |
| 74 | 75 | ||
| 75 | enum omap_plane { | 76 | enum omap_plane { |
