diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/ioctl_as.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_as.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_as.c b/drivers/gpu/nvgpu/os/linux/ioctl_as.c index 47f612cc..5eb9802f 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_as.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_as.c | |||
@@ -111,6 +111,7 @@ static int gk20a_as_ioctl_map_buffer_ex( | |||
111 | 111 | ||
112 | return nvgpu_vm_map_buffer(as_share->vm, args->dmabuf_fd, | 112 | return nvgpu_vm_map_buffer(as_share->vm, args->dmabuf_fd, |
113 | &args->offset, args->flags, | 113 | &args->offset, args->flags, |
114 | args->page_size, | ||
114 | args->compr_kind, | 115 | args->compr_kind, |
115 | args->incompr_kind, | 116 | args->incompr_kind, |
116 | args->buffer_offset, | 117 | args->buffer_offset, |
@@ -201,7 +202,7 @@ static int gk20a_as_ioctl_map_buffer_batch( | |||
201 | 202 | ||
202 | err = nvgpu_vm_map_buffer( | 203 | err = nvgpu_vm_map_buffer( |
203 | as_share->vm, map_args.dmabuf_fd, | 204 | as_share->vm, map_args.dmabuf_fd, |
204 | &map_args.offset, map_args.flags, | 205 | &map_args.offset, map_args.flags, map_args.page_size, |
205 | compressible_kind, incompressible_kind, | 206 | compressible_kind, incompressible_kind, |
206 | map_args.buffer_offset, | 207 | map_args.buffer_offset, |
207 | map_args.mapping_size, | 208 | map_args.mapping_size, |