diff options
| author | Rafael J. Wysocki <[email protected]> | 2025-05-06 20:41:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-13 12:34:18 +0000 |
| commit | 4a6b1cf0d4c02d6da2976c6314c264d20672937e (patch) | |
| tree | b19acfc7956949665e122e45282ff376bdd41bee /rust/helpers/clk.c | |
| parent | PM: EM: Move CPU capacity check to em_adjust_new_capacity() (diff) | |
| download | kernel-4a6b1cf0d4c02d6da2976c6314c264d20672937e.tar.gz kernel-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 <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Tested-by: Christian Loehle <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/clk.c')
0 files changed, 0 insertions, 0 deletions
