From 118520982f882f52a7f62033c978d24163864e10 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Fri, 23 Feb 2024 08:28:48 +0000 Subject: [PATCH] Disable auto prefer idle if ta prefer_idle is explictly disabled In auto prefer idle mode, a task in top-app will be granted prefer idle if it satisfied the conditions. So turn auto prefer idle off if top-app prefer_idle is explictly disabled. Bug: 326507991 Test: build pass Change-Id: Id9cec1f2622619d4927c037db6790e1c332689e7 --- powerhint-akita.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/powerhint-akita.json b/powerhint-akita.json index 949b6ce..d5abeda 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -1176,6 +1176,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "ReducePreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "DISPLAY_INACTIVE", "Node": "FGPreferIdle", @@ -1602,6 +1608,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "ReducePreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDHighCpusetCpus", @@ -1758,6 +1770,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "ReducePreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CDPreferIdle", @@ -2052,6 +2070,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "ReducePreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "CDPreferIdle", @@ -2479,6 +2503,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "GAME", + "Node": "ReducePreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "GAME", "Node": "FGPreferIdle",