summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBibek Basu <bbasu@nvidia.com>2015-05-22 15:25:53 +0530
committerMatthew Pedro <mapedro@nvidia.com>2015-06-04 21:01:41 -0700
commit3ad19f3e10019cb72d51e506afb9ae6c6b1a9a75 (patch)
tree33667ca8ce014cd51e898c7e8d2d9dc4e79fa754 /arch
parent3fa8ce564de498461f567c3917dc4c610388d747 (diff)
gpu: nvgpu: gk20a: dma_alloc only if needed
if vpr memory is carved out, then only call dma_alloc for secure memory. Bug 200057068 Change-Id: I12557cfaa48f7db729ccab17d3151916d35ce0f1 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/746153 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 07faddfcfd70..542e2b6dbcc7 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -135,6 +135,7 @@ phys_addr_t tegra_carveout_start;
phys_addr_t tegra_carveout_size;
phys_addr_t tegra_vpr_start;
phys_addr_t tegra_vpr_size;
+EXPORT_SYMBOL(tegra_vpr_size);
phys_addr_t tegra_tsec_start;
phys_addr_t tegra_tsec_size;
phys_addr_t tegra_lp0_vec_start;