summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/cde_gk20a.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
index 7b81f5e8..384fbdef 100644
--- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
@@ -1203,9 +1203,7 @@ static int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx)
1203 } 1203 }
1204 1204
1205 /* bind the channel to the vm */ 1205 /* bind the channel to the vm */
1206 gk20a_vm_get(&g->mm.cde.vm); 1206 err = __gk20a_vm_bind_channel(&g->mm.cde.vm, ch);
1207 ch->vm = &g->mm.cde.vm;
1208 err = channel_gk20a_commit_va(ch);
1209 if (err) { 1207 if (err) {
1210 gk20a_warn(cde_ctx->dev, "cde: could not bind vm"); 1208 gk20a_warn(cde_ctx->dev, "cde: could not bind vm");
1211 goto err_commit_va; 1209 goto err_commit_va;