From dba182188efd2eb78f69aac3c017f8b2e30d983c Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Tue, 19 Sep 2023 03:04:17 +0000 Subject: [PATCH] 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: Ib92bb1ee5833924a1e34b8c91e15f6cb26a0e645 --- powerhint.json | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/powerhint.json b/powerhint.json index 9942292..90063f3 100644 --- a/powerhint.json +++ b/powerhint.json @@ -600,30 +600,6 @@ "Type": "DoHint", "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",