arm: tegra: set bpp for PM313 display to 24
Graziano Misuraca [Tue, 6 Mar 2012 01:20:48 +0000 (17:20 -0800)]
bpp on PM313 display was 18bpp which caused the
colours to show up incorrectly. Setting it
properly.

Bug 947532

Change-Id: Iccc99b67fea417b12d7bcc9f59055b60689be568
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/88214
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/board-cardhu-panel.c

index f6db96c..fa0e43d 100644 (file)
@@ -50,7 +50,7 @@
 
 /* Select LVDS panel resolution. 13X7 is default */
 #define PM313_LVDS_PANEL_19X12                 1
-#define PM313_LVDS_PANEL_BPP                   1 /* 0:24bpp, 1:18bpp */
+#define PM313_LVDS_PANEL_BPP                   0 /* 0:24bpp, 1:18bpp */
 
 /* PM313 display board specific pins */
 #define pm313_R_FDE                    TEGRA_GPIO_PW0