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>
This commit is contained in:
Deepak Nibade
2018-09-04 16:37:33 +05:30
committed by mobile promotions
parent 2b2bde04e1
commit 2998ab4e0a
14 changed files with 0 additions and 268 deletions

View File

@@ -1053,10 +1053,8 @@ static int nvgpu_dbg_gpu_ioctl_smpc_ctxsw_mode(struct dbg_session_gk20a *dbg_s,
if (err) {
nvgpu_err(g,
"error (%d) during smpc ctxsw mode update", err);
goto clean_up;
}
err = g->ops.regops.apply_smpc_war(dbg_s);
clean_up:
nvgpu_mutex_release(&g->dbg_sessions_lock);
gk20a_idle(g);