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>2011-11-30 21:47:25 -0800
commitece493d6698b37e4e8960a00013ea3bc14ac0077 (patch)
treed701fa1973a9149d796694b0317ff803539cb126 /arch/arm/mach-tegra/board-aruba-panel.c
parent6bb75fef198e459478cd846ef2cfa0026647a90f (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: Rb3c9280ea4643ccee661d37d24fb540319470bf7
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);