Watch
1
0
Fork
You've already forked android_device_oneplus_dre
0

dre: powerhint: Setup uclamp boosting

- Make use of uclamp boost for top-app and foreground
  hints based on newer pixels

Co-authored-by: Vivekachooz <vivekachooz@gmail.com>
Change-Id: I70c4262230841b3c7bf84b4165916a22312f829f
This commit is contained in:
Sugakesshaa 2023-11-28 01:09:00 +05:30 committed by Nick Reuter
commit a5085b5080

View file

@ -46,6 +46,36 @@
],
"ResetOnInit": true
},
{
"Name": "UclampTAMin",
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
"Values": [
"0",
"50",
"100"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "UclampTALatency",
"Path": "/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "UclampFgMin",
"Path": "/dev/cpuctl/foreground/cpu.uclamp.min",
"Values": [
"0",
"100"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUMaxFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
@ -94,15 +124,6 @@
],
"ResetOnInit": true
},
{
"Name": "TASchedtuneBoost",
"Path": "/dev/stune/top-app/schedtune.boost",
"Values": [
"50",
"10"
],
"ResetOnInit": true
},
{
"Name": "CPUBWHystTriggerCount",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_trigger_count",
@ -168,15 +189,6 @@
],
"ResetOnInit": true
},
{
"Name": "SchedBoost",
"Path": "/proc/sys/kernel/sched_boost",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
@ -244,10 +256,16 @@
},
{
"PowerHint": "INTERACTION",
"Node": "TASchedtuneBoost",
"Node": "UclampTAMin",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "INTERACTION",
"Node": "UclampTALatency",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBWHystTriggerCount",
@ -272,12 +290,6 @@
"Duration": 0,
"Value": "5931"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedBoost",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",
@ -296,6 +308,18 @@
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "UclampTAMin",
"Duration": 3000,
"Value": "50"
},
{
"PowerHint": "LAUNCH",
"Node": "UclampFgMin",
"Duration": 3000,
"Value": "100"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBWHystTriggerCount",