diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu/pmu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/pmu/pmu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu.c b/drivers/gpu/nvgpu/common/pmu/pmu.c index 86e56d9e..0395e463 100644 --- a/drivers/gpu/nvgpu/common/pmu/pmu.c +++ b/drivers/gpu/nvgpu/common/pmu/pmu.c | |||
@@ -81,7 +81,7 @@ static int pmu_enable(struct nvgpu_pmu *pmu, bool enable) | |||
81 | 81 | ||
82 | if (!enable) { | 82 | if (!enable) { |
83 | if (!g->ops.pmu.is_engine_in_reset(g)) { | 83 | if (!g->ops.pmu.is_engine_in_reset(g)) { |
84 | pmu_enable_irq(pmu, false); | 84 | g->ops.pmu.pmu_enable_irq(pmu, false); |
85 | pmu_enable_hw(pmu, false); | 85 | pmu_enable_hw(pmu, false); |
86 | } | 86 | } |
87 | } else { | 87 | } else { |
@@ -95,7 +95,7 @@ static int pmu_enable(struct nvgpu_pmu *pmu, bool enable) | |||
95 | goto exit; | 95 | goto exit; |
96 | } | 96 | } |
97 | 97 | ||
98 | pmu_enable_irq(pmu, true); | 98 | g->ops.pmu.pmu_enable_irq(pmu, true); |
99 | } | 99 | } |
100 | 100 | ||
101 | exit: | 101 | exit: |
@@ -412,7 +412,7 @@ static void pmu_setup_hw_enable_elpg(struct gk20a *g) | |||
412 | if (nvgpu_is_enabled(g, NVGPU_PMU_ZBC_SAVE)) { | 412 | if (nvgpu_is_enabled(g, NVGPU_PMU_ZBC_SAVE)) { |
413 | /* Save zbc table after PMU is initialized. */ | 413 | /* Save zbc table after PMU is initialized. */ |
414 | pmu->zbc_ready = true; | 414 | pmu->zbc_ready = true; |
415 | gk20a_pmu_save_zbc(g, 0xf); | 415 | g->ops.gr.pmu_save_zbc(g, 0xf); |
416 | } | 416 | } |
417 | 417 | ||
418 | if (g->elpg_enabled) { | 418 | if (g->elpg_enabled) { |