arm: tegra: cardhu: Reserve 16MB on RAM for HDMI
Shashank Sharma [Tue, 7 Aug 2012 06:45:06 +0000 (11:45 +0530)]
Reserve 16MB for HDMI maximum possible resolution (1920x1080) at
32 bpp and double buffering.

Change-Id: Id719a875b805723758485f970ab9e2f1a28ed19b
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/121562
(cherry picked from commit d376bc491a460353124adc0f2be8612add0d8e76)
Reviewed-on: http://git-master/r/140032
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>

arch/arm/mach-tegra/board-cardhu.c

index 7c3c81c..e14e6b2 100644 (file)
@@ -1472,8 +1472,8 @@ static void __init tegra_cardhu_init(void)
 static void __init tegra_cardhu_reserve(void)
 {
 #if defined(CONFIG_NVMAP_CONVERT_CARVEOUT_TO_IOVMM)
-       /* support 1920X1200 with 24bpp */
-       tegra_reserve(0, SZ_8M + SZ_1M, SZ_8M + SZ_1M);
+       /* Support 1920X1080 32bpp,double buffered on HDMI*/
+       tegra_reserve(0, SZ_8M + SZ_1M, SZ_16M);
 #else
        tegra_reserve(SZ_128M, SZ_8M, SZ_8M);
 #endif