gpu: nvgpu: remove gpu_va update_hwpm_ctxsw_mode

Since gpu server can noew allocate va itself, update_hwpm_ctxsw_mode
does not need to fixed map pm ctx anymore.

Jira GVSCI-10977

Change-Id: If592c8a2eb6dbfd7d922c79c87871162e9d8d8a4
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2546192
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Richard Zhao
2021-06-15 13:58:20 -07:00
committed by mobile promotions
parent f9ae5c6424
commit 77f0ab6583
13 changed files with 11 additions and 78 deletions

View File

@@ -1175,7 +1175,7 @@ static int nvgpu_dbg_gpu_ioctl_hwpm_ctxsw_mode(struct dbg_session_gk20a *dbg_s,
goto clean_up;
}
err = g->ops.gr.update_hwpm_ctxsw_mode(g, gr_instance_id, tsg, 0, mode);
err = g->ops.gr.update_hwpm_ctxsw_mode(g, gr_instance_id, tsg, mode);
if (err)
nvgpu_err(g,