summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/pmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/pmu.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmu.h10
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 */
394int nvgpu_pmu_init_perfmon(struct nvgpu_pmu *pmu); 394int nvgpu_pmu_init_perfmon(struct nvgpu_pmu *pmu);
395int nvgpu_pmu_perfmon_start_sampling(struct nvgpu_pmu *pmu);
396int nvgpu_pmu_perfmon_stop_sampling(struct nvgpu_pmu *pmu);
395int nvgpu_pmu_handle_perfmon_event(struct nvgpu_pmu *pmu, 397int nvgpu_pmu_handle_perfmon_event(struct nvgpu_pmu *pmu,
396 struct pmu_perfmon_msg *msg); 398 struct pmu_perfmon_msg *msg);
399int nvgpu_pmu_load_norm(struct gk20a *g, u32 *load);
400int nvgpu_pmu_load_update(struct gk20a *g);
401void nvgpu_pmu_reset_load_counters(struct gk20a *g);
402void nvgpu_pmu_get_load_counters(struct gk20a *g, u32 *busy_cycles,
403 u32 *total_cycles);
404
397int nvgpu_pmu_handle_therm_event(struct nvgpu_pmu *pmu, 405int 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