From 6d0a2a28514532444e4f2bc09b35b25f850d20ac Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Tue, 7 May 2024 00:52:15 +0000 Subject: [PATCH 1/2] powerhint: add PMU_FORCE_LIMIT control knob Bug: 335331630 Change-Id: I779d912c34d44b0afdc5e0ab9107dd6acfc268eb Signed-off-by: Taeju Park --- perf/powerhint-tegu.json | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index 23676be..700e667 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -617,6 +617,15 @@ ], "DefaultIndex": 0 }, + { + "Name": "PMU_FORCE_LIMIT", + "Path": "/proc/vendor_sched/pmu_force_limited", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0 + }, { "Name": "EM_Profile", "Path": "/sys/kernel/pixel_em/active_profile", @@ -1510,6 +1519,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "EM_Profile", @@ -1636,6 +1651,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "EM_Profile", @@ -1768,6 +1789,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", @@ -2026,6 +2053,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "PMU_LIT_LIMIT_FREQ", @@ -2220,6 +2253,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "LOW_POWER", "Node": "BigTjOffset", @@ -2405,6 +2444,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "PMU_FORCE_LIMIT", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "BigTjOffset", From 6f5bea436a0d724255f28a710f4506f870051aa0 Mon Sep 17 00:00:00 2001 From: Rios Kao Date: Thu, 21 Mar 2024 02:15:54 +0000 Subject: [PATCH 2/2] tegu: align buildin microphone value for master note: AOC changes the pdm list to align the value to different platform. Test: build pass Bug: 330632172 Change-Id: Ifc259aa6d2c82476fee9c1dcfbfb1fd291505fd0 --- audio/tegu/aidl_config/mixer_paths_aidl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/tegu/aidl_config/mixer_paths_aidl.xml b/audio/tegu/aidl_config/mixer_paths_aidl.xml index 7a21b46..8620718 100644 --- a/audio/tegu/aidl_config/mixer_paths_aidl.xml +++ b/audio/tegu/aidl_config/mixer_paths_aidl.xml @@ -1247,7 +1247,7 @@ - +