diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2023-12-11 11:48:54 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-12-23 15:52:36 +0100 |
commit | 5477fa249b56c59c3baa1b237bf083cffa64c84a (patch) | |
tree | 5b119f1a832267a69a9539d4afdda64fc407836d /kernel/sched/features.h | |
parent | cpufreq/cppc: Move and rename cppc_cpufreq_{perf_to_khz|khz_to_perf}() (diff) | |
download | linux-5477fa249b56c59c3baa1b237bf083cffa64c84a.tar.xz linux-5477fa249b56c59c3baa1b237bf083cffa64c84a.zip |
cpufreq/cppc: Set the frequency used for computing the capacity
Save the frequency associated to the performance that has been used when
initializing the capacity of CPUs.
Also, cppc cpufreq driver can register an artificial energy model. In such
case, it needs the frequency for this compute capacity.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20231211104855.558096-7-vincent.guittot@linaro.org
Diffstat (limited to 'kernel/sched/features.h')
0 files changed, 0 insertions, 0 deletions