summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-04-20 18:17:13 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-25 12:36:53 -0400
commit3d0ddb8c4a735cc0c321ddef935f5c3eaad08660 (patch)
tree2568629c3867968a6c65c381a909cb2a36faea2d /drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
parent98dce7eaac374ccd5c4d7cf6d76decc4e9cd3896 (diff)
gpu: nvgpu: move parameter of .vm_bind_channel from as_share to vm
as_share is more os specific and not yet used on other OSes. Jira VQRM-2344 Change-Id: Ie2ed007125400484352fbab602c37a198e8a64ae Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1699842 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index 6da65abd..0280bbbb 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -449,7 +449,7 @@ u32 gk20a_ce_create_context(struct gk20a *g,
449 ce_ctx->ch->timeout.enabled = false; 449 ce_ctx->ch->timeout.enabled = false;
450 450
451 /* bind the channel to the vm */ 451 /* bind the channel to the vm */
452 err = __gk20a_vm_bind_channel(g->mm.ce.vm, ce_ctx->ch); 452 err = g->ops.mm.vm_bind_channel(g->mm.ce.vm, ce_ctx->ch);
453 if (err) { 453 if (err) {
454 nvgpu_err(g, "ce: could not bind vm"); 454 nvgpu_err(g, "ce: could not bind vm");
455 goto end; 455 goto end;