From 57cae401334d311fc291efc4a75aa498fc31472a Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Fri, 19 Apr 2024 06:47:26 +0000 Subject: [PATCH] Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD SPC threshold is too low for both Little and Mid cores. This CL increases this threshold to 55 for Little Core and to 30 for Mid core. Test results show lower framedrop rate in presence of background load, without having a negative impact on the power. Refer to ag/26943567 Bug: 335776541 Test: Build pass Change-Id: I39d442f95215a7e72d093fd101fb4cc71840ba3d --- powerhint-comet.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index b55f05c..c1b022c 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -623,6 +623,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ "70", + "55", "42", "35", "30", @@ -1965,7 +1966,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "42" + "Value": "55" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1983,7 +1984,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_STANDARD",