powerhint: Add FIXED_PERFORMANCE hints
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.
Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
diff --git a/powerhint.json b/powerhint.json
index 2133b8b..b2a77d3 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -232,6 +232,42 @@
"Value": "471000"
},
{
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUMidClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUMidClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
diff --git a/powerhint_a0.json b/powerhint_a0.json
index 2de5d27..a379f46 100644
--- a/powerhint_a0.json
+++ b/powerhint_a0.json
@@ -213,6 +213,30 @@
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "670000"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
}
]
}
diff --git a/powerhint_a1.json b/powerhint_a1.json
index 3a380a6..a526b0f 100644
--- a/powerhint_a1.json
+++ b/powerhint_a1.json
@@ -245,6 +245,42 @@
"Value": "670000"
},
{
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUMidClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPUMidClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMaxFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "FIXED_PERFORMANCE",
+ "Node": "CPULittleClusterMinFreq",
+ "Duration": 0,
+ "Value": "9999999"
+ },
+ {
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,