diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2017-02-13 04:30:00 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-24 00:33:33 -0500 |
commit | d6e40fc07a5d6386d759111f957c7a5e0605500e (patch) | |
tree | e5cafc11e3f991aeeea62baf223e8baa7f84f071 /drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |
parent | 9c68af58a9d2542e33ced54bdabc35b18f589475 (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/gp10b/pmu_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c index 9c565729..15b12c74 100644 --- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |||
@@ -307,7 +307,7 @@ static int gp10b_init_pmu_setup_hw1(struct gk20a *g) | |||
307 | gk20a_dbg_fn(""); | 307 | gk20a_dbg_fn(""); |
308 | 308 | ||
309 | nvgpu_mutex_acquire(&pmu->isr_mutex); | 309 | nvgpu_mutex_acquire(&pmu->isr_mutex); |
310 | pmu_reset(pmu); | 310 | g->ops.pmu.reset(g); |
311 | pmu->isr_enabled = true; | 311 | pmu->isr_enabled = true; |
312 | nvgpu_mutex_release(&pmu->isr_mutex); | 312 | nvgpu_mutex_release(&pmu->isr_mutex); |
313 | 313 | ||