diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-10-08 13:09:37 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-10-12 21:22:12 -0400 |
commit | 5b7b59714a6f6ea34295e4827eca68f496f5df18 (patch) | |
tree | abcd49abe842589e214b44c467a3baed181bf387 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 1cf6539990dccd4c7a94154cd75d4c257ed39f37 (diff) |
gpu: nvgpu: add support to remove bar2 mm
Adding support to remove bar2 mm on gpu module
remove.
Change-Id: Id5f680b1abf7056da9871d5460d9fbc40422673e
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/814571
(cherry picked from commit e7c6c87dd6b0893d26a9a3b4568121a691e1eb3c)
Reviewed-on: http://git-master/r/815429
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index c60f1bb7..8f328696 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -649,6 +649,8 @@ const struct gk20a_mmu_level *gk20a_mm_get_mmu_levels(struct gk20a *g, | |||
649 | u32 big_page_size); | 649 | u32 big_page_size); |
650 | void gk20a_mm_init_pdb(struct gk20a *g, void *inst_ptr, u64 pdb_addr); | 650 | void gk20a_mm_init_pdb(struct gk20a *g, void *inst_ptr, u64 pdb_addr); |
651 | 651 | ||
652 | void gk20a_remove_vm(struct vm_gk20a *vm, struct mem_desc *inst_block); | ||
653 | |||
652 | extern const struct gk20a_mmu_level gk20a_mm_levels_64k[]; | 654 | extern const struct gk20a_mmu_level gk20a_mm_levels_64k[]; |
653 | extern const struct gk20a_mmu_level gk20a_mm_levels_128k[]; | 655 | extern const struct gk20a_mmu_level gk20a_mm_levels_128k[]; |
654 | 656 | ||