summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2015-04-21 03:15:36 -0400
committerAlexander Van Brunt <avanbrunt@nvidia.com>2015-05-05 16:58:57 -0400
commit4425e9ebcf85443773a15891ba40242d714426a1 (patch)
tree7f469413c1c8c932f8f48ffb36e36d89279fb849
parent852822b2ef9b14113c1ff9fef6f352321b6700db (diff)
gpu: nvgpu: use 4K hole for pmu VM
bug N/A with 128MB hole we are running into PDE errors when 64K big page is used instead of 128k Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Change-Id: Id887b32484e2114a8707e7d534e6ebf5e108b83f Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/733497 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/737532 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
-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 4c0a773c..452e064e 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2784,7 +2784,7 @@ static int gk20a_init_system_vm(struct mm_gk20a *mm)
2784 gk20a_dbg_info("pmu vm size = 0x%x", mm->pmu.aperture_size); 2784 gk20a_dbg_info("pmu vm size = 0x%x", mm->pmu.aperture_size);
2785 2785
2786 gk20a_init_vm(mm, vm, big_page_size, 2786 gk20a_init_vm(mm, vm, big_page_size,
2787 SZ_128K << 10, GK20A_PMU_VA_SIZE, false, "system"); 2787 SZ_4K, GK20A_PMU_VA_SIZE, false, "system");
2788 2788
2789 err = gk20a_alloc_inst_block(g, inst_block); 2789 err = gk20a_alloc_inst_block(g, inst_block);
2790 if (err) 2790 if (err)