diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/gk20a.h | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h index fa31d0e1..a7fe1c2f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h | |||
@@ -330,6 +330,10 @@ struct gpu_ops { | |||
330 | u64 gpu_va, | 330 | u64 gpu_va, |
331 | u32 mode); | 331 | u32 mode); |
332 | void (*init_hwpm_pmm_register)(struct gk20a *g); | 332 | void (*init_hwpm_pmm_register)(struct gk20a *g); |
333 | void (*get_num_hwpm_perfmon)(struct gk20a *g, u32 *num_sys_perfmon, | ||
334 | u32 *num_fbp_perfmon, u32 *num_gpc_perfmon); | ||
335 | void (*set_pmm_register)(struct gk20a *g, u32 offset, u32 val, | ||
336 | u32 num_chiplets, u32 num_perfmons); | ||
333 | int (*dump_gr_regs)(struct gk20a *g, | 337 | int (*dump_gr_regs)(struct gk20a *g, |
334 | struct gk20a_debug_output *o); | 338 | struct gk20a_debug_output *o); |
335 | int (*update_pc_sampling)(struct channel_gk20a *ch, | 339 | int (*update_pc_sampling)(struct channel_gk20a *ch, |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h index a7ba460e..40107ee8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h | |||
@@ -60,6 +60,10 @@ static inline u32 perf_pmmgpc_perdomain_offset_v(void) | |||
60 | { | 60 | { |
61 | return 0x00000200U; | 61 | return 0x00000200U; |
62 | } | 62 | } |
63 | static inline u32 perf_pmmsys_perdomain_offset_v(void) | ||
64 | { | ||
65 | return 0x00000200U; | ||
66 | } | ||
63 | static inline u32 perf_pmmgpc_base_v(void) | 67 | static inline u32 perf_pmmgpc_base_v(void) |
64 | { | 68 | { |
65 | return 0x00180000U; | 69 | return 0x00180000U; |