gpu: nvgpu: gk20a: dma_alloc only if needed
authorBibek Basu <bbasu@nvidia.com>
Fri, 22 May 2015 09:55:53 +0000 (14:55 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 5 Jun 2015 04:01:41 +0000 (21:01 -0700)
commit3ad19f3e10019cb72d51e506afb9ae6c6b1a9a75
tree33667ca8ce014cd51e898c7e8d2d9dc4e79fa754
parent3fa8ce564de498461f567c3917dc4c610388d747
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>
arch/arm/mach-tegra/common.c
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c