summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_dbg.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c
index eb6156da..a15ac344 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_dbg.c
@@ -1045,7 +1045,7 @@ static int nvgpu_dbg_gpu_ioctl_hwpm_ctxsw_mode(struct dbg_session_gk20a *dbg_s,
1045 goto clean_up; 1045 goto clean_up;
1046 } 1046 }
1047 1047
1048 err = g->ops.gr.update_hwpm_ctxsw_mode(g, ch_gk20a, 1048 err = g->ops.gr.update_hwpm_ctxsw_mode(g, ch_gk20a, 0,
1049 args->mode == NVGPU_DBG_GPU_HWPM_CTXSW_MODE_CTXSW); 1049 args->mode == NVGPU_DBG_GPU_HWPM_CTXSW_MODE_CTXSW);
1050 if (err) 1050 if (err)
1051 nvgpu_err(g, 1051 nvgpu_err(g,