aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/dss/dispc.c8
-rw-r--r--drivers/video/omap2/dss/dss_features.c3
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 700bb563cfcd..bddd64b435b9 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -735,11 +735,11 @@ static void dispc_ovl_set_color_mode(enum omap_plane plane,
735 switch (color_mode) { 735 switch (color_mode) {
736 case OMAP_DSS_COLOR_NV12: 736 case OMAP_DSS_COLOR_NV12:
737 m = 0x0; break; 737 m = 0x0; break;
738 case OMAP_DSS_COLOR_RGB12U: 738 case OMAP_DSS_COLOR_RGBX16:
739 m = 0x1; break; 739 m = 0x1; break;
740 case OMAP_DSS_COLOR_RGBA16: 740 case OMAP_DSS_COLOR_RGBA16:
741 m = 0x2; break; 741 m = 0x2; break;
742 case OMAP_DSS_COLOR_RGBX16: 742 case OMAP_DSS_COLOR_RGB12U:
743 m = 0x4; break; 743 m = 0x4; break;
744 case OMAP_DSS_COLOR_ARGB16: 744 case OMAP_DSS_COLOR_ARGB16:
745 m = 0x5; break; 745 m = 0x5; break;
@@ -788,9 +788,9 @@ static void dispc_ovl_set_color_mode(enum omap_plane plane,
788 m = 0x8; break; 788 m = 0x8; break;
789 case OMAP_DSS_COLOR_RGB24P: 789 case OMAP_DSS_COLOR_RGB24P:
790 m = 0x9; break; 790 m = 0x9; break;
791 case OMAP_DSS_COLOR_YUV2: 791 case OMAP_DSS_COLOR_RGBX16:
792 m = 0xa; break; 792 m = 0xa; break;
793 case OMAP_DSS_COLOR_UYVY: 793 case OMAP_DSS_COLOR_RGBA16:
794 m = 0xb; break; 794 m = 0xb; break;
795 case OMAP_DSS_COLOR_ARGB32: 795 case OMAP_DSS_COLOR_ARGB32:
796 m = 0xc; break; 796 m = 0xc; break;
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c
index 0a926432ccdc..ce14aa6dd672 100644
--- a/drivers/video/omap2/dss/dss_features.c
+++ b/drivers/video/omap2/dss/dss_features.c
@@ -190,7 +190,8 @@ static const enum omap_color_mode omap4_dss_supported_color_modes[] = {
190 OMAP_DSS_COLOR_RGB16 | OMAP_DSS_COLOR_RGB24U | 190 OMAP_DSS_COLOR_RGB16 | OMAP_DSS_COLOR_RGB24U |
191 OMAP_DSS_COLOR_RGB24P | OMAP_DSS_COLOR_ARGB32 | 191 OMAP_DSS_COLOR_RGB24P | OMAP_DSS_COLOR_ARGB32 |
192 OMAP_DSS_COLOR_RGBA32 | OMAP_DSS_COLOR_RGBX32 | 192 OMAP_DSS_COLOR_RGBA32 | OMAP_DSS_COLOR_RGBX32 |
193 OMAP_DSS_COLOR_ARGB16_1555, 193 OMAP_DSS_COLOR_ARGB16_1555 | OMAP_DSS_COLOR_RGBX16 |
194 OMAP_DSS_COLOR_RGBA16 | OMAP_DSS_COLOR_XRGB16_1555,
194 195
195 /* OMAP_DSS_VIDEO1 */ 196 /* OMAP_DSS_VIDEO1 */
196 OMAP_DSS_COLOR_RGB16 | OMAP_DSS_COLOR_RGB12U | 197 OMAP_DSS_COLOR_RGB16 | OMAP_DSS_COLOR_RGB12U |