diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h index 1c29b380..1d2e20e6 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | |||
@@ -57,12 +57,6 @@ struct nvgpu_firmware; | |||
57 | #define PMU_PGENG_GR_BUFFER_IDX_ZBC (1) | 57 | #define PMU_PGENG_GR_BUFFER_IDX_ZBC (1) |
58 | #define PMU_PGENG_GR_BUFFER_IDX_FECS (2) | 58 | #define PMU_PGENG_GR_BUFFER_IDX_FECS (2) |
59 | 59 | ||
60 | struct pmu_surface { | ||
61 | struct nvgpu_mem vidmem_desc; | ||
62 | struct nvgpu_mem sysmem_desc; | ||
63 | struct flcn_mem_desc_v0 params; | ||
64 | }; | ||
65 | |||
66 | #define PMU_PG_IDLE_THRESHOLD_SIM 1000 | 60 | #define PMU_PG_IDLE_THRESHOLD_SIM 1000 |
67 | #define PMU_PG_POST_POWERUP_IDLE_THRESHOLD_SIM 4000000 | 61 | #define PMU_PG_POST_POWERUP_IDLE_THRESHOLD_SIM 4000000 |
68 | /* TBD: QT or else ? */ | 62 | /* TBD: QT or else ? */ |
@@ -154,13 +148,6 @@ int gk20a_pmu_reset(struct gk20a *g); | |||
154 | int pmu_idle(struct nvgpu_pmu *pmu); | 148 | int pmu_idle(struct nvgpu_pmu *pmu); |
155 | int pmu_enable_hw(struct nvgpu_pmu *pmu, bool enable); | 149 | int pmu_enable_hw(struct nvgpu_pmu *pmu, bool enable); |
156 | 150 | ||
157 | void gk20a_pmu_surface_free(struct gk20a *g, struct nvgpu_mem *mem); | ||
158 | void gk20a_pmu_surface_describe(struct gk20a *g, struct nvgpu_mem *mem, | ||
159 | struct flcn_mem_desc_v0 *fb); | ||
160 | int gk20a_pmu_vidmem_surface_alloc(struct gk20a *g, struct nvgpu_mem *mem, | ||
161 | u32 size); | ||
162 | int gk20a_pmu_sysmem_surface_alloc(struct gk20a *g, struct nvgpu_mem *mem, | ||
163 | u32 size); | ||
164 | bool nvgpu_find_hex_in_string(char *strings, struct gk20a *g, u32 *hex_pos); | 151 | bool nvgpu_find_hex_in_string(char *strings, struct gk20a *g, u32 *hex_pos); |
165 | 152 | ||
166 | int nvgpu_pmu_perfmon_start_sampling(struct nvgpu_pmu *pmu); | 153 | int nvgpu_pmu_perfmon_start_sampling(struct nvgpu_pmu *pmu); |