summaryrefslogtreecommitdiff
path: root/power/power.c
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-10-05 13:31:51 -0700
committerTim Murray <timmurray@google.com>2015-10-05 13:51:31 -0700
commit7bafe338e7998c7dd9e639f94698909400227c97 (patch)
treed273500ea06008f58f95a6f3b9f6fc3d8e22cca5 /power/power.c
parent7f67479423cf079825a82b88ecbd8024c1cd0adf (diff)
downloadangler-7bafe338e7998c7dd9e639f94698909400227c97.tar.gz
Enable touch boost during camera.
Previously, the video encode hint would hotplug the big cores off while the camera was running in order to improve thermals and power consumption. Instead, have the camera run the big cores at 384MHz so we can still apply POWER_HINT_INTERACTION. This also restricts mm-qcamera-daemon to the small cluster in order to prevent it from being boosted by touch boost. bug 24583227 Change-Id: Ifb32729f4bc47bf71ea868d22589fa37b40a3007
Diffstat (limited to 'power/power.c')
-rw-r--r--power/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/power/power.c b/power/power.c
index da8e9ed..308ea0c 100644
--- a/power/power.c
+++ b/power/power.c
@@ -37,7 +37,7 @@
#include <dlfcn.h>
#include <stdlib.h>
-#define LOG_TAG "QCOM PowerHAL"
+#define LOG_TAG "QCOMPowerHAL"
#include <utils/Log.h>
#include <hardware/hardware.h>
#include <hardware/power.h>
@@ -221,7 +221,7 @@ static void power_hint(struct power_module *module, power_hint_t hint,
static int handle_little = 0;
// big core freq bump for 500ms
- int resources_big[] = {0x1F08};
+ int resources_big[] = {0x2312, 0x1F08};
int duration_big = 500;
static int handle_big = 0;