diff options
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/acpi.h b/src/soc/intel/common/block/include/intelblocks/acpi.h index d058a5db6b..cd3a309c21 100644 --- a/src/soc/intel/common/block/include/intelblocks/acpi.h +++ b/src/soc/intel/common/block/include/intelblocks/acpi.h @@ -63,4 +63,9 @@ void generate_t_state_entries(int core, int cores_per_package); */ void soc_power_states_generation(int core_id, int cores_per_package); +/* + * Common function to calculate the power ratio for power state generation + */ +int common_calculate_power_ratio(int tdp, int p1_ratio, int ratio); + #endif /* _SOC_INTEL_COMMON_BLOCK_ACPI_H_ */ |