From 4a72fa67217b69360fd238e77cfbac5352901fab Mon Sep 17 00:00:00 2001 From: guibing Date: Mon, 15 Apr 2024 23:24:10 +0000 Subject: [PATCH] adpf:caimito: add hboost junk detection time factor into power hint json files. Bug: 204204746 Test: adb shell dumpsys android.hardware.power.IPower/default; Check the device adpf sessions' traces. Change-Id: Id2912923a55c7788271312db9feefdecbfbc380f --- perf/powerhint-caiman.json | 3 +++ perf/powerhint-komodo.json | 3 +++ perf/powerhint-tokay.json | 3 +++ 3 files changed, 9 insertions(+) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 6070f830..91496adb 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -3170,6 +3170,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3202,6 +3203,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3234,6 +3236,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index a15df4b1..dbe57195 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -3170,6 +3170,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3202,6 +3203,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3234,6 +3236,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 6070f830..91496adb 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -3170,6 +3170,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3202,6 +3203,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3234,6 +3236,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, + "JunkCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },