From f9be3db01e560b55b41cdbf2575694b05b44d449 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 6 Mar 2013 00:52:51 +0100 Subject: 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. --- arch/arm/mach-tegra/board-colibri_t30-panel.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, }; -- cgit v1.2.3