summaryrefslogtreecommitdiff
path: root/power/power.c
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-09-17 14:28:16 -0700
committerTim Murray <timmurray@google.com>2015-09-17 14:31:02 -0700
commitfae3e9b667bb839e54d6b4ab26b2efe732fb9eee (patch)
treee1e267a96e24f3c0a22b4393170d09696392f651 /power/power.c
parent30cef21fe0cfd1aa00403abfc8bd2654e9d56e9e (diff)
downloadangler-fae3e9b667bb839e54d6b4ab26b2efe732fb9eee.tar.gz
extend little core freq boost during fling
bug 24059298 Change-Id: I283daa015ebc0bdb77652c9ea2a1018caa2e9003
Diffstat (limited to 'power/power.c')
-rw-r--r--power/power.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/power/power.c b/power/power.c
index d6f3b20..fab7458 100644
--- a/power/power.c
+++ b/power/power.c
@@ -230,12 +230,15 @@ static void power_hint(struct power_module *module, power_hint_t hint,
if (data) {
// modify downmigrate duration based on interaction data hint
// 1000 <= duration_downmigrate <= 5000
+ // extend little core freq bump past downmigrate to soften downmigrates
int duration_hint = *((int*)data);
if (duration_hint > 1000) {
if (duration_hint < 5000) {
duration_downmigrate = duration_hint;
+ duration = duration_hint + 750;
} else {
duration_downmigrate = 5000;
+ duration = 5750;
}
}
}