From f5e293b0e4dce846221ffc539d2346a8ae8c38d7 Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Fri, 24 May 2024 03:42:13 +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 and ag/27018139 Bug: 342502377 Test: Build pass Change-Id: I593b9ca4f85e844ebacdb8606147d51c9d8926da --- 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 d8c2494..2c83032 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -687,6 +687,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ "70", + "55", "42", "35", "30", @@ -1960,7 +1961,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "42" + "Value": "55" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1972,7 +1973,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_STANDARD",