diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 855c2b14..a43252de 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <nvgpu/timers.h> | 21 | #include <nvgpu/timers.h> |
22 | #include <nvgpu/kmem.h> | 22 | #include <nvgpu/kmem.h> |
23 | #include <nvgpu/gmmu.h> | ||
23 | #include <nvgpu/dma.h> | 24 | #include <nvgpu/dma.h> |
24 | #include <nvgpu/bug.h> | 25 | #include <nvgpu/bug.h> |
25 | 26 | ||
@@ -858,8 +859,8 @@ int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, | |||
858 | if (err) | 859 | if (err) |
859 | return err; | 860 | return err; |
860 | 861 | ||
861 | mem->gpu_va = gk20a_gmmu_map(vm, | 862 | mem->gpu_va = nvgpu_gmmu_map(vm, |
862 | &mem->priv.sgt, | 863 | mem, |
863 | size, | 864 | size, |
864 | NVGPU_MAP_BUFFER_FLAGS_CACHEABLE_TRUE, | 865 | NVGPU_MAP_BUFFER_FLAGS_CACHEABLE_TRUE, |
865 | gk20a_mem_flag_none, | 866 | gk20a_mem_flag_none, |