diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index b038cd81..8624d601 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <nvgpu/timers.h> | 24 | #include <nvgpu/timers.h> |
25 | #include <nvgpu/soc.h> | 25 | #include <nvgpu/soc.h> |
26 | #include <nvgpu/enabled.h> | 26 | #include <nvgpu/enabled.h> |
27 | #include <nvgpu/pmu.h> | ||
27 | 28 | ||
28 | #include <trace/events/gk20a.h> | 29 | #include <trace/events/gk20a.h> |
29 | 30 | ||
@@ -130,7 +131,7 @@ int gk20a_prepare_poweroff(struct gk20a *g) | |||
130 | 131 | ||
131 | /* disable elpg before gr or fifo suspend */ | 132 | /* disable elpg before gr or fifo suspend */ |
132 | if (g->ops.pmu.is_pmu_supported(g)) | 133 | if (g->ops.pmu.is_pmu_supported(g)) |
133 | ret |= gk20a_pmu_destroy(g); | 134 | ret |= nvgpu_pmu_destroy(g); |
134 | 135 | ||
135 | ret |= gk20a_gr_suspend(g); | 136 | ret |= gk20a_gr_suspend(g); |
136 | ret |= gk20a_mm_suspend(g); | 137 | ret |= gk20a_mm_suspend(g); |
@@ -259,7 +260,7 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
259 | #endif | 260 | #endif |
260 | 261 | ||
261 | if (g->ops.pmu.is_pmu_supported(g)) { | 262 | if (g->ops.pmu.is_pmu_supported(g)) { |
262 | err = gk20a_init_pmu_support(g); | 263 | err = nvgpu_init_pmu_support(g); |
263 | if (err) { | 264 | if (err) { |
264 | nvgpu_err(g, "failed to init gk20a pmu"); | 265 | nvgpu_err(g, "failed to init gk20a pmu"); |
265 | goto done; | 266 | goto done; |