From efae9635e181ba71006d06cd0d33427ccfff4187 Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Fri, 24 May 2024 03:46:57 +0000 Subject: [PATCH] Increase SPC thresholds for 60fps This CL increase SPC threshold for little core to 55, and for mid core to 32. Tests show that in a loaded scenario, framedrop rate can reduce to almost zero, while not impacting the power in the unloaded (baseline) scenario. Refer to ag/27032799 and ag/27078536 Bug: 342502377 Test: Build pass Change-Id: I9c50b58483cb5262c3550cb45907cbe522eb4e5a --- perf/powerhint-tegu.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index 2c83032..ef2adc6 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -711,6 +711,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ "50", + "32", "30", "20", "18" @@ -1811,7 +1812,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "35" + "Value": "55" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1823,7 +1824,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "32" }, { "PowerHint": "CAMERA_STREAMING_HIGH",