diff options
author | Sujeet Baranwal <s-baranwal@ti.com> | 2010-10-22 14:00:28 +0530 |
---|---|---|
committer | Samreen <samreen@ti.com> | 2010-10-29 16:02:51 +0530 |
commit | ea7c8d82a92ac41d53a77e4980792f1810cfe0b8 (patch) | |
tree | c79cdc1efbf7818ceb45d7cf17e96dba16c72f35 | |
parent | cd9a5430dc1fdc0970a4d7988f2f43f169441d01 (diff) |
DSS2: Add NV12 color format for bpp calculation in configure_overlay
Signed-off-by: Sujeet Baranwal <s-baranwal@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c index 9c4f7a2113d2..5721e1ab004a 100644 --- a/drivers/video/omap2/dss/manager.c +++ b/drivers/video/omap2/dss/manager.c @@ -795,6 +795,9 @@ static int configure_overlay(enum omap_plane plane) } switch (c->color_mode) { + case OMAP_DSS_COLOR_NV12: + bpp = 8; + break; case OMAP_DSS_COLOR_RGB16: case OMAP_DSS_COLOR_ARGB16: case OMAP_DSS_COLOR_YUV2: |