gpu: nvgpu: add debugger flag for regops support

Add NVGPU_DEBUGGER flag for regops API and hals

Jira NVGPU-3505

Change-Id: I9f2b850c881bf05f8ba5b6ef1f59f0d73a948cde
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2130146
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-05-23 15:36:40 +05:30
committed by mobile promotions
parent 3d318e1d1d
commit 455b0da253
14 changed files with 43 additions and 13 deletions

View File

@@ -833,7 +833,9 @@ void gk20a_remove_support(struct gk20a *g)
tegra_unregister_idle_unidle(gk20a_do_idle);
#ifdef NVGPU_DEBUGGER
nvgpu_kfree(g, g->dbg_regops_tmp_buf);
#endif
nvgpu_channel_remove_support_linux(l);