diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/cde.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_as.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c index f3895d5c..7c92246c 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.c +++ b/drivers/gpu/nvgpu/common/linux/cde.c | |||
@@ -1306,7 +1306,7 @@ static int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx) | |||
1306 | } | 1306 | } |
1307 | 1307 | ||
1308 | /* bind the channel to the vm */ | 1308 | /* bind the channel to the vm */ |
1309 | err = __gk20a_vm_bind_channel(g->mm.cde.vm, ch); | 1309 | err = g->ops.mm.vm_bind_channel(g->mm.cde.vm, ch); |
1310 | if (err) { | 1310 | if (err) { |
1311 | nvgpu_warn(g, "cde: could not bind vm"); | 1311 | nvgpu_warn(g, "cde: could not bind vm"); |
1312 | goto err_commit_va; | 1312 | goto err_commit_va; |
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_as.c b/drivers/gpu/nvgpu/common/linux/ioctl_as.c index 7559499e..e09e099b 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_as.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_as.c | |||
@@ -63,7 +63,7 @@ static int gk20a_as_ioctl_bind_channel( | |||
63 | } | 63 | } |
64 | 64 | ||
65 | /* this will set channel_gk20a->vm */ | 65 | /* this will set channel_gk20a->vm */ |
66 | err = ch->g->ops.mm.vm_bind_channel(as_share, ch); | 66 | err = ch->g->ops.mm.vm_bind_channel(as_share->vm, ch); |
67 | 67 | ||
68 | out: | 68 | out: |
69 | gk20a_channel_put(ch); | 69 | gk20a_channel_put(ch); |