diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-09-04 07:07:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-05 23:41:36 -0400 |
commit | 2998ab4e0a0b19da1332b82d779bd17b4e284b38 (patch) | |
tree | e86e3201c1920f8cb0afecdb6e21f9c0bf8de366 /drivers/gpu/nvgpu/os | |
parent | 2b2bde04e14135cae5f7433c755e6b8d70f88abb (diff) |
gpu: nvgpu: remove unused regops HALs
Below regops HALs are not being called from anywhere, so remove them
gops.regops.get_runcontrol_whitelist_ranges()
gops.regops.get_runcontrol_whitelist_ranges_count()
gops.regops.get_qctl_whitelist_ranges()
gops.regops.get_qctl_whitelist_ranges_count()
HAL gops.regops.apply_smpc_war() is unimplemented for all the chips, and it
was originally only needed for gk20a which is not unsupported
So remove this HAL and its call too
Jira NVGPU-620
Change-Id: Ia2c74883cd647a2e94ee740ffd040a40c442b939
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1813106
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c index e4e7394e..9ea681b1 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_dbg.c | |||
@@ -1053,10 +1053,8 @@ static int nvgpu_dbg_gpu_ioctl_smpc_ctxsw_mode(struct dbg_session_gk20a *dbg_s, | |||
1053 | if (err) { | 1053 | if (err) { |
1054 | nvgpu_err(g, | 1054 | nvgpu_err(g, |
1055 | "error (%d) during smpc ctxsw mode update", err); | 1055 | "error (%d) during smpc ctxsw mode update", err); |
1056 | goto clean_up; | ||
1057 | } | 1056 | } |
1058 | 1057 | ||
1059 | err = g->ops.regops.apply_smpc_war(dbg_s); | ||
1060 | clean_up: | 1058 | clean_up: |
1061 | nvgpu_mutex_release(&g->dbg_sessions_lock); | 1059 | nvgpu_mutex_release(&g->dbg_sessions_lock); |
1062 | gk20a_idle(g); | 1060 | gk20a_idle(g); |