Revert "sdm660-common: power-libperfmgr: Boost top-app task placement only on INTERACTION boost"

This reverts commit 1229fc5a8473c7ea99e90c4ff0a6f6d3a05a8b14.

* Nuked the schedtune.prefer_high_cap in kernel so it is not useful anymore
* Partially reverts only as some are still useful

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
clarencelol 2021-11-13 20:12:20 +08:00 committed by pix106
parent c7b7bae281
commit 4f107e00f9
2 changed files with 0 additions and 33 deletions

View file

@ -129,15 +129,6 @@
],
"ResetOnInit": true
},
{
"Name": "TASchedtuneHighCap",
"Path": "/dev/stune/top-app/schedtune.prefer_high_cap",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "CDSchedtuneBoost",
"Path": "/dev/stune/camera-daemon/schedtune.boost",
@ -147,15 +138,6 @@
],
"ResetOnInit": true
},
{
"Name": "CDSchedtuneHighCap",
"Path": "/dev/stune/camera-daemon/schedtune.prefer_high_cap",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "CPUBWHystTriggerCount",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_trigger_count",
@ -317,12 +299,6 @@
"Duration": 0,
"Value": "10"
},
{
"PowerHint": "INTERACTION",
"Node": "TASchedtuneHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBWHystTriggerCount",
@ -461,12 +437,6 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_MID",
"Node": "CDSchedtuneHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "EnergyAware",

View file

@ -538,13 +538,10 @@ on property:sys.boot_completed=1
# Schedtune
write /dev/stune/foreground/schedtune.prefer_idle 1
write /dev/stune/foreground/schedtune.prefer_high_cap 0
write /dev/stune/foreground/schedtune.boost 0
write /dev/stune/schedtune.prefer_idle 0
write /dev/stune/schedtune.prefer_high_cap 0
write /dev/stune/schedtune.boost 0
write /dev/stune/top-app/schedtune.prefer_idle 1
write /dev/stune/top-app/schedtune.prefer_high_cap 0
write /dev/stune/top-app/schedtune.boost 10