summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2015-05-08 08:23:36 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-06 12:38:05 -0400
commita41e5c41cadaa3d030a1f75b09328b8b1a440b69 (patch)
tree1081694e3368a8510d8443659a1589858b28b469
parentde48cc83b435aebd313c10a72f94247377a4a3b0 (diff)
gpu: nvgpu: use 64K hole for PMU VM
With 4K hole T186 PMU does not boot in NS T186 has 64 bit DMA Base. We subtract IMEM offset from GPUVA for PMU boot DMABASE setup It becomes above 4GB because of that So we will use a hole which is bigger than IMEM size. Change-Id: Ib87c39881299a4f5b14e28415195e00800250c46 Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/740656 (cherry picked from commit 6504934d5f90719a5d564174aeb92da90aafbd5b) Reviewed-on: http://git-master/r/747742 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 1761d882..42974154 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -3082,7 +3082,7 @@ static int gk20a_init_system_vm(struct mm_gk20a *mm)
3082 gk20a_dbg_info("pmu vm size = 0x%x", mm->pmu.aperture_size); 3082 gk20a_dbg_info("pmu vm size = 0x%x", mm->pmu.aperture_size);
3083 3083
3084 gk20a_init_vm(mm, vm, big_page_size, 3084 gk20a_init_vm(mm, vm, big_page_size,
3085 SZ_4K, GK20A_PMU_VA_SIZE, false, "system"); 3085 SZ_4K * 16, GK20A_PMU_VA_SIZE, false, "system");
3086 3086
3087 err = gk20a_alloc_inst_block(g, inst_block); 3087 err = gk20a_alloc_inst_block(g, inst_block);
3088 if (err) 3088 if (err)