ADPF:caimito: add tagged ADPF profile for SYSTEM_UI.
- Add a event node for SYSTEM_UI; - Add a separate SYSTEM_UI profile; - Remove unused profiles. Bug: 359672110 Test: adb shell dumpsys android.hardware.power.IPower/default Flag: NONE powerhal doesn't have a flag yet Change-Id: I9f5fa718c72c94229e23993b551592f567093dec
This commit is contained in:
parent
3afbcf588b
commit
c063e41292
3 changed files with 119 additions and 200 deletions
|
@ -978,6 +978,16 @@
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "SYSTEM_UI_ADPF_PROFILES",
|
||||||
|
"Path": "<AdpfConfig>:SYSTEM_UI",
|
||||||
|
"Values": [
|
||||||
|
"SYSTEM_UI_PROFILE"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true,
|
||||||
|
"Type": "Event"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -3771,79 +3781,42 @@
|
||||||
"GpuCapacityBoostMax": 25000
|
"GpuCapacityBoostMax": 25000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "SYSTEM_UI_PROFILE",
|
||||||
"PID_On": false,
|
"PID_On": true,
|
||||||
"PID_Po": 0,
|
"PID_Po": 2.0,
|
||||||
"PID_Pu": 0,
|
"PID_Pu": 0.5,
|
||||||
"PID_I": 0,
|
"PID_I": 0.0,
|
||||||
"PID_I_Init": 0,
|
"PID_I_Init": 200,
|
||||||
"PID_I_High": 0,
|
"PID_I_High": 512,
|
||||||
"PID_I_Low": 0,
|
"PID_I_Low": -30,
|
||||||
"PID_Do": 0,
|
"PID_Do": 500.0,
|
||||||
"PID_Du": 0,
|
"PID_Du": 0.0,
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
"UclampMin_On": true,
|
||||||
"UclampMin_Init": 250,
|
"UclampMin_Init": 231,
|
||||||
"UclampMin_High": 196,
|
"UclampMin_LoadUp": 730,
|
||||||
"UclampMin_Low": 196,
|
"UclampMin_LoadReset": 730,
|
||||||
|
"UclampMin_High": 480,
|
||||||
|
"UclampMin_Low": 2,
|
||||||
"UclampMax_EfficientBase": 500,
|
"UclampMax_EfficientBase": 500,
|
||||||
"UclampMax_EfficientOffset": 200,
|
"UclampMax_EfficientOffset": 200,
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 5.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "UiLowBoostWithoutPid",
|
|
||||||
"PID_On": false,
|
|
||||||
"PID_Po": 0,
|
|
||||||
"PID_Pu": 0,
|
|
||||||
"PID_I": 0,
|
|
||||||
"PID_I_Init": 0,
|
|
||||||
"PID_I_High": 0,
|
|
||||||
"PID_I_Low": 0,
|
|
||||||
"PID_Do": 0,
|
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
"SamplingWindow_P": 1,
|
||||||
"SamplingWindow_I": 1,
|
"SamplingWindow_I": 0,
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"UclampMin_On": true,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 52,
|
|
||||||
"UclampMin_Low": 52,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 5.0,
|
"StaleTimeFactor": 15.0,
|
||||||
"GpuBoost": false
|
"HeuristicBoost_On": true,
|
||||||
},
|
"HBoostModerateJankThreshold": 2,
|
||||||
{
|
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||||
"Name": "UiLowNoneBoost",
|
"HBoostSevereJankPidPu": 0.3,
|
||||||
"PID_On": false,
|
"HBoostSevereJankThreshold": 8,
|
||||||
"PID_Po": 0,
|
"HBoostUclampMinCeilingRange": [480, 722],
|
||||||
"PID_Pu": 0,
|
"HBoostUclampMinFloorRange": [230, 410],
|
||||||
"PID_I": 0,
|
"JankCheckTimeFactor": 1.2,
|
||||||
"PID_I_Init": 0,
|
"LowFrameRateThreshold": 25,
|
||||||
"PID_I_High": 0,
|
"MaxRecordsNum": 300,
|
||||||
"PID_I_Low": 0,
|
"GpuBoost": true,
|
||||||
"PID_Do": 0,
|
"GpuCapacityBoostMax": 25000
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 0,
|
|
||||||
"UclampMin_Low": 0,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 5.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -978,6 +978,16 @@
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "SYSTEM_UI_ADPF_PROFILES",
|
||||||
|
"Path": "<AdpfConfig>:SYSTEM_UI",
|
||||||
|
"Values": [
|
||||||
|
"SYSTEM_UI_PROFILE"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true,
|
||||||
|
"Type": "Event"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -3771,79 +3781,42 @@
|
||||||
"GpuCapacityBoostMax": 25000
|
"GpuCapacityBoostMax": 25000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "SYSTEM_UI_PROFILE",
|
||||||
"PID_On": false,
|
"PID_On": true,
|
||||||
"PID_Po": 0,
|
"PID_Po": 2.0,
|
||||||
"PID_Pu": 0,
|
"PID_Pu": 0.5,
|
||||||
"PID_I": 0,
|
"PID_I": 0.0,
|
||||||
"PID_I_Init": 0,
|
"PID_I_Init": 200,
|
||||||
"PID_I_High": 0,
|
"PID_I_High": 512,
|
||||||
"PID_I_Low": 0,
|
"PID_I_Low": -30,
|
||||||
"PID_Do": 0,
|
"PID_Do": 500.0,
|
||||||
"PID_Du": 0,
|
"PID_Du": 0.0,
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
"UclampMin_On": true,
|
||||||
"UclampMin_Init": 250,
|
"UclampMin_Init": 231,
|
||||||
"UclampMin_High": 196,
|
"UclampMin_LoadUp": 730,
|
||||||
"UclampMin_Low": 196,
|
"UclampMin_LoadReset": 730,
|
||||||
|
"UclampMin_High": 480,
|
||||||
|
"UclampMin_Low": 2,
|
||||||
"UclampMax_EfficientBase": 500,
|
"UclampMax_EfficientBase": 500,
|
||||||
"UclampMax_EfficientOffset": 200,
|
"UclampMax_EfficientOffset": 200,
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 15.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "UiLowBoostWithoutPid",
|
|
||||||
"PID_On": false,
|
|
||||||
"PID_Po": 0,
|
|
||||||
"PID_Pu": 0,
|
|
||||||
"PID_I": 0,
|
|
||||||
"PID_I_Init": 0,
|
|
||||||
"PID_I_High": 0,
|
|
||||||
"PID_I_Low": 0,
|
|
||||||
"PID_Do": 0,
|
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
"SamplingWindow_P": 1,
|
||||||
"SamplingWindow_I": 1,
|
"SamplingWindow_I": 0,
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"UclampMin_On": true,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 52,
|
|
||||||
"UclampMin_Low": 52,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 15.0,
|
"StaleTimeFactor": 15.0,
|
||||||
"GpuBoost": false
|
"HeuristicBoost_On": true,
|
||||||
},
|
"HBoostModerateJankThreshold": 2,
|
||||||
{
|
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||||
"Name": "UiLowNoneBoost",
|
"HBoostSevereJankPidPu": 0.3,
|
||||||
"PID_On": false,
|
"HBoostSevereJankThreshold": 8,
|
||||||
"PID_Po": 0,
|
"HBoostUclampMinCeilingRange": [480, 722],
|
||||||
"PID_Pu": 0,
|
"HBoostUclampMinFloorRange": [230, 410],
|
||||||
"PID_I": 0,
|
"JankCheckTimeFactor": 1.2,
|
||||||
"PID_I_Init": 0,
|
"LowFrameRateThreshold": 25,
|
||||||
"PID_I_High": 0,
|
"MaxRecordsNum": 300,
|
||||||
"PID_I_Low": 0,
|
"GpuBoost": true,
|
||||||
"PID_Do": 0,
|
"GpuCapacityBoostMax": 25000
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 0,
|
|
||||||
"UclampMin_Low": 0,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 15.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -978,6 +978,16 @@
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "SYSTEM_UI_ADPF_PROFILES",
|
||||||
|
"Path": "<AdpfConfig>:SYSTEM_UI",
|
||||||
|
"Values": [
|
||||||
|
"SYSTEM_UI_PROFILE"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true,
|
||||||
|
"Type": "Event"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -3771,79 +3781,42 @@
|
||||||
"GpuCapacityBoostMax": 25000
|
"GpuCapacityBoostMax": 25000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "UiHighBoostWithoutPid",
|
"Name": "SYSTEM_UI_PROFILE",
|
||||||
"PID_On": false,
|
"PID_On": true,
|
||||||
"PID_Po": 0,
|
"PID_Po": 2.0,
|
||||||
"PID_Pu": 0,
|
"PID_Pu": 0.5,
|
||||||
"PID_I": 0,
|
"PID_I": 0.0,
|
||||||
"PID_I_Init": 0,
|
"PID_I_Init": 200,
|
||||||
"PID_I_High": 0,
|
"PID_I_High": 512,
|
||||||
"PID_I_Low": 0,
|
"PID_I_Low": -30,
|
||||||
"PID_Do": 0,
|
"PID_Do": 500.0,
|
||||||
"PID_Du": 0,
|
"PID_Du": 0.0,
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
"UclampMin_On": true,
|
||||||
"UclampMin_Init": 250,
|
"UclampMin_Init": 231,
|
||||||
"UclampMin_High": 196,
|
"UclampMin_LoadUp": 730,
|
||||||
"UclampMin_Low": 196,
|
"UclampMin_LoadReset": 730,
|
||||||
|
"UclampMin_High": 480,
|
||||||
|
"UclampMin_Low": 2,
|
||||||
"UclampMax_EfficientBase": 500,
|
"UclampMax_EfficientBase": 500,
|
||||||
"UclampMax_EfficientOffset": 200,
|
"UclampMax_EfficientOffset": 200,
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 5.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "UiLowBoostWithoutPid",
|
|
||||||
"PID_On": false,
|
|
||||||
"PID_Po": 0,
|
|
||||||
"PID_Pu": 0,
|
|
||||||
"PID_I": 0,
|
|
||||||
"PID_I_Init": 0,
|
|
||||||
"PID_I_High": 0,
|
|
||||||
"PID_I_Low": 0,
|
|
||||||
"PID_Do": 0,
|
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
"SamplingWindow_P": 1,
|
||||||
"SamplingWindow_I": 1,
|
"SamplingWindow_I": 0,
|
||||||
"SamplingWindow_D": 1,
|
"SamplingWindow_D": 1,
|
||||||
"UclampMin_On": true,
|
"ReportingRateLimitNs": 166666660,
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 52,
|
|
||||||
"UclampMin_Low": 52,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
"TargetTimeFactor": 1.0,
|
||||||
"StaleTimeFactor": 5.0,
|
"StaleTimeFactor": 15.0,
|
||||||
"GpuBoost": false
|
"HeuristicBoost_On": true,
|
||||||
},
|
"HBoostModerateJankThreshold": 2,
|
||||||
{
|
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||||
"Name": "UiLowNoneBoost",
|
"HBoostSevereJankPidPu": 0.3,
|
||||||
"PID_On": false,
|
"HBoostSevereJankThreshold": 8,
|
||||||
"PID_Po": 0,
|
"HBoostUclampMinCeilingRange": [480, 722],
|
||||||
"PID_Pu": 0,
|
"HBoostUclampMinFloorRange": [230, 410],
|
||||||
"PID_I": 0,
|
"JankCheckTimeFactor": 1.2,
|
||||||
"PID_I_Init": 0,
|
"LowFrameRateThreshold": 25,
|
||||||
"PID_I_High": 0,
|
"MaxRecordsNum": 300,
|
||||||
"PID_I_Low": 0,
|
"GpuBoost": true,
|
||||||
"PID_Do": 0,
|
"GpuCapacityBoostMax": 25000
|
||||||
"PID_Du": 0,
|
|
||||||
"SamplingWindow_P": 1,
|
|
||||||
"SamplingWindow_I": 1,
|
|
||||||
"SamplingWindow_D": 1,
|
|
||||||
"UclampMin_On": true,
|
|
||||||
"UclampMin_Init": 250,
|
|
||||||
"UclampMin_High": 0,
|
|
||||||
"UclampMin_Low": 0,
|
|
||||||
"UclampMax_EfficientBase": 500,
|
|
||||||
"UclampMax_EfficientOffset": 200,
|
|
||||||
"ReportingRateLimitNs": 1,
|
|
||||||
"TargetTimeFactor": 1.0,
|
|
||||||
"StaleTimeFactor": 5.0,
|
|
||||||
"GpuBoost": false
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue