Remove existing surfaceflinger uclamp boost configuration
Remove existing surfaceflinger uclamp settings to not interfere with new adpf cpu hints for surfaceflinger Bug: 195990840 Test: manual Change-Id: I763f1baec65f0cad341074f461a086776f7a5f5d
This commit is contained in:
parent
4223e614b6
commit
73cd02795b
2 changed files with 8 additions and 22 deletions
|
@ -30,3 +30,11 @@ on property:ro.boot.hardware.sku=GB17L
|
|||
on property:sys.retaildemo.enabled=1
|
||||
setprop persist.vendor.charge.stop.level 35
|
||||
setprop persist.vendor.charge.start.level 30
|
||||
|
||||
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints
|
||||
on property:sys.boot_completed=1
|
||||
trigger override-sf-uclamp
|
||||
|
||||
on override-sf-uclamp
|
||||
write /proc/vendor_sched/rt_uclamp_min 0
|
||||
write /proc/vendor_sched/sf_uclamp_min 0
|
||||
|
|
|
@ -157,16 +157,6 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"85",
|
||||
"39"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
|
@ -475,12 +465,6 @@
|
|||
}
|
||||
],
|
||||
"Actions": [
|
||||
{
|
||||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "UClampThreshold",
|
||||
|
@ -499,12 +483,6 @@
|
|||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue