]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: OMAPFB: Change default color format to ARGB32
authorMark Tyler <mark.tyler@ti.com>
Fri, 30 Sep 2011 11:58:56 +0000 (17:28 +0530)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 22:28:58 +0000 (17:28 -0500)
Earlier the default color format of the framebuffer was xRGB24U, but SGX
is producing data in ARGB32. Also, SGX - the FB driver user - doesn't negotiate
with FB driver for the format and thus FB needs to provide ARGB32 as default
to align with SGX format.

Change-Id: I5609d633cec3104d7711d163d47dd4da803d6ff3
Signed-off-by: Mark Tyler <mark.tyler@ti.com>
Signed-off-by: Varadarajan, Charulatha <charu@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c

index 34af88837be34438c2a58271ecd78a5ff65ca0b5..fc0a1bc6744b9737964310ccc23b2b1d6a7aea8e 100644 (file)
@@ -362,7 +362,7 @@ int omapfb_mode_to_dss_mode(struct fb_var_screeninfo *var,
                dssmode = OMAP_DSS_COLOR_RGB24P;
                break;
        case 32:
-               dssmode = OMAP_DSS_COLOR_RGB24U;
+               dssmode = OMAP_DSS_COLOR_ARGB32;
                break;
        default:
                return -EINVAL;