diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/pmu_gp10b.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c index b5fdf2fd..cd9cd0b0 100644 --- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |||
@@ -249,7 +249,8 @@ int gp10b_pg_gr_init(struct gk20a *g, u32 pg_engine_id) | |||
249 | 249 | ||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | static void gp10b_pmu_elpg_statistics(struct gk20a *g, | 252 | |
253 | void gp10b_pmu_elpg_statistics(struct gk20a *g, | ||
253 | u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt) | 254 | u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt) |
254 | { | 255 | { |
255 | struct pmu_gk20a *pmu = &g->pmu; | 256 | struct pmu_gk20a *pmu = &g->pmu; |
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h index 30245554..ee0158ec 100644 --- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h | |||
@@ -20,5 +20,7 @@ void gp10b_init_pmu_ops(struct gpu_ops *gops); | |||
20 | int gp10b_load_falcon_ucode(struct gk20a *g, u32 falconidmask); | 20 | int gp10b_load_falcon_ucode(struct gk20a *g, u32 falconidmask); |
21 | int gp10b_pg_gr_init(struct gk20a *g, u32 pg_engine_id); | 21 | int gp10b_pg_gr_init(struct gk20a *g, u32 pg_engine_id); |
22 | void gp10b_write_dmatrfbase(struct gk20a *g, u32 addr); | 22 | void gp10b_write_dmatrfbase(struct gk20a *g, u32 addr); |
23 | void gp10b_pmu_elpg_statistics(struct gk20a *g, | ||
24 | u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt); | ||
23 | 25 | ||
24 | #endif /*__PMU_GP10B_H_*/ | 26 | #endif /*__PMU_GP10B_H_*/ |