summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-aruba-panel.c
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2011-07-05 18:27:43 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 19:56:37 -0700
commit447e8dae3d88cc584640e00232eaac84b42bec70 (patch)
tree796eb0868145aaaa7dc7b74d12a871c9a12779d0 /arch/arm/mach-tegra/board-aruba-panel.c
parentdb9de61cbcf055ac6806c1e643d0c11e8fb6a08d (diff)
arm: tegra: cardhu: Fix the issue of boot screen corruption.
- The issue is due to the corruption of bootloader fb during kernel initialization. This change reserves the bootloader fb and then frees it until bootloader fb is copied to fb for Cardhu, Ventana, Whistler, Enterprise and Aruba. - Change color depth of Cardhu and Harmony to 32-bit. Bug 828271 Bug 832016 Original-Change-Id: I05ef5930ee68dcbd672a5cb59b4568a2c88a2e55 Reviewed-on: http://git-master/r/34966 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rda4b092a6dd4cabf4cb5db8364942117a4bf1245
Diffstat (limited to 'arch/arm/mach-tegra/board-aruba-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-aruba-panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-aruba-panel.c b/arch/arm/mach-tegra/board-aruba-panel.c
index 5db69f66a13a..deb2a089560a 100644
--- a/arch/arm/mach-tegra/board-aruba-panel.c
+++ b/arch/arm/mach-tegra/board-aruba-panel.c
@@ -228,6 +228,10 @@ int __init aruba_panel_init(void)
res->start = tegra_fb_start;
res->end = tegra_fb_start + tegra_fb_size - 1;
+ /* Copy the bootloader fb to the fb. */
+ tegra_move_framebuffer(tegra_fb_start, tegra_bootloader_fb_start,
+ min(tegra_fb_size, tegra_bootloader_fb_size));
+
if (!err)
err = nvhost_device_register(&aruba_disp1_device);