summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-03-06 00:52:51 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-03-06 00:52:51 +0100
commitf9be3db01e560b55b41cdbf2575694b05b44d449 (patch)
tree7ea880c8aaac0bebe6b2a13f9957513aecc5cffa
parentfdcedbc9b0ff34ef273c6af5ce1f54e15c2d0f40 (diff)
colibri_t30: android: 32 bits per pixel
Android uses 32 bits per pixel and fails otherwise. While at it increase the default DVI-D aka HDMI resolution to full HD.
-rw-r--r--arch/arm/mach-tegra/board-colibri_t30-panel.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t30-panel.c b/arch/arm/mach-tegra/board-colibri_t30-panel.c
index dd2751428a28..cc5759683d70 100644
--- a/arch/arm/mach-tegra/board-colibri_t30-panel.c
+++ b/arch/arm/mach-tegra/board-colibri_t30-panel.c
@@ -497,15 +497,25 @@ static struct tegra_fb_data colibri_t30_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,
};
static struct tegra_fb_data colibri_t30_hdmi_fb_data = {
.win = 0,
+#ifndef CONFIG_ANDROID
.xres = 640,
.yres = 480,
.bits_per_pixel = 16,
+#else /* CONFIG_ANDROID */
+ .xres = 1920,
+ .yres = 1080,
+ .bits_per_pixel = 32,
+#endif /* !CONFIG_ANDROID */
.flags = TEGRA_FB_FLIP_ON_PROBE,
};