Merge "powerhint: port changes from caimito" into 24D1-dev

This commit is contained in:
Chung-Kai (Michael) Mei 2024-04-22 08:48:51 +00:00 committed by Android (Google) Code Review
commit bc8a17c21d

View file

@ -171,26 +171,6 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BigClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "MidClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl1_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -254,6 +234,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "Dex2oatUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/dex2oat/uclamp_max",
"Values": [
"-2",
"615"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/groups/cam/uclamp_min",
@ -963,6 +953,119 @@
"Type": "DoHint",
"Value": "LAUNCH_PMU"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "ReducePreferIdle",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "AutoPreferIdle",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
"Duration": 1000,
"Value": "10"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Type": "DoHint",
"Value": "DISPLAY_CHANGE_GPU"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "FGUClampBoost",
"Duration": 5000,
"Value": "159"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "MemFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "DsuMinFreq",
"Duration": 5000,
"Value": "1800000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "BCIMinFreq",
"Duration": 5000,
"Value": "1401000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUDVFSHeadroom",
"Duration": 5000,
"Value": "1280"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 5000,
"Value": "5000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 5000,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 5000,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "TAPreferIdle",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "FGPreferIdle",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@ -1052,6 +1155,24 @@
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "BGUClampMaxBoost",
"Duration": 2000,
"Value": "512"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 2000,
"Value": "615"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPULittleClusterDownRateLimitUs",
@ -1147,18 +1268,6 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "MidClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "TAPreferIdle",