From 2b3e8f340a0dd5272c4f325ca86ba92f0f15d19d Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Wed, 24 Apr 2024 04:44:02 +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 Bug: 335719478 Test: Build pass Change-Id: I0f5926ec9ce9188c462455dfcad25f4e8d5f761f --- powerhint-comet.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 74e136e..3a6e767 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -646,6 +646,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ "50", + "32", "30", "20", "18" @@ -1908,7 +1909,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "35" + "Value": "55" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1926,7 +1927,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "32" }, { "PowerHint": "CAMERA_STREAMING_HIGH",