Skip to content

Commit

Permalink
sdm710-common: Add Flipendo powerhints
Browse files Browse the repository at this point in the history
Snapdragon 730 cores should be similar to 765G in terms of
power usage. (same cortex cores, similar frequencies)

For this reason I've imported Flipendo hints from redbull (765G)
and adjusted frequencies to match 730 ones.

[B--B: adjusted freqs for sdm710]

Signed-off-by: xNombre <kartapolska@gmail.com>
Change-Id: I2e96a506e16eec3ebf871aefc126335b42f9f882
Signed-off-by: Marco Zanin <mrczn.bb@gmail.com>
  • Loading branch information
xNombre authored and B--B committed Jul 13, 2023
1 parent 022dedf commit 8692a25
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion configs/powerhint.json
Expand Up @@ -5,6 +5,7 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1612800",
"1209600"
],
"DefaultIndex": 0,
Expand All @@ -26,6 +27,7 @@
"Values": [
"9999999",
"2208000",
"1843200",
"1363200"
],
"DefaultIndex": 0,
Expand Down Expand Up @@ -675,7 +677,18 @@
"PowerHint": "DISPLAY_INACTIVE",
"Node": "TASchedtunePreferIdle",
"Duration": 0,
"Value": "0"
"Value": "0"},
{
"PowerHint": "Flipendo",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1612800"
},
{
"PowerHint": "Flipendo",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1843200"
}
]
}

0 comments on commit 8692a25

Please sign in to comment.