diff options
author | Xi Pardee <xi.pardee@intel.com> | 2023-11-29 14:21:23 -0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-12-04 14:53:43 +0100 |
commit | 2e35e3aa9f10ea430468207c3dd9dc33ba1afc33 (patch) | |
tree | 0f2882f2fc74792cf14a97bdf0f68cbf381fa728 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 416eeb2e1fc7b60ab0c7ced26ab966dd7733357d (diff) |
platform/x86:intel/pmc: Call pmc_get_low_power_modes from platform init
In order to setup a table of low power mode requirements for Meteor Lake,
pmc_core_get_low_power_modes() will need to be run from platform init code
so that the enabled modes are known, allowing the use of the
pmc_for_each_mode helper. Make the function global and call it from the
platform init code.
Signed-off-by: Xi Pardee <xi.pardee@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129222132.2331261-12-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions