diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h index de519bf6..488558fe 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | |||
@@ -1049,6 +1049,8 @@ struct pmu_gk20a { | |||
1049 | struct pmu_cmdline_args_v0 args_v0; | 1049 | struct pmu_cmdline_args_v0 args_v0; |
1050 | struct pmu_cmdline_args_v1 args_v1; | 1050 | struct pmu_cmdline_args_v1 args_v1; |
1051 | }; | 1051 | }; |
1052 | unsigned long perfmon_events_cnt; | ||
1053 | bool perfmon_sampling_enabled; | ||
1052 | }; | 1054 | }; |
1053 | 1055 | ||
1054 | struct gk20a_pmu_save_state { | 1056 | struct gk20a_pmu_save_state { |
@@ -1064,6 +1066,8 @@ struct gk20a_pmu_save_state { | |||
1064 | wait_queue_head_t pg_wq; | 1066 | wait_queue_head_t pg_wq; |
1065 | bool sw_ready; | 1067 | bool sw_ready; |
1066 | struct work_struct pg_init; | 1068 | struct work_struct pg_init; |
1069 | unsigned long perfmon_events_cnt; | ||
1070 | bool perfmon_sampling_enabled; | ||
1067 | }; | 1071 | }; |
1068 | 1072 | ||
1069 | int gk20a_init_pmu_support(struct gk20a *g); | 1073 | int gk20a_init_pmu_support(struct gk20a *g); |