summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-bonaire-panel.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2013-03-28 15:28:03 +0200
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:23:56 -0700
commit9544b856feb4923c8179e67ddf29a68e7734e25a (patch)
tree082b91d826694068365a49ca9b55c8d95027af84 /arch/arm/mach-tegra/board-bonaire-panel.c
parent87332f702a63b0b4fbddc56c9d81797ee8014cc1 (diff)
ARM: tegra: Initialize framebuffer mem in bonaire
Initialize framebuffer memory in bonaire. As T124 builds with 64-bit phys_addr_t, also __tegra_move_framebuffer() signature needs to be updated. Bug 1201552 Change-Id: Iee314e8f2914174f7f49fe98dd516b9a9c0e465a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/217303
Diffstat (limited to 'arch/arm/mach-tegra/board-bonaire-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-bonaire-panel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-bonaire-panel.c b/arch/arm/mach-tegra/board-bonaire-panel.c
index 20a1009b310f..f7add9142bef 100644
--- a/arch/arm/mach-tegra/board-bonaire-panel.c
+++ b/arch/arm/mach-tegra/board-bonaire-panel.c
@@ -670,6 +670,13 @@ int __init bonaire_panel_init(void)
res->start = tegra_fb_start;
res->end = tegra_fb_start + tegra_fb_size - 1;
+#ifdef CONFIG_TEGRA_IOMMU_SMMU
+ /* Copy the bootloader fb to the fb. */
+ __tegra_move_framebuffer(&bonaire_nvmap_device,
+ tegra_fb_start, tegra_bootloader_fb_start,
+ tegra_fb_size);
+#endif
+
if (!err) {
bonaire_disp1_device.dev.parent = &phost1x->dev;
err = platform_device_register(&bonaire_disp1_device);