diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index 0d79b143..0357f098 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -138,6 +138,7 @@ static int gk20a_ctrl_prepare_compressible_read( | |||
138 | struct gk20a *g, | 138 | struct gk20a *g, |
139 | struct nvgpu_gpu_prepare_compressible_read_args *args) | 139 | struct nvgpu_gpu_prepare_compressible_read_args *args) |
140 | { | 140 | { |
141 | struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); | ||
141 | struct nvgpu_fence fence; | 142 | struct nvgpu_fence fence; |
142 | struct gk20a_fence *fence_out = NULL; | 143 | struct gk20a_fence *fence_out = NULL; |
143 | int ret = 0; | 144 | int ret = 0; |
@@ -146,7 +147,7 @@ static int gk20a_ctrl_prepare_compressible_read( | |||
146 | fence.id = args->fence.syncpt_id; | 147 | fence.id = args->fence.syncpt_id; |
147 | fence.value = args->fence.syncpt_value; | 148 | fence.value = args->fence.syncpt_value; |
148 | 149 | ||
149 | ret = gk20a_prepare_compressible_read(g, args->handle, | 150 | ret = gk20a_prepare_compressible_read(l, args->handle, |
150 | args->request_compbits, args->offset, | 151 | args->request_compbits, args->offset, |
151 | args->compbits_hoffset, args->compbits_voffset, | 152 | args->compbits_hoffset, args->compbits_voffset, |
152 | args->scatterbuffer_offset, | 153 | args->scatterbuffer_offset, |