Skip to content

Commit 16934c3

Browse files
Jimmy Shiuweivincewang
Jimmy Shiu
authored andcommitted
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
1 parent 4b696fa commit 16934c3

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

Diff for: powerhint.json

+6
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,12 @@
806806
"Duration": 0,
807807
"Value": "62"
808808
},
809+
{
810+
"PowerHint": "ADPF_DISABLE_TA_BOOST",
811+
"Node": "TAUClampBoost",
812+
"Duration": 0,
813+
"Value": "1"
814+
},
809815
{
810816
"PowerHint": "DISABLE_TA_BOOST",
811817
"Node": "TAUClampBoost",

Diff for: powerhint_a0.json

+6
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,12 @@
333333
"Duration": 0,
334334
"Value": "103"
335335
},
336+
{
337+
"PowerHint": "ADPF_DISABLE_TA_BOOST",
338+
"Node": "TAUClampBoost",
339+
"Duration": 0,
340+
"Value": "0"
341+
},
336342
{
337343
"PowerHint": "DISABLE_TA_BOOST",
338344
"Node": "TAUClampBoost",

Diff for: powerhint_a1.json

+6
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,12 @@
363363
"Duration": 0,
364364
"Value": "103"
365365
},
366+
{
367+
"PowerHint": "ADPF_DISABLE_TA_BOOST",
368+
"Node": "TAUClampBoost",
369+
"Duration": 0,
370+
"Value": "0"
371+
},
366372
{
367373
"PowerHint": "DISABLE_TA_BOOST",
368374
"Node": "TAUClampBoost",

0 commit comments

Comments
 (0)