summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206
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/gm206
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/gm206')
-rw-r--r--drivers/gpu/nvgpu/gm206/bios_gm206.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.c b/drivers/gpu/nvgpu/gm206/bios_gm206.c
index c32959a3..567b01ce 100644
--- a/drivers/gpu/nvgpu/gm206/bios_gm206.c
+++ b/drivers/gpu/nvgpu/gm206/bios_gm206.c
@@ -105,7 +105,7 @@ static int gm206_bios_devinit(struct gk20a *g)
105 struct nvgpu_timeout timeout; 105 struct nvgpu_timeout timeout;
106 106
107 gk20a_dbg_fn(""); 107 gk20a_dbg_fn("");
108 g->ops.pmu.reset(g); 108 nvgpu_flcn_reset(g->pmu.flcn);
109 109
110 nvgpu_timeout_init(g, &timeout, 110 nvgpu_timeout_init(g, &timeout,
111 PMU_BOOT_TIMEOUT_MAX / 111 PMU_BOOT_TIMEOUT_MAX /
@@ -187,7 +187,7 @@ static int gm206_bios_preos(struct gk20a *g)
187 struct nvgpu_timeout timeout; 187 struct nvgpu_timeout timeout;
188 188
189 gk20a_dbg_fn(""); 189 gk20a_dbg_fn("");
190 g->ops.pmu.reset(g); 190 nvgpu_flcn_reset(g->pmu.flcn);
191 191
192 nvgpu_timeout_init(g, &timeout, 192 nvgpu_timeout_init(g, &timeout,
193 PMU_BOOT_TIMEOUT_MAX / 193 PMU_BOOT_TIMEOUT_MAX /