From 09e63f9519b58bf483fa15468075b679ec581b8a Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Thu, 30 May 2024 00:52:40 +0000 Subject: [PATCH] Revert "powerhint: add proactive kill hint for camera launch" Revert submission 27473137-P24_PA_KILL_HINT_24Q4 Reason for revert: will merge after mid of June Reverted changes: /q/submissionid:27473137-P24_PA_KILL_HINT_24Q4 Change-Id: Ie6fadb9881a00486ff631ab286aca9ff062a7a40 Bug: 322916612 --- perf/powerhint-caiman.json | 32 ------------------------------- perf/powerhint-komodo.json | 32 ------------------------------- perf/powerhint-ripcurrent24.json | 32 ------------------------------- perf/powerhint-ripcurrentpro.json | 32 ------------------------------- perf/powerhint-tokay.json | 32 ------------------------------- perf/powerhint-zuma.json | 32 ------------------------------- 6 files changed, 192 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 92e7876e..07c53e20 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -476,16 +476,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "BigTjOffset", "Path": "/sys/devices/platform/100a0000.BIG/offset_enabled", @@ -850,15 +840,6 @@ "67000" ], "ResetOnInit": true - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -1039,12 +1020,6 @@ "Duration": 5000, "Value": "1" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUSkipMask", @@ -1331,13 +1306,6 @@ "Duration": 0, "Value": "0x80" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index c4d2bab0..349da779 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -476,16 +476,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "BigTjOffset", "Path": "/sys/devices/platform/100a0000.BIG/offset_enabled", @@ -850,15 +840,6 @@ "67000" ], "ResetOnInit": true - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -1039,12 +1020,6 @@ "Duration": 5000, "Value": "1" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUSkipMask", @@ -1331,13 +1306,6 @@ "Duration": 0, "Value": "0x80" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index ae1bff00..fb2a7028 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -337,16 +337,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "INTCAMFreq", "Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq", @@ -604,15 +594,6 @@ "0,1,2,3,4,5,6,7,8" ], "Type": "Property" - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -723,12 +704,6 @@ "EnableProperty": "vendor.powerhal.camerarunning", "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_PMU", "Node": "PMU_POLL", @@ -747,13 +722,6 @@ "Duration": 33, "Value": "820000" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 4895bfee..a3780cf4 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -530,16 +530,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "INTCAMFreq", "Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq", @@ -839,15 +829,6 @@ "20 40" ], "ResetOnInit": true - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -1028,12 +1009,6 @@ "Duration": 5000, "Value": "1" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUSkipMask", @@ -1320,13 +1295,6 @@ "Duration": 0, "Value": "0x80" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 92e7876e..07c53e20 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -476,16 +476,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "BigTjOffset", "Path": "/sys/devices/platform/100a0000.BIG/offset_enabled", @@ -850,15 +840,6 @@ "67000" ], "ResetOnInit": true - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -1039,12 +1020,6 @@ "Duration": 5000, "Value": "1" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUSkipMask", @@ -1331,13 +1306,6 @@ "Duration": 0, "Value": "0x80" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-zuma.json b/perf/powerhint-zuma.json index 326c0b19..7476ae4c 100644 --- a/perf/powerhint-zuma.json +++ b/perf/powerhint-zuma.json @@ -485,16 +485,6 @@ "Type": "Property", "ResetOnInit": true }, - { - "Name": "PowerHALLaunch", - "Path": "vendor.powerhal.is_launch", - "Values": [ - "1", - "0" - ], - "Type": "Property", - "ResetOnInit": true - }, { "Name": "INTCAMFreq", "Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq", @@ -788,15 +778,6 @@ "20 40" ], "ResetOnInit": true - }, - { - "Name": "PA_KILL", - "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", - "Values": [ - "102400", - "0" - ], - "ResetOnInit": false } ], "Actions": [ @@ -953,12 +934,6 @@ "Duration": 5000, "Value": "1" }, - { - "PowerHint": "LAUNCH", - "Node": "PowerHALLaunch", - "Duration": 5000, - "Value": "1" - }, { "PowerHint": "LAUNCH_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -1102,13 +1077,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_LAUNCH", - "Node": "PA_KILL", - "EnableProperty": "vendor.powerhal.is_launch", - "Duration": 0, - "Value": "102400" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPU_BIG_TSKIN_BYPASS",