summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
diff options
context:
space:
mode:
authorDeepak Goyal <dgoyal@nvidia.com>2017-02-13 04:30:00 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-02-24 00:33:33 -0500
commitd6e40fc07a5d6386d759111f957c7a5e0605500e (patch)
treee5cafc11e3f991aeeea62baf223e8baa7f84f071 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
parent9c68af58a9d2542e33ced54bdabc35b18f589475 (diff)
nvgpu: gpu: pmu: Use pmu ops to call pmu_reset().
In this patch hard coded function calls for PMU reset are replaced by PMU ops. Change-Id: I266c43e3540163a133895244dcf91169116812f5 Signed-off-by: Deepak Goyal <dgoyal@nvidia.com> Reviewed-on: http://git-master/r/1303757 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 4ea9b911..a5664a0e 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -3246,7 +3246,7 @@ static int gk20a_init_pmu_setup_hw1(struct gk20a *g)
3246 gk20a_dbg_fn(""); 3246 gk20a_dbg_fn("");
3247 3247
3248 nvgpu_mutex_acquire(&pmu->isr_mutex); 3248 nvgpu_mutex_acquire(&pmu->isr_mutex);
3249 pmu_reset(pmu); 3249 g->ops.pmu.reset(g);
3250 pmu->isr_enabled = true; 3250 pmu->isr_enabled = true;
3251 nvgpu_mutex_release(&pmu->isr_mutex); 3251 nvgpu_mutex_release(&pmu->isr_mutex);
3252 3252