diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/pmu_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c index d20b9c1a..35719dff 100644 --- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <nvgpu/pmu.h> | 21 | #include <nvgpu/pmu.h> |
22 | #include <nvgpu/falcon.h> | 22 | #include <nvgpu/falcon.h> |
23 | #include <nvgpu/enabled.h> | ||
23 | 24 | ||
24 | #include "gk20a/gk20a.h" | 25 | #include "gk20a/gk20a.h" |
25 | 26 | ||
@@ -234,9 +235,11 @@ static int gv11b_pg_set_subfeature_mask(struct gk20a *g, u32 pg_engine_id) | |||
234 | return 0; | 235 | return 0; |
235 | } | 236 | } |
236 | 237 | ||
237 | void gv11b_init_pmu_ops(struct gpu_ops *gops) | 238 | void gv11b_init_pmu_ops(struct gk20a *g) |
238 | { | 239 | { |
239 | gp10b_init_pmu_ops(gops); | 240 | struct gpu_ops *gops = &g->ops; |
241 | |||
242 | gp10b_init_pmu_ops(g); | ||
240 | gops->pmu.pmu_nsbootstrap = gv11b_pmu_bootstrap; | 243 | gops->pmu.pmu_nsbootstrap = gv11b_pmu_bootstrap; |
241 | gops->pmu.is_pmu_supported = gv11b_is_pmu_supported; | 244 | gops->pmu.is_pmu_supported = gv11b_is_pmu_supported; |
242 | gops->pmu.reset_engine = gp106_pmu_engine_reset; | 245 | gops->pmu.reset_engine = gp106_pmu_engine_reset; |