Skip to content
Commit e3af7dcf authored by Srinivas Rao L's avatar Srinivas Rao L Committed by Maulik Shah
Browse files

lpm-levels: Enter shallowest state if predicted sleep length is less



If lpm_cpuidle_predict returns the prediction value less than the
minimum residency of shallowest mode, then this case was considered
as not predicted. This allows core to enter into deeper states.
Instead in this case, use the minimum residency of the shallowest
state as the predicted sleep length.

Change-Id: Ib5bd1779e305262aef018f82f57d30ec22162b5b
Signed-off-by: default avatarSrinivas Rao L <lsrao@codeaurora.org>
Signed-off-by: default avatarNaresh Malladi <namall@codeaurora.org>
parent 4d9a308b
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