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

Commit 47d813fc authored by Samer Xie's avatar Samer Xie Committed by Quentin Perret
Browse files

ANDROID: sched/fair: fix energy compute when a cluster is only a cpu core in multi-cluster system



when a cluster is only a cpu core in multi-cluster system, compute_energy will only
compute cpu core power(MC domain),but the power consumed by the DIE domain is not
computed.

fix the bug,end compute energy in DIE domain.

Bug: 120440300
Change-Id: I9d3ae6eb3dcb384fba164cf6072b85318bdc5e68
Signed-off-by: default avatarSamer Xie <samer.xie@unisoc.com>
(cherry picked from commit cfbe30be85c4eb6743fd6eb05dcbf8cb1a3e1d0a
 https://android.googlesource.com/kernel/common

 android-4.14)
(fixed trivial cherry-pick conflict caused by sched_group_span() being
 called sched_group_cpus() in 4.9)
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 26fad52f
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