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-ventana-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-ventana-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana-panel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-panel.c b/arch/arm/mach-tegra/board-ventana-panel.c index 8aeee024fca2..6563e7cf6d75 100644 --- a/arch/arm/mach-tegra/board-ventana-panel.c +++ b/arch/arm/mach-tegra/board-ventana-panel.c @@ -215,6 +215,7 @@ static struct tegra_fb_data ventana_fb_data = { .xres = 1366, .yres = 768, .bits_per_pixel = 32, + .flags = TEGRA_FB_FLIP_ON_PROBE, }; static struct tegra_fb_data ventana_hdmi_fb_data = { @@ -222,6 +223,7 @@ static struct tegra_fb_data ventana_hdmi_fb_data = { .xres = 1366, .yres = 768, .bits_per_pixel = 32, + .flags = TEGRA_FB_FLIP_ON_PROBE, }; static struct tegra_dc_out ventana_disp1_out = { @@ -357,6 +359,10 @@ int __init ventana_panel_init(void) res->start = tegra_fb2_start; res->end = tegra_fb2_start + tegra_fb2_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(&ventana_disp1_device); |