From a8a40d93227ec5f1b8aaee8d5e7ab98dcf621326 Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Thu, 12 Dec 2024 01:01:50 -0800 Subject: [PATCH] powerhint: Remove hints associated with the default TAUClampBoost value Since the default value 1 is the lowest priority, it only takes effect while all other values are disabled. Therefore, the hints associated to value 1 are unnecessary. Bug: 357445276 Change-Id: Ic7fdddfafc92969629cfbfd5cb4a392fe0060c3d Flag: EXEMPT not supported by this component yet Test: Boot to home and check the trace and ADPF profile Test: adb shell dumpsys android.hardware.power.IPower/default --- perf/powerhint-caiman.json | 18 ------------------ perf/powerhint-komodo.json | 18 ------------------ perf/powerhint-ripcurrent24.json | 18 ------------------ perf/powerhint-ripcurrentpro.json | 18 ------------------ perf/powerhint-tokay.json | 18 ------------------ perf/powerhint-zuma.json | 18 ------------------ 6 files changed, 108 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 8bf0aa90..3670723a 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -3213,24 +3213,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 8b93b02d..c7512d89 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -3213,24 +3213,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index d1a2e484..a0c7e452 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -1597,24 +1597,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 274b0e9f..a48f13c2 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -2911,24 +2911,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index db96078c..985e4d63 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -3213,24 +3213,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", diff --git a/perf/powerhint-zuma.json b/perf/powerhint-zuma.json index 1a75c204..3a18db1f 100644 --- a/perf/powerhint-zuma.json +++ b/perf/powerhint-zuma.json @@ -2372,24 +2372,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "REFRESH_120FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "REFRESH_60FPS", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Node": "TAUClampBoost", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle",