diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/dma.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/dma.c b/drivers/gpu/nvgpu/common/linux/dma.c index 46b49930..67b58016 100644 --- a/drivers/gpu/nvgpu/common/linux/dma.c +++ b/drivers/gpu/nvgpu/common/linux/dma.c | |||
@@ -130,7 +130,7 @@ static void __dma_dbg(struct gk20a *g, size_t size, unsigned long flags, | |||
130 | __dma_dbg_done(g, size, type, "free") | 130 | __dma_dbg_done(g, size, type, "free") |
131 | 131 | ||
132 | #if defined(CONFIG_GK20A_VIDMEM) | 132 | #if defined(CONFIG_GK20A_VIDMEM) |
133 | static u64 __nvgpu_dma_alloc(struct nvgpu_allocator *allocator, dma_addr_t at, | 133 | static u64 __nvgpu_dma_alloc(struct nvgpu_allocator *allocator, u64 at, |
134 | size_t size) | 134 | size_t size) |
135 | { | 135 | { |
136 | u64 addr = 0; | 136 | u64 addr = 0; |
@@ -290,7 +290,7 @@ int nvgpu_dma_alloc_flags_vid(struct gk20a *g, unsigned long flags, | |||
290 | } | 290 | } |
291 | 291 | ||
292 | int nvgpu_dma_alloc_flags_vid_at(struct gk20a *g, unsigned long flags, | 292 | int nvgpu_dma_alloc_flags_vid_at(struct gk20a *g, unsigned long flags, |
293 | size_t size, struct nvgpu_mem *mem, dma_addr_t at) | 293 | size_t size, struct nvgpu_mem *mem, u64 at) |
294 | { | 294 | { |
295 | #if defined(CONFIG_GK20A_VIDMEM) | 295 | #if defined(CONFIG_GK20A_VIDMEM) |
296 | u64 addr; | 296 | u64 addr; |