power: Update hint action for camera hint
Update the hint action of the camera hint to
switch the little/big configuration to 4+0
with the little cores running at 1.2GHz Fmax.
Change-Id: I7398412821b1420321d13e830a46e87241dccce4
diff --git a/power/power-8992.c b/power/power-8992.c
index d217bbb..d84b8d1 100644
--- a/power/power-8992.c
+++ b/power/power-8992.c
@@ -79,12 +79,10 @@
if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
(strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
/* sched and cpufreq params
- * hispeed freq - 768 MHz
- * target load - 90
- * above_hispeed_delay - 40ms
- * sched_small_tsk - 50
+ * A57 - offlines
+ * A53 - 4 cores online at 1.2GHz
*/
- int resource_values[] = {0x2C07, 0x2F5A, 0x2704, 0x4032};
+ int resource_values[] = {0x150C, 0x160C, 0x170C, 0x180C, 0x3DFF};
perform_hint_action(video_encode_metadata.hint_id,
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
diff --git a/power/power-8994.c b/power/power-8994.c
index 9c44c29..ecc82cb 100644
--- a/power/power-8994.c
+++ b/power/power-8994.c
@@ -79,12 +79,10 @@
if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
(strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
/* sched and cpufreq params
- * hispeed freq - 768 MHz
- * target load - 90
- * above_hispeed_delay - 40ms
- * sched_small_tsk - 50
+ * A57 - offlines
+ * A53 - 4 cores online at 1.2GHz
*/
- int resource_values[] = {0x2C07, 0x2F5A, 0x2704, 0x4032};
+ int resource_values[] = {0x150C, 0x160C, 0x170C, 0x180C, 0x3DFF};
perform_hint_action(video_encode_metadata.hint_id,
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));