summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/ioctl_dbg.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/ioctl_dbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c
index f7a65f2b..408bbc64 100644
--- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c
+++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c
@@ -1107,10 +1107,11 @@ static int nvgpu_dbg_gpu_ioctl_set_mmu_debug_mode(
1107 ch = nvgpu_dbg_gpu_get_session_channel(dbg_s); 1107 ch = nvgpu_dbg_gpu_get_session_channel(dbg_s);
1108 if (!ch) { 1108 if (!ch) {
1109 nvgpu_err(g, "no bound channel for mmu debug mode"); 1109 nvgpu_err(g, "no bound channel for mmu debug mode");
1110 err = -EINVAL;
1110 goto clean_up; 1111 goto clean_up;
1111 } 1112 }
1112 1113
1113 err = g->ops.gr.set_mmu_debug_mode(g, ch, enable); 1114 err = nvgpu_tsg_set_mmu_debug_mode(tsg_gk20a_from_ch(ch), ch, enable);
1114 if (err) { 1115 if (err) {
1115 nvgpu_err(g, "set mmu debug mode failed, err=%d", err); 1116 nvgpu_err(g, "set mmu debug mode failed, err=%d", err);
1116 } 1117 }