mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: Use new kmem API functions (gk20a core)
Use the new kmem API functions in core gk20a code. Also add a struct gk20a pointer to several functions to ensure that the kmem APIs can be used. Bug 1799159 Bug 1823380 Change-Id: I41276509c4f0b68e80b989aa55cf94d8dbbdf156 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1318322 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
4022b989aa
commit
bc92e2fb97
@@ -340,7 +340,7 @@ void gk20a_remove_support(struct gk20a *g)
|
||||
tegra_unregister_idle_unidle();
|
||||
#endif
|
||||
if (g->dbg_regops_tmp_buf)
|
||||
kfree(g->dbg_regops_tmp_buf);
|
||||
nvgpu_kfree(g, g->dbg_regops_tmp_buf);
|
||||
|
||||
if (g->pmu.remove_support)
|
||||
g->pmu.remove_support(&g->pmu);
|
||||
|
||||
Reference in New Issue
Block a user