Disable limiting camera_hal for LAUNCH hint
If auto rotation is enabled, it will trigger LAUNCH hint while
camera is running if device rotates, which could limit camera_hal
tasks to little cores. So, disable it first until there is a new
hint for the rotation event.
Bug: 297273578
Test: build pass
Change-Id: I276d3c11e95cfaccaadfe45d58131a34a6bdfb54
diff --git a/powerhint-oriole.json b/powerhint-oriole.json
index c101230..f342612 100644
--- a/powerhint-oriole.json
+++ b/powerhint-oriole.json
@@ -598,30 +598,6 @@
"Value": "LAUNCH_EXTEND"
},
{
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDCPUSET_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
"Duration": 2000,
diff --git a/powerhint-raven.json b/powerhint-raven.json
index 81e01c0..329c33a 100644
--- a/powerhint-raven.json
+++ b/powerhint-raven.json
@@ -597,30 +597,6 @@
"Value": "LAUNCH_EXTEND"
},
{
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDCPUSET_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
"Duration": 2000,