From 3d0ddb8c4a735cc0c321ddef935f5c3eaad08660 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Fri, 20 Apr 2018 15:17:13 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1699842 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c') 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, ce_ctx->ch->timeout.enabled = false; /* bind the channel to the vm */ - err = __gk20a_vm_bind_channel(g->mm.ce.vm, ce_ctx->ch); + err = g->ops.mm.vm_bind_channel(g->mm.ce.vm, ce_ctx->ch); if (err) { nvgpu_err(g, "ce: could not bind vm"); goto end; -- cgit v1.2.2