diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h index bfb6f117..78652bcb 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | |||
@@ -615,6 +615,10 @@ struct pmu_pg_stats { | |||
615 | #define PMU_PG_IDLE_THRESHOLD 15000 | 615 | #define PMU_PG_IDLE_THRESHOLD 15000 |
616 | #define PMU_PG_POST_POWERUP_IDLE_THRESHOLD 1000000 | 616 | #define PMU_PG_POST_POWERUP_IDLE_THRESHOLD 1000000 |
617 | 617 | ||
618 | #define PMU_PG_ELPG_ENGINE_ID_GRAPHICS (0x00000000) | ||
619 | #define PMU_PG_ELPG_ENGINE_ID_MS (0x00000004) | ||
620 | #define PMU_PG_ELPG_ENGINE_ID_INVALID_ENGINE (0x00000005) | ||
621 | |||
618 | /* state transition : | 622 | /* state transition : |
619 | OFF => [OFF_ON_PENDING optional] => ON_PENDING => ON => OFF | 623 | OFF => [OFF_ON_PENDING optional] => ON_PENDING => ON => OFF |
620 | ON => OFF is always synchronized */ | 624 | ON => OFF is always synchronized */ |
@@ -771,6 +775,9 @@ int gk20a_pmu_cmd_post(struct gk20a *g, struct pmu_cmd *cmd, struct pmu_msg *msg | |||
771 | int gk20a_pmu_enable_elpg(struct gk20a *g); | 775 | int gk20a_pmu_enable_elpg(struct gk20a *g); |
772 | int gk20a_pmu_disable_elpg(struct gk20a *g); | 776 | int gk20a_pmu_disable_elpg(struct gk20a *g); |
773 | 777 | ||
778 | u32 gk20a_pmu_pg_engines_list(struct gk20a *g); | ||
779 | u32 gk20a_pmu_pg_feature_list(struct gk20a *g, u32 pg_engine_id); | ||
780 | |||
774 | void gk20a_pmu_save_zbc(struct gk20a *g, u32 entries); | 781 | void gk20a_pmu_save_zbc(struct gk20a *g, u32 entries); |
775 | 782 | ||
776 | int gk20a_pmu_perfmon_enable(struct gk20a *g, bool enable); | 783 | int gk20a_pmu_perfmon_enable(struct gk20a *g, bool enable); |