summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-12-14 21:09:26 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-12-15 19:24:19 +0100
commita365ab6b9dfbaf8fb4fb4cd5d8a4c55dc4fb8b1c (patch)
tree6909d1ae71356b79bbc9f8a1deb6d6b31cb9a166 /fs/xfs/libxfs
parentcpufreq: Add special-purpose fast-switching callback for drivers (diff)
downloadlinux-a365ab6b9dfbaf8fb4fb4cd5d8a4c55dc4fb8b1c.tar.xz
linux-a365ab6b9dfbaf8fb4fb4cd5d8a4c55dc4fb8b1c.zip
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 <rafael.j.wysocki@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions