summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vm_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vm_priv.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vm_priv.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vm_priv.h b/drivers/gpu/nvgpu/common/linux/vm_priv.h
index fa173d59..be7efa8b 100644
--- a/drivers/gpu/nvgpu/common/linux/vm_priv.h
+++ b/drivers/gpu/nvgpu/common/linux/vm_priv.h
@@ -88,9 +88,9 @@ int nvgpu_vm_map_buffer(struct vm_gk20a *vm,
88void nvgpu_vm_unmap(struct vm_gk20a *vm, u64 offset); 88void nvgpu_vm_unmap(struct vm_gk20a *vm, u64 offset);
89 89
90/* find buffer corresponding to va */ 90/* find buffer corresponding to va */
91int nvgpu_vm_find_buffer(struct vm_gk20a *vm, u64 gpu_va, 91int nvgpu_vm_find_buf(struct vm_gk20a *vm, u64 gpu_va,
92 struct dma_buf **dmabuf, 92 struct dma_buf **dmabuf,
93 u64 *offset); 93 u64 *offset);
94 94
95enum nvgpu_aperture gk20a_dmabuf_aperture(struct gk20a *g, 95enum nvgpu_aperture gk20a_dmabuf_aperture(struct gk20a *g,
96 struct dma_buf *dmabuf); 96 struct dma_buf *dmabuf);
@@ -98,9 +98,5 @@ int validate_fixed_buffer(struct vm_gk20a *vm,
98 struct buffer_attrs *bfr, 98 struct buffer_attrs *bfr,
99 u64 map_offset, u64 map_size, 99 u64 map_offset, u64 map_size,
100 struct nvgpu_vm_area **pva_node); 100 struct nvgpu_vm_area **pva_node);
101int setup_buffer_kind_and_compression(struct vm_gk20a *vm,
102 u32 flags,
103 struct buffer_attrs *bfr,
104 enum gmmu_pgsz_gk20a pgsz_idx);
105 101
106#endif 102#endif