summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 9717efff..0a102cb2 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -509,22 +509,6 @@ bool gk20a_mm_mmu_debug_mode_enabled(struct gk20a *g);
509 509
510int gk20a_mm_mmu_vpr_info_fetch(struct gk20a *g); 510int gk20a_mm_mmu_vpr_info_fetch(struct gk20a *g);
511 511
512u64 gk20a_gmmu_map(struct vm_gk20a *vm,
513 struct sg_table **sgt,
514 u64 size,
515 u32 flags,
516 int rw_flag,
517 bool priv,
518 enum nvgpu_aperture aperture);
519u64 gk20a_gmmu_fixed_map(struct vm_gk20a *vm,
520 struct sg_table **sgt,
521 u64 addr,
522 u64 size,
523 u32 flags,
524 int rw_flag,
525 bool priv,
526 enum nvgpu_aperture aperture);
527
528static inline phys_addr_t gk20a_mem_phys(struct nvgpu_mem *mem) 512static inline phys_addr_t gk20a_mem_phys(struct nvgpu_mem *mem)
529{ 513{
530 /* FIXME: the sgt/sgl may get null if this is accessed e.g. in an isr 514 /* FIXME: the sgt/sgl may get null if this is accessed e.g. in an isr
@@ -565,11 +549,6 @@ u64 gk20a_locked_gmmu_map(struct vm_gk20a *vm,
565 struct vm_gk20a_mapping_batch *batch, 549 struct vm_gk20a_mapping_batch *batch,
566 enum nvgpu_aperture aperture); 550 enum nvgpu_aperture aperture);
567 551
568void gk20a_gmmu_unmap(struct vm_gk20a *vm,
569 u64 vaddr,
570 u64 size,
571 int rw_flag);
572
573void gk20a_locked_gmmu_unmap(struct vm_gk20a *vm, 552void gk20a_locked_gmmu_unmap(struct vm_gk20a *vm,
574 u64 vaddr, 553 u64 vaddr,
575 u64 size, 554 u64 size,