diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 7c251e2d..16baaa39 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -1122,8 +1122,6 @@ __releases(&cde_app->mutex) | |||
1122 | cde_ctx->init_cmd_executed = true; | 1122 | cde_ctx->init_cmd_executed = true; |
1123 | 1123 | ||
1124 | /* unmap the buffers - channel holds references to them now */ | 1124 | /* unmap the buffers - channel holds references to them now */ |
1125 | if (surface) | ||
1126 | dma_buf_vunmap(compbits_scatter_buf, surface); | ||
1127 | gk20a_vm_unmap(cde_ctx->vm, map_vaddr); | 1125 | gk20a_vm_unmap(cde_ctx->vm, map_vaddr); |
1128 | 1126 | ||
1129 | return err; | 1127 | return err; |