diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2025-01-23 13:14:20 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-02-07 09:45:16 +0530 |
commit | e8b08af135b7686640ebb2dc1eaa060e42a41af6 (patch) | |
tree | 64db4300a9c7a03f793960f06a97ef28502b72b2 /scripts/gdb/linux/pgtable.py | |
parent | 707e222314ff9468c4a507ab38c02d190bd5fbac (diff) |
cpufreq: qcom: Set .set_boost directly
The boost feature can be controlled at two levels currently, driver
level (applies to all policies) and per-policy.
Currently the driver enables driver level boost support from the
per-policy ->init() callback, which isn't really efficient as that gets
called for each policy and then there is online/offline path too where
this gets done unnecessarily.
Instead set the .set_boost field directly and always enable the boost
support. If a policy doesn't support boost feature, the core will not
enable it for that policy.
Keep the initial state of driver level boost to disabled and let the
user enable it if required as ideally the boost frequencies must be used
only when really required.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions