powerhint: shorter cpd cl2 target_residency

Shorter cpd cl2 target residency to 10ms when receiving DISPLAY_INACTIVE hint.

Test: manual - check cpd cl2 target_residency file node when screen on and off
Bug: 277390134

Change-Id: I15a7b24583db4423ccdbae05d9b857687bae7b78
Signed-off-by: lukechang <lukechang@google.com>
This commit is contained in:
lukechang 2023-05-16 09:42:33 +00:00
parent 3590c2c131
commit 6f228f059d
3 changed files with 48 additions and 0 deletions

View file

@ -167,6 +167,16 @@
],
"ResetOnInit": true
},
{
"Name": "BigClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -803,6 +813,12 @@
"Duration": 33,
"Value": "820000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",

View file

@ -157,6 +157,16 @@
],
"ResetOnInit": true
},
{
"Name": "BigClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -793,6 +803,12 @@
"Duration": 33,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",

View file

@ -157,6 +157,16 @@
],
"ResetOnInit": true
},
{
"Name": "BigClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -793,6 +803,12 @@
"Duration": 33,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",