Add LOW_POWER_ hints for gs101 devices

Add LOW_POWER_LITTLE_CLUSTER_{50,60,70,80,90} and
LOW_POWER_CPU_{50,60,70,80,90} to match what is already present for
Pixel 3, 4 and 5.

Because of the presence of a MID cluster, we also add a new set of
hints LOW_POWER_MID_CLUSTER_{50,60,70,80,90}.

See go/powerbrain-cpu-gs101 for explanation on the selected
frequencies.

Bug: 151080800
Bug: 188770301
Test: Make and flash, use a dev version of Turbo to set a hint
Change-Id: I4594cdb6fd3d8f34a3ac84329c601bab07d1b9c6
This commit is contained in:
Milo Sredkov 2021-10-21 00:09:40 +01:00 committed by TreeHugger Robot
parent 38cad31af0
commit 06c046b7e3

View file

@ -26,7 +26,11 @@
"9999999", "9999999",
"1098000", "1098000",
"1401000", "1401000",
"1197000" "930000",
"1197000",
"1328000",
"1598000",
"1803000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -48,8 +52,12 @@
"9999999", "9999999",
"1024000", "1024000",
"1197000", "1197000",
"1999000", "1491000",
"1491000" "910000",
"1328000",
"1663000",
"1836000",
"1999000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -71,7 +79,12 @@
"9999999", "9999999",
"984000", "984000",
"1426000", "1426000",
"1826000" "1826000",
"1277000",
"1582000",
"1745000",
"2048000",
"2401000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -919,6 +932,96 @@
"Duration": 0, "Duration": 0,
"Value": "9999999" "Value": "9999999"
}, },
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3600000,
"Value": "930000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3600000,
"Value": "1197000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3600000,
"Value": "1328000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3600000,
"Value": "1598000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3600000,
"Value": "1803000"
},
{
"PowerHint": "LOW_POWER_MID_CLUSTER_50",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3600000,
"Value": "910000"
},
{
"PowerHint": "LOW_POWER_MID_CLUSTER_60",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3600000,
"Value": "1328000"
},
{
"PowerHint": "LOW_POWER_MID_CLUSTER_70",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3600000,
"Value": "1663000"
},
{
"PowerHint": "LOW_POWER_MID_CLUSTER_80",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3600000,
"Value": "1836000"
},
{
"PowerHint": "LOW_POWER_MID_CLUSTER_90",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3600000,
"Value": "1999000"
},
{
"PowerHint": "LOW_POWER_CPU_50",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3600000,
"Value": "1277000"
},
{
"PowerHint": "LOW_POWER_CPU_60",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3600000,
"Value": "1582000"
},
{
"PowerHint": "LOW_POWER_CPU_70",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3600000,
"Value": "1745000"
},
{
"PowerHint": "LOW_POWER_CPU_80",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3600000,
"Value": "2048000"
},
{
"PowerHint": "LOW_POWER_CPU_90",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3600000,
"Value": "2401000"
},
{ {
"PowerHint": "REFRESH_120FPS", "PowerHint": "REFRESH_120FPS",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",