video: tegra: dc: make reserved FB space identical
Sungwook Kim [Mon, 10 Nov 2014 08:42:58 +0000 (00:42 -0800)]
Make the reserved space for FB identical regardless of the kernel
config option CONFIG_NVMAP_CONVERT_CARVEOUT_TO_IOVMM.

bug 200035157
DEPENDS ON: < >

Change-Id: Ibbe17e142ce8b6f913bb3bfb8c1d62959f4fdcd7
Signed-off-by: Sungwook Kim <sungwookk@nvidia.com>
Reviewed-on: http://git-master/r/600082
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

arch/arm/mach-tegra/vcm30_t124.c

index 8f64afd..9daefa6 100644 (file)
@@ -592,7 +592,7 @@ void __init tegra_vcm30_t124_reserve(void)
        /* 2560*1440*4*2 = 29491200 = 28.125*1M = 29M bytes */
        tegra_reserve4(0, 29 * SZ_1M, 29 * SZ_1M, 64 * SZ_1M);
 #else
-       tegra_reserve4(SZ_256M, SZ_16M + SZ_2M, SZ_16M + SZ_2M, 64 * SZ_1M);
+       tegra_reserve4(SZ_256M, 29 * SZ_1M, 29 * SZ_1M, 64 * SZ_1M);
 #endif
 }