summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-02 09:44:03 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-02 09:44:03 +0200
commitc4aadbbb23a4ed6cf827706c32600abb7974926f (patch)
treec49ac9ecee2ed67a9cdcf291c9cf87a0527d72bc
parentcd3be97da2aa7ad56a3d5f514f0980569563a545 (diff)
colibri_t20: android: use 32bpp
Use 32 rather than 16 bits per pixel as otherwise it looks so ugly.
-rw-r--r--arch/arm/mach-tegra/board-colibri_t20-panel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20-panel.c b/arch/arm/mach-tegra/board-colibri_t20-panel.c
index 6b8fea1dc631..6c6ff73eb318 100644
--- a/arch/arm/mach-tegra/board-colibri_t20-panel.c
+++ b/arch/arm/mach-tegra/board-colibri_t20-panel.c
@@ -453,7 +453,11 @@ static struct tegra_fb_data colibri_t20_fb_data = {
.xres = 800,
.yres = 480,
#endif /* TEGRA_FB_VGA */
+#ifndef CONFIG_ANDROID
.bits_per_pixel = 16,
+#else
+ .bits_per_pixel = 32,
+#endif
.flags = TEGRA_FB_FLIP_ON_PROBE,
};
@@ -461,7 +465,11 @@ static struct tegra_fb_data colibri_t20_hdmi_fb_data = {
.win = 0,
.xres = 640,
.yres = 480,
+#ifndef CONFIG_ANDROID
.bits_per_pixel = 16,
+#else
+ .bits_per_pixel = 32,
+#endif
.flags = TEGRA_FB_FLIP_ON_PROBE,
};