diff options
author | Rafael J. Wysocki <[email protected]> | 2020-12-14 21:09:26 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-12-15 19:24:19 +0100 |
commit | a365ab6b9dfbaf8fb4fb4cd5d8a4c55dc4fb8b1c (patch) | |
tree | 6909d1ae71356b79bbc9f8a1deb6d6b31cb9a166 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ee2cc4276ba4909438f5894a218877660e1536d9 (diff) |
cpufreq: intel_pstate: Implement the ->adjust_perf() callback
Make intel_pstate expose the ->adjust_perf() callback when it
operates in the passive mode with HWP enabled which causes the
schedutil governor to use that callback instead of ->fast_switch().
The minimum and target performance-level values passed by the
governor to ->adjust_perf() are converted to HWP.REQ.MIN and
HWP.REQ.DESIRED, respectively, which allows the processor to
adjust its configuration to maximize energy-efficiency while
providing sufficient capacity.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions