ADPF: add ADPF_DISABLE_TA_BOOST for powerhint

Add ADPF_DISABLE_TA_BOOST hint for masking TA boost when ADPF is active

Test: build, boot to home
Test: adb shell cat /sys/kernel/vendor_sched/ta_uclamp_min
Bug: 177493042
Change-Id: I6bbeebf80fe4ba7b1e957cde5ed0d4202a2da818
This commit is contained in:
Jimmy Shiu 2021-05-21 00:56:14 +08:00 committed by Wei Wang
parent 4b696faee6
commit 16934c353f
3 changed files with 18 additions and 0 deletions

View file

@ -806,6 +806,12 @@
"Duration": 0,
"Value": "62"
},
{
"PowerHint": "ADPF_DISABLE_TA_BOOST",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "DISABLE_TA_BOOST",
"Node": "TAUClampBoost",

View file

@ -333,6 +333,12 @@
"Duration": 0,
"Value": "103"
},
{
"PowerHint": "ADPF_DISABLE_TA_BOOST",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_TA_BOOST",
"Node": "TAUClampBoost",

View file

@ -363,6 +363,12 @@
"Duration": 0,
"Value": "103"
},
{
"PowerHint": "ADPF_DISABLE_TA_BOOST",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_TA_BOOST",
"Node": "TAUClampBoost",