Skip to content
Commit 10b23c95 authored by Pierre Gondois's avatar Pierre Gondois
Browse files

PM: EM: Don't search matching freq. in em_update_performance_limits()



The CPPC cpufreq drivers relies on a abstract continuous scale of
performance levels. All performance level can be requested between
the min/max values.
The CPPC cpufreq drivers can also create an artificial Energy Model
(EM). OPP frequencies being artificial, they don't necessarily have
a matching hardware frequency.

Relax the condition in em_update_performance_limits() searching
for an exact match. Use the closest frequency satisfying the min/max
request instead.

Signed-off-by: Pierre Gondois's avatarPierre Gondois <pierre.gondois@arm.com>
parent 0251badc
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