msm8998-common: powerhint: Update UCLAMP configuration

We were missing a lot of important powerhint configurations that
can improve how we handle UCLAMP. Let's get those configurations
that are appropriate for our device. Also let's use the updated values
from GS101's main branch.

Source: https://android.googlesource.com/device/google/gs101/+/refs/heads/main/powerhint_a0.json

Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com>
This commit is contained in:
Edrick Sinsuan
2024-11-03 21:39:35 -05:00
parent ee3a29c507
commit 618d1d7081

View File

@@ -55,8 +55,9 @@
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
"Values": [
"0",
"40",
"30"
"30",
"20",
"10"
],
"DefaultIndex": 0,
"ResetOnInit": true
@@ -337,9 +338,19 @@
},
{
"PowerHint": "INTERACTION",
"Type": "DoHint",
"Value": "INTERACTION_60"
},
{
"PowerHint": "INTERACTION",
"Type": "EndHint",
"Value": "DISABLE_TA_BOOST"
},
{
"PowerHint": "INTERACTION_60",
"Node": "TAUClampBoost",
"Duration": 6000,
"Value": "40"
"Value": "20"
},
{
"PowerHint": "INTERACTION",
@@ -365,6 +376,44 @@
"Duration": 0,
"Value": "5195"
},
{
"PowerHint": "REFRESH_60FPS",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "10"
},
{
"PowerHint": "ADPF_DISABLE_TA_BOOST",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_TA_BOOST",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_IDLE",
"Type": "DoHint",
"Value": "DISABLE_TA_BOOST"
},
{
"PowerHint": "DISPLAY_IDLE",
"Type": "EndHint",
"Value": "INTERACTION_60"
},
{
"PowerHint": "DISPLAY_IDLE",
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Type": "EndHint",
"Value": "DISABLE_TA_BOOST"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",
@@ -395,6 +444,11 @@
"Duration": 5000,
"Value": "30"
},
{
"PowerHint": "LAUNCH",
"Type": "EndHint",
"Value": "DISABLE_TA_BOOST"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBWHystTriggerCount",