From 74181341d6a86c78a66f82889b4550a45c30360c Mon Sep 17 00:00:00 2001 From: Mao Lee Date: Thu, 10 Aug 2023 05:05:29 +0000 Subject: [PATCH] Relax PMU capping during CAMERA_ZOOMING_BOOST Synchoronize the perf solution ag/24210040 and ag/24345330 from previous projects to enhance the camera performance by relaxing the PMU capping which is achieved by setting PMU_POLL to 0 Bug: 293424867 Test: GCA Change-Id: Id7244c5efe71f5abe1a8afbbd385958d19da42ba --- powerhint-akita.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index 03e7c07..812b0e3 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -288,9 +288,10 @@ "Name": "CDPreferIdle", "Path": "/proc/vendor_sched/cam_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -1194,6 +1195,18 @@ "Duration": 1000, "Value": "664000" }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_POLL", + "Duration": 100, + "Value": "0" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "TAPreferHighCap",