summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index 62b0a05e..023c959e 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -441,6 +441,8 @@ u32 gk20a_ce_create_context_with_cb(struct device *dev,
441 ce_ctx->submitted_seq_number = 0; 441 ce_ctx->submitted_seq_number = 0;
442 ce_ctx->completed_seq_number = 0; 442 ce_ctx->completed_seq_number = 0;
443 443
444 ce_ctx->vm = &g->mm.ce.vm;
445
444 /* always kernel client needs privileged channel */ 446 /* always kernel client needs privileged channel */
445 ce_ctx->ch = gk20a_open_new_channel_with_cb(g, gk20a_ce_finished_ctx_cb, 447 ce_ctx->ch = gk20a_open_new_channel_with_cb(g, gk20a_ce_finished_ctx_cb,
446 ce_ctx, 448 ce_ctx,