summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 13c62691..0cd77d1e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1233,6 +1233,7 @@ struct gk20a {
1233#ifdef CONFIG_DEBUG_FS 1233#ifdef CONFIG_DEBUG_FS
1234 struct debugfs_blob_wrapper bios_blob; 1234 struct debugfs_blob_wrapper bios_blob;
1235#endif 1235#endif
1236 bool bios_is_init;
1236 1237
1237 struct nvgpu_clk_arb *clk_arb; 1238 struct nvgpu_clk_arb *clk_arb;
1238 1239
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 0e0326dd..dd8b900d 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -393,7 +393,7 @@ static void gk20a_remove_mm_support(struct mm_gk20a *mm)
393 nvgpu_vm_put(mm->pmu.vm); 393 nvgpu_vm_put(mm->pmu.vm);
394 nvgpu_vm_put(mm->cde.vm); 394 nvgpu_vm_put(mm->cde.vm);
395 395
396 gk20a_semaphore_sea_destroy(g); 396 nvgpu_semaphore_sea_destroy(g);
397 gk20a_vidmem_destroy(g); 397 gk20a_vidmem_destroy(g);
398 nvgpu_pd_cache_fini(g); 398 nvgpu_pd_cache_fini(g);
399} 399}