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

Skip to content
Commit 9001b8f1 authored by Puja Gupta's avatar Puja Gupta Committed by Todd Kjos
Browse files

ANDROID: sched: Add support for frequency/power energy model



This patch provides support to pass frequency/power values from energy
model instead of capacity/power. It is required to support multiple
speed bin devices i.e. devices which have different max frequency based
on hardware.

User can provide all supported frequencies across all versions of the
device in device tree energy model. Max frequency of the cpu is read
at runtime from OPP driver and the capacity values are populated
using that. Energy model proc file will display cap_states as a tuple of
(capacity, frequency, power), in which frequency will be 0 when not using
frequency energy model.

Change-Id: I25aec1f91aa8f09bcf67f0575792693808847618
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
parent 1f648790
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