From 45fcf62a2615409681895b885aa9ca3606d43209 Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Thu, 25 Jan 2024 07:03:18 +0000 Subject: [PATCH] Use cam3 EM and adjust settings for 30fps This CL syncs the same EM tuning (ag/25840962) to use cam3 EM and change CPU UtilThreshold, DVFSHeadroom, TAPreferHighCap for 30fps use-cases. Bug: 322280826 Test: Build pass and power impact verification Change-Id: Id71ea590b0eccecb747420987c718b72d91b269a --- powerhint-comet.json | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index fa6e141..36cc666 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -237,7 +237,8 @@ "Path": "/proc/vendor_sched/util_threshold", "Values": [ "1280", - "1100" + "1100", + "1100 1024 1100" ], "DefaultIndex": 0, "ResetOnInit": true @@ -247,7 +248,8 @@ "Path": "/proc/vendor_sched/dvfs_headroom", "Values": [ "1280", - "1100" + "1100", + "1280 1100 1055" ], "DefaultIndex": 0, "ResetOnInit": true @@ -623,7 +625,8 @@ "Values": [ "default", "cam1", - "cam2" + "cam2", + "cam3" ], "DefaultIndex": 0 }, @@ -1851,7 +1854,19 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", "Duration": 0, - "Value": "cam1" + "Value": "cam3" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1100 1024 1100" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUDVFSHeadroom", + "Duration": 0, + "Value": "1280 1100 1055" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1869,7 +1884,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "TAPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD",