summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-06-23 07:40:13 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-29 16:29:52 -0400
commit268721975c6c72418e2282126e7f594f62e6e118 (patch)
tree62c64561775f42513a9dda74244f613dc5a59543 /drivers/gpu/nvgpu/include
parent97aea977e25c17ecb44448eb19dc15e740036958 (diff)
gpu: nvgpu: PMU reset reorg
- nvgpu_pmu_reset() as pmu reset for all chips & removed gk20a_pmu_reset() & gp106_pmu_reset() along with dependent code. - Created ops to do PMU engine reset & to know the engine reset status - Removed pmu.reset ops & replaced with nvgpu_flcn_reset(pmu->flcn) - Moved sec2 reset to sec2_gp106 from pmu_gp106 & cleaned PMU code part of sec2. JIRA NVGPU-99 Change-Id: I7575e4ca2b34922d73d171f6a41bfcdc2f40dc96 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master/r/1507881 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmu.h
index ede238a0..107d2b2d 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/pmu.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmu.h
@@ -432,6 +432,9 @@ int nvgpu_pmu_init_powergating(struct gk20a *g);
432int nvgpu_pmu_init_bind_fecs(struct gk20a *g); 432int nvgpu_pmu_init_bind_fecs(struct gk20a *g);
433void nvgpu_pmu_setup_hw_load_zbc(struct gk20a *g); 433void nvgpu_pmu_setup_hw_load_zbc(struct gk20a *g);
434 434
435/* PMU reset */
436int nvgpu_pmu_reset(struct gk20a *g);
437
435/* PG enable/disable */ 438/* PG enable/disable */
436int nvgpu_pmu_enable_elpg(struct gk20a *g); 439int nvgpu_pmu_enable_elpg(struct gk20a *g);
437int nvgpu_pmu_disable_elpg(struct gk20a *g); 440int nvgpu_pmu_disable_elpg(struct gk20a *g);