diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/pmu.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmu.h index c4972f67..ede238a0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmu.h | |||
@@ -392,8 +392,16 @@ int nvgpu_pmu_process_message(struct nvgpu_pmu *pmu); | |||
392 | 392 | ||
393 | /* perfmon */ | 393 | /* perfmon */ |
394 | int nvgpu_pmu_init_perfmon(struct nvgpu_pmu *pmu); | 394 | int nvgpu_pmu_init_perfmon(struct nvgpu_pmu *pmu); |
395 | int nvgpu_pmu_perfmon_start_sampling(struct nvgpu_pmu *pmu); | ||
396 | int nvgpu_pmu_perfmon_stop_sampling(struct nvgpu_pmu *pmu); | ||
395 | int nvgpu_pmu_handle_perfmon_event(struct nvgpu_pmu *pmu, | 397 | int nvgpu_pmu_handle_perfmon_event(struct nvgpu_pmu *pmu, |
396 | struct pmu_perfmon_msg *msg); | 398 | struct pmu_perfmon_msg *msg); |
399 | int nvgpu_pmu_load_norm(struct gk20a *g, u32 *load); | ||
400 | int nvgpu_pmu_load_update(struct gk20a *g); | ||
401 | void nvgpu_pmu_reset_load_counters(struct gk20a *g); | ||
402 | void nvgpu_pmu_get_load_counters(struct gk20a *g, u32 *busy_cycles, | ||
403 | u32 *total_cycles); | ||
404 | |||
397 | int nvgpu_pmu_handle_therm_event(struct nvgpu_pmu *pmu, | 405 | int nvgpu_pmu_handle_therm_event(struct nvgpu_pmu *pmu, |
398 | struct nv_pmu_therm_msg *msg); | 406 | struct nv_pmu_therm_msg *msg); |
399 | 407 | ||