diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/dma.h | 8 |
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 | ||
24 | int nvgpu_get_sgtable(struct gk20a *g, struct sg_table **sgt, | 24 | |
25 | int 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 | |||
29 | int nvgpu_get_sgtable(struct gk20a *g, struct sg_table **sgt, | ||
30 | void *cpuva, u64 iova, size_t size); | ||
27 | 31 | ||
28 | int nvgpu_get_sgtable_from_pages(struct gk20a *g, struct sg_table **sgt, | 32 | int nvgpu_get_sgtable_from_pages(struct gk20a *g, struct sg_table **sgt, |
29 | struct page **pages, u64 iova, | 33 | struct page **pages, u64 iova, |