diff options
author | 2025-05-06 22:41:21 +0200 | |
---|---|---|
committer | 2025-05-13 14:34:18 +0200 | |
commit | 4a6b1cf0d4c02d6da2976c6314c264d20672937e (patch) | |
tree | b19acfc7956949665e122e45282ff376bdd41bee /scripts/lib/kdoc/kdoc_output.py | |
parent | PM: EM: Move CPU capacity check to em_adjust_new_capacity() (diff) | |
download | linux-rng-4a6b1cf0d4c02d6da2976c6314c264d20672937e.tar.xz linux-rng-4a6b1cf0d4c02d6da2976c6314c264d20672937e.zip |
PM: EM: Introduce em_adjust_cpu_capacity()
Add a function for updating the Energy Model for a CPU after its
capacity has changed, which subsequently will be used by the
intel_pstate driver.
An EM_PERF_DOMAIN_ARTIFICIAL check is added to em_recalc_and_update()
to prevent it from calling em_compute_costs() for an "artificial" perf
domain with a NULL cb parameter which would cause it to crash.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://patch.msgid.link/3637203.iIbC2pHGDl@rjwysocki.net
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions