diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index c905bedb..8e600c18 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |||
@@ -451,7 +451,7 @@ u32 gk20a_ce_create_context_with_cb(struct gk20a *g, | |||
451 | ce_ctx->submitted_seq_number = 0; | 451 | ce_ctx->submitted_seq_number = 0; |
452 | ce_ctx->completed_seq_number = 0; | 452 | ce_ctx->completed_seq_number = 0; |
453 | 453 | ||
454 | ce_ctx->vm = &g->mm.ce.vm; | 454 | ce_ctx->vm = g->mm.ce.vm; |
455 | 455 | ||
456 | /* always kernel client needs privileged channel */ | 456 | /* always kernel client needs privileged channel */ |
457 | ce_ctx->ch = gk20a_open_new_channel_with_cb(g, gk20a_ce_finished_ctx_cb, | 457 | ce_ctx->ch = gk20a_open_new_channel_with_cb(g, gk20a_ce_finished_ctx_cb, |
@@ -465,7 +465,7 @@ u32 gk20a_ce_create_context_with_cb(struct gk20a *g, | |||
465 | ce_ctx->ch->wdt_enabled = false; | 465 | ce_ctx->ch->wdt_enabled = false; |
466 | 466 | ||
467 | /* bind the channel to the vm */ | 467 | /* bind the channel to the vm */ |
468 | err = __gk20a_vm_bind_channel(&g->mm.ce.vm, ce_ctx->ch); | 468 | err = __gk20a_vm_bind_channel(g->mm.ce.vm, ce_ctx->ch); |
469 | if (err) { | 469 | if (err) { |
470 | nvgpu_err(g, "ce: could not bind vm"); | 470 | nvgpu_err(g, "ce: could not bind vm"); |
471 | goto end; | 471 | goto end; |