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/gm20b | |
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/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index db3974bb..ed144c0f 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -1286,7 +1286,7 @@ int gm20b_init_nspmu_setup_hw1(struct gk20a *g) | |||
1286 | gk20a_dbg_fn(""); | 1286 | gk20a_dbg_fn(""); |
1287 | 1287 | ||
1288 | nvgpu_mutex_acquire(&pmu->isr_mutex); | 1288 | nvgpu_mutex_acquire(&pmu->isr_mutex); |
1289 | pmu_reset(pmu); | 1289 | g->ops.pmu.reset(g); |
1290 | pmu->isr_enabled = true; | 1290 | pmu->isr_enabled = true; |
1291 | nvgpu_mutex_release(&pmu->isr_mutex); | 1291 | nvgpu_mutex_release(&pmu->isr_mutex); |
1292 | 1292 | ||