sm6375-common: 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 2024-07-18 20:16:00 +05:30 committed by Anand S
parent 220856c963
commit 1c76650adc
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
2 changed files with 54 additions and 42 deletions

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",
@ -159,15 +189,6 @@
],
"ResetOnInit": true
},
{
"Name": "SchedBoost",
"Path": "/proc/sys/kernel/sched_boost",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
@ -233,6 +254,18 @@
"Duration": 0,
"Value": "1113600"
},
{
"PowerHint": "INTERACTION",
"Node": "UclampTAMin",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "INTERACTION",
"Node": "UclampTALatency",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBWHystTriggerCount",
@ -257,12 +290,6 @@
"Duration": 0,
"Value": "5931"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedBoost",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",
@ -281,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",