diff options
author | Kevin Huang <kevinh@nvidia.com> | 2011-07-05 18:27:43 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:25 -0800 |
commit | ece493d6698b37e4e8960a00013ea3bc14ac0077 (patch) | |
tree | d701fa1973a9149d796694b0317ff803539cb126 /arch/arm/mach-tegra/board-whistler-panel.c | |
parent | 6bb75fef198e459478cd846ef2cfa0026647a90f (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-whistler-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-panel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c index d41459fa43ff..9603b69bc107 100644 --- a/arch/arm/mach-tegra/board-whistler-panel.c +++ b/arch/arm/mach-tegra/board-whistler-panel.c @@ -207,6 +207,7 @@ static struct tegra_fb_data whistler_fb_data = { .xres = 800, .yres = 480, .bits_per_pixel = 32, + .flags = TEGRA_FB_FLIP_ON_PROBE, }; static struct tegra_fb_data whistler_hdmi_fb_data = { @@ -214,6 +215,7 @@ static struct tegra_fb_data whistler_hdmi_fb_data = { .xres = 800, .yres = 480, .bits_per_pixel = 32, + .flags = TEGRA_FB_FLIP_ON_PROBE, }; @@ -299,6 +301,10 @@ int __init whistler_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)); + res = nvhost_get_resource_byname(&whistler_disp2_device, IORESOURCE_MEM, "fbmem"); res->start = tegra_fb2_start; |