Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac81ea3e authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Lee Jones
Browse files

BACKPORT: PM: EM: Fix inefficient states detection



Currently, a debug message is printed if an inefficient state is detected
in the Energy Model. Unfortunately, it won't detect if the first state is
inefficient or if two successive states are. Fix this behavior.

Bug: 254441685
Fixes: 27871f7a8a34 (PM: Introduce an Energy Model management framework)
Signed-off-by: default avatarVincent Donnefort <vincent.donnefort@arm.com>
Reviewed-by: default avatarQuentin Perret <qperret@google.com>
Reviewed-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit aa1a43262ad5df010768f69530fa179ff81651d3)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Id3a8431065a504be40ab009cae3cc105fa6a6ae6
parent 097a5031
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment