summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/cde.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/cde.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/cde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c
index 65c50726..2f2e886f 100644
--- a/drivers/gpu/nvgpu/common/linux/cde.c
+++ b/drivers/gpu/nvgpu/common/linux/cde.c
@@ -1167,7 +1167,7 @@ __releases(&l->cde_app->mutex)
1167 cde_ctx->init_cmd_executed = true; 1167 cde_ctx->init_cmd_executed = true;
1168 1168
1169 /* unmap the buffers - channel holds references to them now */ 1169 /* unmap the buffers - channel holds references to them now */
1170 nvgpu_vm_unmap(cde_ctx->vm, map_vaddr); 1170 nvgpu_vm_unmap(cde_ctx->vm, map_vaddr, NULL);
1171 1171
1172 return err; 1172 return err;
1173 1173
@@ -1175,7 +1175,7 @@ exit_unmap_surface:
1175 if (surface) 1175 if (surface)
1176 dma_buf_vunmap(compbits_scatter_buf, surface); 1176 dma_buf_vunmap(compbits_scatter_buf, surface);
1177exit_unmap_vaddr: 1177exit_unmap_vaddr:
1178 nvgpu_vm_unmap(cde_ctx->vm, map_vaddr); 1178 nvgpu_vm_unmap(cde_ctx->vm, map_vaddr, NULL);
1179exit_idle: 1179exit_idle:
1180 gk20a_idle(g); 1180 gk20a_idle(g);
1181 return err; 1181 return err;