diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/dma.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/dma.c b/drivers/gpu/nvgpu/os/linux/dma.c index f513dcd6..51c8323a 100644 --- a/drivers/gpu/nvgpu/os/linux/dma.c +++ b/drivers/gpu/nvgpu/os/linux/dma.c | |||
@@ -313,6 +313,13 @@ int nvgpu_dma_alloc_flags_vid(struct gk20a *g, unsigned long flags, | |||
313 | return nvgpu_dma_alloc_flags_vid_at(g, flags, size, mem, 0); | 313 | return nvgpu_dma_alloc_flags_vid_at(g, flags, size, mem, 0); |
314 | } | 314 | } |
315 | 315 | ||
316 | int nvgpu_dma_alloc_vid_at(struct gk20a *g, | ||
317 | size_t size, struct nvgpu_mem *mem, u64 at) | ||
318 | { | ||
319 | return nvgpu_dma_alloc_flags_vid_at(g, | ||
320 | NVGPU_DMA_NO_KERNEL_MAPPING, size, mem, at); | ||
321 | } | ||
322 | |||
316 | int nvgpu_dma_alloc_flags_vid_at(struct gk20a *g, unsigned long flags, | 323 | int nvgpu_dma_alloc_flags_vid_at(struct gk20a *g, unsigned long flags, |
317 | size_t size, struct nvgpu_mem *mem, u64 at) | 324 | size_t size, struct nvgpu_mem *mem, u64 at) |
318 | { | 325 | { |