summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/vm.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/vm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/vm.c b/drivers/gpu/nvgpu/common/mm/vm.c
index 27667f34..17e49969 100644
--- a/drivers/gpu/nvgpu/common/mm/vm.c
+++ b/drivers/gpu/nvgpu/common/mm/vm.c
@@ -90,7 +90,7 @@ static void __nvgpu_vm_free_entries(struct vm_gk20a *vm,
90 int i; 90 int i;
91 91
92 if (pd->mem) { 92 if (pd->mem) {
93 __nvgpu_pd_free(vm, pd); 93 nvgpu_pd_free(vm, pd);
94 pd->mem = NULL; 94 pd->mem = NULL;
95 } 95 }
96 96
@@ -110,7 +110,7 @@ static void nvgpu_vm_free_entries(struct vm_gk20a *vm,
110 struct gk20a *g = vm->mm->g; 110 struct gk20a *g = vm->mm->g;
111 int i; 111 int i;
112 112
113 __nvgpu_pd_cache_free_direct(g, pdb); 113 nvgpu_pd_cache_free_direct(g, pdb);
114 114
115 if (!pdb->entries) { 115 if (!pdb->entries) {
116 return; 116 return;
@@ -522,7 +522,7 @@ clean_up_allocators:
522 } 522 }
523clean_up_page_tables: 523clean_up_page_tables:
524 /* Cleans up nvgpu_gmmu_init_page_table() */ 524 /* Cleans up nvgpu_gmmu_init_page_table() */
525 __nvgpu_pd_cache_free_direct(g, &vm->pdb); 525 nvgpu_pd_cache_free_direct(g, &vm->pdb);
526clean_up_vgpu_vm: 526clean_up_vgpu_vm:
527#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION 527#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
528 if (g->is_virtual) 528 if (g->is_virtual)