Skip to content
Commit 00e592ff authored by Douglas Raillard's avatar Douglas Raillard
Browse files

sched/cpufreq: Hook em_pd_get_higher_power() into get_next_freq()



Choose the highest OPP for a given energy cost, allowing to skip lower
frequencies that would not be cheaper in terms of consumed power. These
frequencies can still be interesting to keep in the energy model to give
more freedom to thermal throttling, but should not be selected under
normal circumstances.

This also prepares the ground for energy-aware frequency boosting.

Signed-off-by: Douglas Raillard's avatarDouglas RAILLARD <douglas.raillard@arm.com>
parent ca1183cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment