diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 2d09c0bb..e3c2397c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <nvgpu/gmmu.h> | 34 | #include <nvgpu/gmmu.h> |
35 | #include <nvgpu/ltc.h> | 35 | #include <nvgpu/ltc.h> |
36 | #include <nvgpu/vidmem.h> | 36 | #include <nvgpu/vidmem.h> |
37 | #include <nvgpu/mm.h> | ||
37 | 38 | ||
38 | #include <trace/events/gk20a.h> | 39 | #include <trace/events/gk20a.h> |
39 | 40 | ||
@@ -107,7 +108,7 @@ int gk20a_prepare_poweroff(struct gk20a *g) | |||
107 | ret |= nvgpu_pmu_destroy(g); | 108 | ret |= nvgpu_pmu_destroy(g); |
108 | 109 | ||
109 | ret |= gk20a_gr_suspend(g); | 110 | ret |= gk20a_gr_suspend(g); |
110 | ret |= gk20a_mm_suspend(g); | 111 | ret |= nvgpu_mm_suspend(g); |
111 | ret |= gk20a_fifo_suspend(g); | 112 | ret |= gk20a_fifo_suspend(g); |
112 | 113 | ||
113 | gk20a_ce_suspend(g); | 114 | gk20a_ce_suspend(g); |
@@ -213,7 +214,7 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
213 | goto done; | 214 | goto done; |
214 | } | 215 | } |
215 | 216 | ||
216 | err = gk20a_init_mm_support(g); | 217 | err = nvgpu_init_mm_support(g); |
217 | if (err) { | 218 | if (err) { |
218 | nvgpu_err(g, "failed to init gk20a mm"); | 219 | nvgpu_err(g, "failed to init gk20a mm"); |
219 | goto done; | 220 | goto done; |
@@ -314,7 +315,7 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
314 | 315 | ||
315 | gk20a_init_ce_support(g); | 316 | gk20a_init_ce_support(g); |
316 | 317 | ||
317 | gk20a_init_mm_ce_context(g); | 318 | nvgpu_init_mm_ce_context(g); |
318 | 319 | ||
319 | if (g->ops.xve.available_speeds) { | 320 | if (g->ops.xve.available_speeds) { |
320 | u32 speed; | 321 | u32 speed; |