diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmu.h | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmu.h index 0fcc5710..687e00ae 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmu.h | |||
@@ -314,6 +314,7 @@ struct nvgpu_pmu { | |||
314 | struct pmu_cmdline_args_v3 args_v3; | 314 | struct pmu_cmdline_args_v3 args_v3; |
315 | struct pmu_cmdline_args_v4 args_v4; | 315 | struct pmu_cmdline_args_v4 args_v4; |
316 | struct pmu_cmdline_args_v5 args_v5; | 316 | struct pmu_cmdline_args_v5 args_v5; |
317 | struct pmu_cmdline_args_v6 args_v6; | ||
317 | }; | 318 | }; |
318 | unsigned long perfmon_events_cnt; | 319 | unsigned long perfmon_events_cnt; |
319 | bool perfmon_sampling_enabled; | 320 | bool perfmon_sampling_enabled; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h index 6df92c1d..a8897034 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h | |||
@@ -77,6 +77,17 @@ struct pmu_cmdline_args_v5 { | |||
77 | u32 dummy; | 77 | u32 dummy; |
78 | }; | 78 | }; |
79 | 79 | ||
80 | struct pmu_cmdline_args_v6 { | ||
81 | u32 cpu_freq_hz; | ||
82 | struct flcn_mem_desc_v0 trace_buf; | ||
83 | u8 secure_mode; | ||
84 | u8 raise_priv_sec; | ||
85 | struct flcn_mem_desc_v0 gc6_ctx; | ||
86 | struct flcn_mem_desc_v0 gc6_bsod_ctx; | ||
87 | struct flcn_mem_desc_v0 init_data_dma_info; | ||
88 | u32 dummy; | ||
89 | }; | ||
90 | |||
80 | /* GPU ID */ | 91 | /* GPU ID */ |
81 | #define PMU_SHA1_GID_SIGNATURE 0xA7C66AD2 | 92 | #define PMU_SHA1_GID_SIGNATURE 0xA7C66AD2 |
82 | #define PMU_SHA1_GID_SIGNATURE_SIZE 4 | 93 | #define PMU_SHA1_GID_SIGNATURE_SIZE 4 |