Merge "Use auto prefer fit for launch" into main

This commit is contained in:
Treehugger Robot 2024-10-07 16:17:21 +00:00 committed by Android (Google) Code Review
commit aba5cf7aa4
4 changed files with 220 additions and 44 deletions

View file

@ -333,7 +333,6 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min",
"Values": [
"765",
"600",
"1"
],
"ResetOnInit": true
@ -347,11 +346,21 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
@ -360,6 +369,7 @@
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
@ -370,6 +380,7 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
@ -484,6 +495,15 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskHigh",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
@ -1044,12 +1064,6 @@
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
@ -1120,6 +1134,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh",
@ -1128,9 +1148,33 @@
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "0xff"
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",

View file

@ -333,7 +333,6 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min",
"Values": [
"765",
"600",
"1"
],
"ResetOnInit": true
@ -347,11 +346,21 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
@ -360,6 +369,7 @@
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
@ -370,6 +380,7 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
@ -484,6 +495,15 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskHigh",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
@ -1044,12 +1064,6 @@
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
@ -1120,6 +1134,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh",
@ -1128,9 +1148,33 @@
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "0xff"
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",

View file

@ -321,7 +321,6 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min",
"Values": [
"765",
"600",
"1"
],
"ResetOnInit": true
@ -335,11 +334,21 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
@ -348,6 +357,7 @@
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
@ -358,6 +368,7 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
@ -472,6 +483,15 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskHigh",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
@ -968,12 +988,6 @@
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
@ -1044,6 +1058,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh",
@ -1052,9 +1072,33 @@
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "0xff"
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",

View file

@ -333,7 +333,6 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min",
"Values": [
"765",
"600",
"1"
],
"ResetOnInit": true
@ -347,11 +346,21 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
@ -360,6 +369,7 @@
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
@ -370,6 +380,7 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
@ -484,6 +495,15 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskHigh",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
@ -1044,12 +1064,6 @@
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
@ -1120,6 +1134,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh",
@ -1128,9 +1148,33 @@
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "0xff"
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",