summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/linux/dma.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/linux/dma.h b/drivers/gpu/nvgpu/include/nvgpu/linux/dma.h
index 3960e654..342b278e 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/linux/dma.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/linux/dma.h
@@ -21,9 +21,13 @@
21 * Functions used internally for building the backing SGTs for nvgpu_mems. 21 * Functions used internally for building the backing SGTs for nvgpu_mems.
22 */ 22 */
23 23
24int nvgpu_get_sgtable(struct gk20a *g, struct sg_table **sgt, 24
25int nvgpu_get_sgtable_attrs(struct gk20a *g, struct sg_table **sgt,
25 void *cpuva, u64 iova, 26 void *cpuva, u64 iova,
26 size_t size); 27 size_t size, unsigned long flags);
28
29int nvgpu_get_sgtable(struct gk20a *g, struct sg_table **sgt,
30 void *cpuva, u64 iova, size_t size);
27 31
28int nvgpu_get_sgtable_from_pages(struct gk20a *g, struct sg_table **sgt, 32int nvgpu_get_sgtable_from_pages(struct gk20a *g, struct sg_table **sgt,
29 struct page **pages, u64 iova, 33 struct page **pages, u64 iova,