powerhint.json: enable gpu capacity signalling.

Enables a signal indicating that the app has janked as
detected by the ADPF API.

Flag: NONE align device tuning from P24.
Test: perf / power tests
Bug: 371094656
Signed-off-by: Chungkai Mei <chungkai@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:12af273b1734b6396558dc2432688dae242b29b6)
Merged-In: I19279e0f5a5fea59ffd0728128d6170f61e8a3e2
Change-Id: I19279e0f5a5fea59ffd0728128d6170f61e8a3e2
This commit is contained in:
Chungkai Mei 2024-10-03 08:19:12 +00:00 committed by Android Build Coastguard Worker
parent b0004bda32
commit a928677845

View file

@ -3583,6 +3583,7 @@
"Value": "20 80"
}
],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",
"AdpfConfig": [
{
"Name": "REFRESH_120FPS",
@ -3618,7 +3619,9 @@
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
"MaxRecordsNum": 300,
"GpuBoost": true,
"GpuCapacityBoostMax": 40000
},
{
"Name": "REFRESH_90FPS",
@ -3654,7 +3657,9 @@
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
"MaxRecordsNum": 300,
"GpuBoost": true,
"GpuCapacityBoostMax": 32500
},
{
"Name": "REFRESH_60FPS",
@ -3690,7 +3695,9 @@
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
"MaxRecordsNum": 300,
"GpuBoost": true,
"GpuCapacityBoostMax": 25000
},
{
"Name": "UiHighBoostWithoutPid",
@ -3714,7 +3721,8 @@
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
"StaleTimeFactor": 5.0,
"GpuBoost": false
},
{
"Name": "UiLowBoostWithoutPid",
@ -3738,7 +3746,8 @@
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
"StaleTimeFactor": 5.0,
"GpuBoost": false
},
{
"Name": "UiLowNoneBoost",
@ -3762,7 +3771,8 @@
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
"StaleTimeFactor": 5.0,
"GpuBoost": false
}
]
}