From 2cc7bc7c3d07ade96dfdc03bb957e2cf33751901 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Mon, 8 Apr 2024 15:03:39 +0000 Subject: [PATCH 1/9] Set big core to cpu skip mask by default Also reset the mask for launch and other camera streaming modes that do not use it. Bug: 248621289 Test: build pass Change-Id: I752bcf27ac6c9064a464af54200a506fd6db03ff --- perf/powerhint-caiman.json | 37 ++++++++++++++++++++++++++++++- perf/powerhint-komodo.json | 37 ++++++++++++++++++++++++++++++- perf/powerhint-ripcurrentpro.json | 37 ++++++++++++++++++++++++++++++- perf/powerhint-tokay.json | 37 ++++++++++++++++++++++++++++++- 4 files changed, 144 insertions(+), 4 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 96fc3d46..5c36a43b 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -221,7 +221,6 @@ "0x0", "0x80" ], - "DefaultIndex": 0, "ResetOnInit": true }, { @@ -865,6 +864,12 @@ "Duration": 1000, "Value": "0-3" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUSkipMask", + "Duration": 5000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", @@ -1012,6 +1017,12 @@ "Duration": 5000, "Value": "1" }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUSkipMask", + "Duration": 2000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -1286,6 +1297,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CPUSkipMask", + "Duration": 1000, + "Value": "0x0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPU_BIG_TSKIN_BYPASS", @@ -1880,6 +1897,12 @@ "Duration": 0, "Value": "camera" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning", @@ -2300,6 +2323,12 @@ "Duration": 0, "Value": "4-7" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PowerHALCameraRunning", @@ -2444,6 +2473,12 @@ "Duration": 0, "Value": "30" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_VIDEO_RECORDING", "Type": "MaskHint", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 5083ecfa..fa2beb7b 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -221,7 +221,6 @@ "0x0", "0x80" ], - "DefaultIndex": 0, "ResetOnInit": true }, { @@ -865,6 +864,12 @@ "Duration": 1000, "Value": "0-3" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUSkipMask", + "Duration": 5000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", @@ -1012,6 +1017,12 @@ "Duration": 5000, "Value": "1" }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUSkipMask", + "Duration": 2000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -1286,6 +1297,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CPUSkipMask", + "Duration": 1000, + "Value": "0x0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPU_BIG_TSKIN_BYPASS", @@ -1880,6 +1897,12 @@ "Duration": 0, "Value": "camera" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning", @@ -2300,6 +2323,12 @@ "Duration": 0, "Value": "4-7" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PowerHALCameraRunning", @@ -2444,6 +2473,12 @@ "Duration": 0, "Value": "30" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_VIDEO_RECORDING", "Type": "MaskHint", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index d2984619..8513e0be 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -274,7 +274,6 @@ "0x0", "0x80" ], - "DefaultIndex": 0, "ResetOnInit": true }, { @@ -854,6 +853,12 @@ "Duration": 1000, "Value": "0-3" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUSkipMask", + "Duration": 5000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", @@ -1001,6 +1006,12 @@ "Duration": 5000, "Value": "1" }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUSkipMask", + "Duration": 2000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -1275,6 +1286,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CPUSkipMask", + "Duration": 1000, + "Value": "0x0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPU_BIG_TSKIN_BYPASS", @@ -1869,6 +1886,12 @@ "Duration": 0, "Value": "camera" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning", @@ -2289,6 +2312,12 @@ "Duration": 0, "Value": "4-7" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PowerHALCameraRunning", @@ -2433,6 +2462,12 @@ "Duration": 0, "Value": "30" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_VIDEO_RECORDING", "Type": "MaskHint", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 96fc3d46..5c36a43b 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -221,7 +221,6 @@ "0x0", "0x80" ], - "DefaultIndex": 0, "ResetOnInit": true }, { @@ -865,6 +864,12 @@ "Duration": 1000, "Value": "0-3" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUSkipMask", + "Duration": 5000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", @@ -1012,6 +1017,12 @@ "Duration": 5000, "Value": "1" }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUSkipMask", + "Duration": 2000, + "Value": "0x0" + }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -1286,6 +1297,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CPUSkipMask", + "Duration": 1000, + "Value": "0x0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPU_BIG_TSKIN_BYPASS", @@ -1880,6 +1897,12 @@ "Duration": 0, "Value": "camera" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning", @@ -2300,6 +2323,12 @@ "Duration": 0, "Value": "4-7" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PowerHALCameraRunning", @@ -2444,6 +2473,12 @@ "Duration": 0, "Value": "30" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, { "PowerHint": "CAMERA_VIDEO_RECORDING", "Type": "MaskHint", From 04a98d59e418acb6ba946810a36e2c188156e37c Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 17 Apr 2024 22:06:04 +0000 Subject: [PATCH 2/9] powerhint: remove lcpi parameter for PMU limit PMU-based soft freq limit no longer use lcpi parameter Bug: 295054083 Change-Id: I0d4eb0d90934dcd441e7272292c34cffa533ae25 Signed-off-by: Taeju Park --- perf/powerhint-caiman.json | 103 ------------------------------ perf/powerhint-komodo.json | 103 ------------------------------ perf/powerhint-ripcurrent24.json | 63 ------------------ perf/powerhint-ripcurrentpro.json | 103 ------------------------------ perf/powerhint-tokay.json | 103 ------------------------------ perf/powerhint-zuma.json | 103 ------------------------------ 6 files changed, 578 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 030fd2d3..827f225b 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -600,15 +600,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", @@ -633,14 +624,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", @@ -663,14 +646,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", @@ -1749,12 +1724,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1767,12 +1736,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1785,12 +1748,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1899,12 +1856,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1917,12 +1868,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1935,12 +1880,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2073,12 +2012,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2091,12 +2024,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -2109,12 +2036,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2433,12 +2354,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3022,12 +2937,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3040,12 +2949,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", @@ -3058,12 +2961,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_BIG_SPC_THRESHOLD", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 84f77ae9..1e59e095 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -600,15 +600,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", @@ -633,14 +624,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", @@ -663,14 +646,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", @@ -1749,12 +1724,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1767,12 +1736,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1785,12 +1748,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1899,12 +1856,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1917,12 +1868,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1935,12 +1880,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2073,12 +2012,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2091,12 +2024,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -2109,12 +2036,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2433,12 +2354,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3022,12 +2937,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3040,12 +2949,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", @@ -3058,12 +2961,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_BIG_SPC_THRESHOLD", diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index f9e3d1e6..2a638104 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -536,15 +536,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", @@ -554,15 +545,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", - "Values": [ - "6", - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", @@ -581,15 +563,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/lcpi_threshold", - "Values": [ - "5", - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/spc_threshold", @@ -1126,24 +1099,12 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1156,12 +1117,6 @@ "Duration": 0, "Value": "1852000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1264,24 +1219,12 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1294,12 +1237,6 @@ "Duration": 0, "Value": "1852000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index a1940aba..dba056fc 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -683,15 +683,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", @@ -716,14 +707,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", @@ -746,14 +729,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", @@ -1738,12 +1713,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1756,12 +1725,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1774,12 +1737,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1888,12 +1845,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1906,12 +1857,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1924,12 +1869,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2062,12 +2001,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2080,12 +2013,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -2098,12 +2025,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2422,12 +2343,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2987,24 +2902,12 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", @@ -3017,12 +2920,6 @@ "Duration": 0, "Value": "1885000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_BIG_SPC_THRESHOLD", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 030fd2d3..827f225b 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -600,15 +600,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", @@ -633,14 +624,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", @@ -663,14 +646,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", @@ -1749,12 +1724,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1767,12 +1736,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1785,12 +1748,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1899,12 +1856,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1917,12 +1868,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1935,12 +1880,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2073,12 +2012,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2091,12 +2024,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -2109,12 +2036,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2433,12 +2354,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3022,12 +2937,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -3040,12 +2949,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", @@ -3058,12 +2961,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_BIG_SPC_THRESHOLD", diff --git a/perf/powerhint-zuma.json b/perf/powerhint-zuma.json index 11edf4bd..0213da58 100644 --- a/perf/powerhint-zuma.json +++ b/perf/powerhint-zuma.json @@ -648,15 +648,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_LIT_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold", - "Values": [ - "2", - "0" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", @@ -680,14 +671,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "PMU_MID_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", @@ -709,14 +692,6 @@ ], "DefaultIndex": 0 }, - { - "Name": "PMU_BIG_LCPI_THRESHOLD", - "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/lcpi_threshold", - "Values": [ - "3" - ], - "DefaultIndex": 0 - }, { "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", @@ -1510,12 +1485,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1528,12 +1497,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1546,12 +1509,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1654,12 +1611,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1672,12 +1623,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1690,12 +1635,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -1804,12 +1743,6 @@ "Duration": 0, "Value": "1098000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -1822,12 +1755,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", @@ -1840,12 +1767,6 @@ "Duration": 0, "Value": "1298000" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_BIG_SPC_THRESHOLD", @@ -2134,12 +2055,6 @@ "Duration": 0, "Value": "1328000" }, - { - "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_SPC_THRESHOLD", @@ -2699,24 +2614,12 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", @@ -2729,12 +2632,6 @@ "Duration": 0, "Value": "1852000" }, - { - "PowerHint": "CAMERA_PROJECT11", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, { "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_BIG_SPC_THRESHOLD", From 3b8c06c9d33c90fbe1333bae97a5730c8cddd91b Mon Sep 17 00:00:00 2001 From: Thomas Girardier Date: Thu, 25 Apr 2024 16:22:05 +0000 Subject: [PATCH 3/9] Revert "[Bluetooth] Disable BT auto on feature" This reverts commit 6843e6c008ccfaf33b43e63f0f54e0bc00339748. Reason for revert: Auto On has been approved for 24Q3 Change-Id: Ibbcd4ac49d7aa2844a92b8a7cbdbcc8fb42208c7 --- device-caiman.mk | 2 +- device-komodo.mk | 2 +- device-tokay.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device-caiman.mk b/device-caiman.mk index 436939eb..cf922929 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -403,7 +403,7 @@ endif # Enable Bluetooth AutoOn feature PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.server.automatic_turn_on=false + bluetooth.server.automatic_turn_on=true # Window Extensions $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) diff --git a/device-komodo.mk b/device-komodo.mk index 26b45831..b1ccb930 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -399,7 +399,7 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Enable Bluetooth AutoOn feature PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.server.automatic_turn_on=false + bluetooth.server.automatic_turn_on=true # Window Extensions $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) diff --git a/device-tokay.mk b/device-tokay.mk index 6c622dc4..e490425f 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -362,7 +362,7 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Enable Bluetooth AutoOn feature PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.server.automatic_turn_on=false + bluetooth.server.automatic_turn_on=true # Window Extensions $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) From 2ea470d49a94b4d8c9a8fb6163af660f76e1b82d Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 25 Apr 2024 18:33:18 +0000 Subject: [PATCH 4/9] Adpf:caimito: revert heuristic boost triggering condition. This reverts previous JankCheckTimeFactor from 1.43 to 1.2. Since the current reported duration doesn't include the GPU part, the JankCheckTimeFactor needs to be smaller for matching jank frame detection. Bug: 204204746 Test: adb shell dumpsys android.hardware.power.Ipower/default; check adpf sessions' traces. Change-Id: I36ab5e699187650011a91a2c0814c33e62e4e125 --- perf/powerhint-caiman.json | 6 +++--- perf/powerhint-komodo.json | 6 +++--- perf/powerhint-tokay.json | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 030fd2d3..9283417a 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 84f77ae9..a977bde5 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 030fd2d3..9283417a 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -3179,7 +3179,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3212,7 +3212,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3245,7 +3245,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, From 71395ffb9957c9330006d1aa212ce08051a8c797 Mon Sep 17 00:00:00 2001 From: Yadong Xu Date: Fri, 12 Apr 2024 15:48:34 -0700 Subject: [PATCH 5/9] Fix face auth powerhint for face unlock boost Test: Not required. Fixed:335714087 Change-Id: I2f19bd4df763a6665762d67c3df66d444805e5a4 --- perf/powerhint-ripcurrent24.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index f9e3d1e6..bce75ce7 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -2169,7 +2169,7 @@ "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUBigClusterMinFreq", "Duration": 500, - "Value": "9999999" + "Value": "1852000" }, { "PowerHint": "FACE_UNLOCK_BOOST", @@ -2187,7 +2187,7 @@ "PowerHint": "FP_BOOST", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "1852000" + "Value": "9999999" }, { "PowerHint": "FP_BOOST", From 681064ae179c27da310e562b86d67589162eac7d Mon Sep 17 00:00:00 2001 From: "Peter (YM)" Date: Wed, 24 Apr 2024 05:09:49 +0000 Subject: [PATCH 6/9] thermal: use frequency to define hard limit and cdev ceiling Test: Boot to home and flash on device Bug: 330780045 Change-Id: I428e14f354a5897601cbcaf8f7bbbeb6a0cc5d8f Signed-off-by: Peter (YM) --- thermal/thermal_info_config_caiman.json | 45 +++++++++++++------------ thermal/thermal_info_config_komodo.json | 45 +++++++++++++------------ thermal/thermal_info_config_tokay.json | 45 +++++++++++++------------ 3 files changed, 72 insertions(+), 63 deletions(-) diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json index c28a1c94..17cb3f46 100644 --- a/thermal/thermal_info_config_caiman.json +++ b/thermal/thermal_info_config_caiman.json @@ -351,7 +351,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -359,7 +359,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -367,7 +367,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ], "Profile": [ @@ -427,21 +427,21 @@ "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 7, 7, 7, 7, 7, 7] + "CdevCeilingFrequency": [1950000, 1098000, 1098000, 1098000, 1098000, 1098000, 1098000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 10, 10, 10, 10, 10, 10] + "CdevCeilingFrequency": [2600000, 1221000, 1221000, 1221000, 1221000, 1221000, 1221000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -518,21 +518,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 787000, 787000, 787000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -564,21 +564,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ] } @@ -616,8 +616,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9], - "LimitInfo": [0, 0, 0, 0, 0, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000], + "LimitInfoFrequency": [1950000, 1950000, 1950000, 1950000, 1950000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -625,8 +625,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 13, 13, 13, 14, 16, 16], - "LimitInfo": [0, 0, 0, 0, 0, 16, 16] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 648000, 357000, 357000], + "LimitInfoFrequency": [2600000, 2600000, 2600000, 2600000, 2600000, 357000, 357000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -634,8 +634,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17], - "LimitInfo": [0, 0, 0, 0, 0, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000], + "LimitInfoFrequency": [3105000, 3105000, 3105000, 3105000, 3105000, 700000, 700000] }, { "CdevRequest": "thermal-gpufreq-0", @@ -987,17 +987,20 @@ { "Name":"thermal-cpufreq-0", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-1", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-2", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy7/scaling_available_frequencies" }, { "Name":"thermal-gpufreq-0", diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json index fb10c2ac..4b2a7e03 100644 --- a/thermal/thermal_info_config_komodo.json +++ b/thermal/thermal_info_config_komodo.json @@ -360,7 +360,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -368,7 +368,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -376,7 +376,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ], "Profile": [ @@ -436,21 +436,21 @@ "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 7, 7, 7, 7, 7, 7] + "CdevCeilingFrequency": [1950000, 1098000, 1098000, 1098000, 1098000, 1098000, 1098000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 10, 10, 10, 10, 10, 10] + "CdevCeilingFrequency": [2600000, 1221000, 1221000, 1221000, 1221000, 1221000, 1221000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -527,21 +527,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 787000, 787000, 787000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -573,21 +573,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ] } @@ -625,8 +625,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9], - "LimitInfo": [0, 0, 0, 0, 0, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000], + "LimitInfoFrequency": [1950000, 1950000, 1950000, 1950000, 1950000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -634,8 +634,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 13, 13, 13, 14, 16, 16], - "LimitInfo": [0, 0, 0, 0, 0, 16, 16] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 648000, 357000, 357000], + "LimitInfoFrequency": [2600000, 2600000, 2600000, 2600000, 2600000, 357000, 357000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -643,8 +643,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17], - "LimitInfo": [0, 0, 0, 0, 0, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000], + "LimitInfoFrequency": [3105000, 3105000, 3105000, 3105000, 3105000, 700000, 700000] }, { "CdevRequest": "thermal-gpufreq-0", @@ -985,17 +985,20 @@ { "Name":"thermal-cpufreq-0", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-1", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-2", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy7/scaling_available_frequencies" }, { "Name":"thermal-gpufreq-0", diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json index 6957cd13..fc9cb25f 100644 --- a/thermal/thermal_info_config_tokay.json +++ b/thermal/thermal_info_config_tokay.json @@ -343,7 +343,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -351,7 +351,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -359,7 +359,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ], "Profile": [ @@ -419,21 +419,21 @@ "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 7, 7, 7, 7, 7, 7] + "CdevCeilingFrequency": [1950000, 1098000, 1098000, 1098000, 1098000, 1098000, 1098000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 10, 10, 10, 10, 10, 10] + "CdevCeilingFrequency": [2600000, 1221000, 1221000, 1221000, 1221000, 1221000, 1221000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -510,21 +510,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 787000, 787000, 787000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000] } ], "Profile": [ @@ -556,21 +556,21 @@ "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] + "CdevCeilingFrequency": [1950000, 1696000, 1696000, 1696000, 1696000, 1696000, 1696000] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + "CdevCeilingFrequency": [2600000, 1795000, 1795000, 1795000, 1795000, 1795000, 1795000] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] + "CdevCeilingFrequency": [3105000, 1396000, 1396000, 1396000, 1396000, 1396000, 1396000] } ] } @@ -608,8 +608,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 9, 9, 9, 9, 9, 9], - "LimitInfo": [0, 0, 0, 0, 0, 9, 9] + "CdevCeilingFrequency": [1950000, 820000, 820000, 820000, 820000, 820000, 820000], + "LimitInfoFrequency": [1950000, 1950000, 1950000, 1950000, 1950000, 820000, 820000] }, { "CdevRequest": "thermal-cpufreq-1", @@ -617,8 +617,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 13, 13, 13, 14, 16, 16], - "LimitInfo": [0, 0, 0, 0, 0, 16, 16] + "CdevCeilingFrequency": [2600000, 787000, 787000, 787000, 648000, 357000, 357000], + "LimitInfoFrequency": [2600000, 2600000, 2600000, 2600000, 2600000, 357000, 357000] }, { "CdevRequest": "thermal-cpufreq-2", @@ -626,8 +626,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 17, 17, 17, 17, 17, 17], - "LimitInfo": [0, 0, 0, 0, 0, 17, 17] + "CdevCeilingFrequency": [3105000, 700000, 700000, 700000, 700000, 700000, 700000], + "LimitInfoFrequency": [3105000, 3105000, 3105000, 3105000, 3105000, 700000, 700000] }, { "CdevRequest": "thermal-gpufreq-0", @@ -1045,17 +1045,20 @@ { "Name":"thermal-cpufreq-0", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-1", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies" }, { "Name":"thermal-cpufreq-2", "Type":"CPU", - "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote" + "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", + "ScalingAvailableFrequenciesPath": "/sys/devices/system/cpu/cpufreq/policy7/scaling_available_frequencies" }, { "Name":"thermal-gpufreq-0", From 878c5bad5c0d1d4a286f87a028a6b2f81e056c02 Mon Sep 17 00:00:00 2001 From: Jikai Ma Date: Thu, 25 Apr 2024 19:57:19 -0700 Subject: [PATCH 7/9] thermal: fix thermal config typo Bug: 337094450 Test: side loaded to device and successfully start thermal service. Change-Id: Ied79a83d5c0e9d4c9393ffa4ef550b382b7b79e1 --- thermal/thermal_info_config_caiman.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json index c28a1c94..b7525e8f 100644 --- a/thermal/thermal_info_config_caiman.json +++ b/thermal/thermal_info_config_caiman.json @@ -198,7 +198,7 @@ "PreviousSampleCount": 11, "OutputLabelCount": 6, "Multiplier": 0.001, - "SupportUnderStampling": true, + "SupportUnderSampling": true, "ValidateInput": true }, { From 867521c4829919abea0c4c12cbdbf34df665c91b Mon Sep 17 00:00:00 2001 From: shihchienc Date: Tue, 9 Apr 2024 16:52:33 +0000 Subject: [PATCH 8/9] [P24] remove Thread HAL service as thread software is not POR of p24 on TA, remove thread hal service here. will put it back once change goes into p24 branch. Bug: 333516795 Test: manual flash and check if thread hal service exists by adb shell ps |grep "thread_network" Change-Id: I83c34ab6e44be593d25bb29e883e6e00b967589d --- device-caiman.mk | 4 ---- device-komodo.mk | 4 ---- device-tokay.mk | 4 ---- 3 files changed, 12 deletions(-) diff --git a/device-caiman.mk b/device-caiman.mk index 5127667b..e001f99c 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -392,10 +392,6 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Support RIL Domain-selection SUPPORT_RIL_DOMAIN_SELECTION := true -# Thread HAL -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork - # ETM ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) diff --git a/device-komodo.mk b/device-komodo.mk index ce51c593..cc0d767d 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -388,10 +388,6 @@ SUPPORT_RIL_DOMAIN_SELECTION := true PRODUCT_PRODUCT_PROPERTIES += \ ro.support_one_handed_mode=true -# Thread HAL -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork - # Keyboard height ratio and bottom padding in dp for portrait mode PRODUCT_PRODUCT_PROPERTIES += \ ro.com.google.ime.kb_pad_port_b=9.6 \ diff --git a/device-tokay.mk b/device-tokay.mk index 6931919f..713b4046 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -351,10 +351,6 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Support RIL Domain-selection SUPPORT_RIL_DOMAIN_SELECTION := true -# Thread HAL -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork - # Keyboard height ratio and bottom padding in dp for portrait mode PRODUCT_PRODUCT_PROPERTIES += \ ro.com.google.ime.kb_pad_port_b=8 \ From 635801795b751e5a1a74cc85e94102f07b3bde01 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Fri, 26 Apr 2024 18:25:07 +0000 Subject: [PATCH 9/9] powerhint: tune default value for PMU limit parameter Bug: 310237445 Change-Id: I0ed334a447afdc420655ca1733125e8ab0ab43f1 Signed-off-by: Taeju Park --- perf/powerhint-caiman.json | 3 +++ perf/powerhint-komodo.json | 3 +++ perf/powerhint-ripcurrent24.json | 7 ++++--- perf/powerhint-ripcurrentpro.json | 3 +++ perf/powerhint-tokay.json | 3 +++ perf/powerhint-zuma.json | 5 ++++- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 152f1b68..323ef6a7 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -603,6 +603,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "76", "70", "55", "42", @@ -627,6 +628,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "59", "50", "32", "30", @@ -649,6 +651,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Values": [ + "62", "50", "22", "20" diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 00f9e744..4ef9973a 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -603,6 +603,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "76", "70", "55", "42", @@ -627,6 +628,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "59", "50", "32", "30", @@ -649,6 +651,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Values": [ + "62", "50", "22", "20" diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index f2240837..644877d3 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -540,6 +540,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", "Values": [ + "76", "70", "0" ], @@ -549,7 +550,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", "Values": [ - "65", + "59", "50" ], "DefaultIndex": 0 @@ -558,7 +559,7 @@ "Name": "PMU_BIG_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/limit_frequency", "Values": [ - "2556000", + "2363000", "1852000" ], "DefaultIndex": 0 @@ -567,7 +568,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/spc_threshold", "Values": [ - "69", + "62", "50" ], "DefaultIndex": 0 diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 8f7bf67e..1efcf06d 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -686,6 +686,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "76", "70", "55", "42", @@ -710,6 +711,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "59", "50", "32", "30", @@ -732,6 +734,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Values": [ + "62", "50", "22", "20" diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 152f1b68..323ef6a7 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -603,6 +603,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "76", "70", "55", "42", @@ -627,6 +628,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "59", "50", "32", "30", @@ -649,6 +651,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Values": [ + "62", "50", "22", "20" diff --git a/perf/powerhint-zuma.json b/perf/powerhint-zuma.json index 0213da58..cdc6d539 100644 --- a/perf/powerhint-zuma.json +++ b/perf/powerhint-zuma.json @@ -652,6 +652,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "76", "70", "42", "35", @@ -665,7 +666,7 @@ "Name": "PMU_MID_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/limit_frequency", "Values": [ - "1836000", + "1795000", "1328000" ], "DefaultIndex": 0, @@ -675,6 +676,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "59", "50", "30", "20", @@ -696,6 +698,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Values": [ + "62", "50", "22", "20"