diff options
| author | Ryan Brue <ryanbrue.dev@gmail.com> | 2026-10-09 14:44:43 -0500 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-10-12 09:48:39 +0530 |
| commit | a4b90518dd01f85e1e4bf7e9361396b2eded1f7e (patch) | |
| tree | 4693a049869d0757d7833c8000b43e682d962cf9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6fa50b1988b8dfd2e92a9cecba073fe4347a5e23 (diff) | |
cpufreq: mediatek: Enter system sleep at the suspend OPP
cpufreq_suspend() stops the governors at the start of system suspend, and
this driver has no .suspend callback, so each cluster sleeps at whatever
OPP it was last left at. On an MT8173 tablet (Amazon Fire HD 10, 2017),
entering suspend-to-RAM with both clusters at their highest OPP measured
63.5 mA. With this change and the lowest OPP marked, the same entry
measured 52.0 mA.
Use the generic suspend-frequency support, as cpufreq-dt does. Tables
without an opp-suspend entry leave suspend_freq at 0, which makes
cpufreq_generic_suspend() a no-op, so they are unaffected.
Assisted-by: LLM
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
