mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
CPPC: Probe for CPPC tables for each ACPI Processor object
For each detected ACPI Processor object (ACPI0007), search its device handle for CPPC specific tables (i.e. _CPC) and extract CPU specific performance capabilities. Signed-off-by: Ashwin Chaugule <[email protected]> Reviewed-by: Al Stone <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
56cdc2a05c
commit
4f2f757351
2 changed files with 20 additions and 0 deletions
|
|
@ -311,6 +311,20 @@ phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
|
|||
int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
|
||||
int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id);
|
||||
|
||||
#ifdef CONFIG_ACPI_CPPC_LIB
|
||||
extern int acpi_cppc_processor_probe(struct acpi_processor *pr);
|
||||
extern void acpi_cppc_processor_exit(struct acpi_processor *pr);
|
||||
#else
|
||||
static inline int acpi_cppc_processor_probe(struct acpi_processor *pr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline void acpi_cppc_processor_exit(struct acpi_processor *pr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif /* CONFIG_ACPI_CPPC_LIB */
|
||||
|
||||
/* in processor_pdc.c */
|
||||
void acpi_processor_set_pdc(acpi_handle handle);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue