rosemary: Don't hold sched_boost at max when unneeded

* Current powerhint configuration would cause sched_boost to always be set to the max value (6) even when the device is idle and not doing anything.

* Instead, we should only apply it when the device is being used, so have it default to 0, 3 when interaction boosting, and 6 when launching apps.

Change-Id: Ic5d60c14a1313b9df27e6796e5a0bddc71aecef0
This commit is contained in:
bengris32
2023-02-18 11:40:46 +01:00
committed by Matsvei Niaverau
parent 833253fe63
commit a21878ca31

View File

@@ -249,9 +249,9 @@
"Name": "CPUSchedBoost",
"Path": "/sys/devices/system/cpu/sched/sched_boost",
"Values": [
"0",
"6",
"3",
"6"
"0"
],
"ResetOnInit": true
},
@@ -439,6 +439,12 @@
"Duration": 0,
"Value": "2050000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUSchedBoost",
"Duration": 0,
"Value": "3"
},
{
"PowerHint": "INTERACTION",
"Node": "TASchedtuneBoost",
@@ -517,6 +523,12 @@
"Duration": 5000,
"Value": "2000000"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUSchedBoost",
"Duration": 5000,
"Value": "6"
},
{
"PowerHint": "LAUNCH",
"Node": "PMQoSCpuDmaLatency",