From 59bddaa0a22795af2bc889d34e5625f99c020050 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Tue, 11 Jul 2023 21:26:19 +0000 Subject: [PATCH] Enable prefer_idle during CAMERA_LAUNCH Test: Launch latency improves for front camera (https://b.corp.google.com/issues/290225016#comment4) Bug: 290225016 Change-Id: Ica1a0af3ecdff7d158cb62644571316283998f31 --- perf/powerhint-husky.json | 6 ++++++ perf/powerhint-ripcurrent.json | 6 ++++++ perf/powerhint-shiba.json | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 4f4e5a0..7998c65 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -1059,6 +1059,12 @@ "Duration": 1000, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CDPreferIdle", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "CAMERA_LAUNCH_EXTENDED", "Node": "CPUBigClusterMaxFreq", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 55edc6f..01a22b7 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -1001,6 +1001,12 @@ "Duration": 1000, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CDPreferIdle", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "CAMERA_LAUNCH_EXTENDED", "Node": "CPUBigClusterMaxFreq", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index af62252..49ef165 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -1059,6 +1059,12 @@ "Duration": 1000, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CDPreferIdle", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "CAMERA_LAUNCH_EXTENDED", "Node": "CPUBigClusterMaxFreq",