diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-02-16 20:50:05 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-16 10:34:12 -0400 |
commit | ae1b86ed4f9bb706a289848829a7909669a538d3 (patch) | |
tree | 0c8a0a776500782b08af420b1a2b862787853c72 /drivers/gpu/nvgpu/common | |
parent | 34323b559590ed8f1c64ecbb7ffbd838a6478594 (diff) |
gpu: nvgpu: add gpu_va to update_hwpm_ctxsw_mode parameters()
It'll allow the function to use fixed mapping.
Jira VQRM-2982
Change-Id: I98159c5b199ce1854b1b40704392237cadb71ef2
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1660225
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_dbg.c | 2 |
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, |