From 9df3e194b12c96585cdf20c80e7258cf327e67bb Mon Sep 17 00:00:00 2001 From: chungkai Date: Thu, 14 Apr 2022 03:10:01 +0000 Subject: [PATCH 1/3] powerhal: update new boost uclamp value update new boost uclamp value since we update cpu capacity Test: None Bug: 224649226 Signed-off-by: chungkai Change-Id: I5c57242c042326907725bac0a024aed01506694b --- powerhint.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/powerhint.json b/powerhint.json index 2b0e445..03102b8 100644 --- a/powerhint.json +++ b/powerhint.json @@ -143,9 +143,9 @@ "Path": "/proc/vendor_sched/ta_uclamp_min", "Values": [ "553", - "108", + "126", "1", - "42" + "55" ], "ResetOnInit": true }, @@ -153,9 +153,9 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "125", - "65", - "30" + "160", + "85", + "39" ], "ResetOnInit": true }, @@ -163,7 +163,7 @@ "Name": "MLUclampBoost", "Path": "/proc/vendor_sched/nnapi_uclamp_min", "Values": [ - "154", + "180", "512" ], "DefaultIndex": 0, @@ -418,7 +418,7 @@ "PowerHint": "INTERACTION", "Node": "SFUClampBoost", "Duration": 5000, - "Value": "65" + "Value": "85" }, { "PowerHint": "DEVICE_IDLE", @@ -430,7 +430,7 @@ "PowerHint": "LAUNCH", "Node": "SFUClampBoost", "Duration": 5000, - "Value": "65" + "Value": "85" }, { "PowerHint": "LAUNCH", @@ -1138,7 +1138,7 @@ "PowerHint": "REFRESH_60FPS", "Node": "TAUClampBoost", "Duration": 0, - "Value": "42" + "Value": "55" }, { "PowerHint": "ADPF_DISABLE_TA_BOOST", @@ -1170,7 +1170,7 @@ "PowerHint": "BOOST_60HZ", "Node": "TAUClampBoost", "Duration": 200, - "Value": "108" + "Value": "126" }, { "PowerHint": "DISPLAY_IDLE", From 6e2dd401a37fa7def3b99e05f07cd4bf82fd8ddb Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Fri, 22 Apr 2022 14:07:22 +0800 Subject: [PATCH 2/3] audio: adjust the digitial gain for speaker-mic add mic gain on path "speaker-mic" from 0 to 22 Bug: 228224014 Test: audio record Signed-off-by: Carter Hsu Change-Id: I0decedeb7f622b33b88b8b63061c95da6c52cfc9 --- audio/bluejay/config/mixer_paths.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/bluejay/config/mixer_paths.xml b/audio/bluejay/config/mixer_paths.xml index 4d4b1f3..57e261b 100644 --- a/audio/bluejay/config/mixer_paths.xml +++ b/audio/bluejay/config/mixer_paths.xml @@ -667,7 +667,7 @@ - + From b0e9848db4adbc0692b8de8d7464a16c3f007f94 Mon Sep 17 00:00:00 2001 From: chungkai Date: Fri, 22 Apr 2022 16:08:56 +0000 Subject: [PATCH 3/3] powerhal: update new boost uclamp value To avoid task being placed into little cluster, and keep same freq for middle cluster, increase the uclamp min to 129, Bug: 224649226 Test: freq is same as before Signed-off-by: chungkai Change-Id: I0e0c7617e4a50968ec18df164ee9388d7f0a4b66 --- powerhint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerhint.json b/powerhint.json index 2dc1abc..2e117c5 100644 --- a/powerhint.json +++ b/powerhint.json @@ -143,7 +143,7 @@ "Path": "/proc/vendor_sched/ta_uclamp_min", "Values": [ "553", - "126", + "129", "1", "55" ], @@ -1194,7 +1194,7 @@ "PowerHint": "BOOST_60HZ", "Node": "TAUClampBoost", "Duration": 200, - "Value": "126" + "Value": "129" }, { "PowerHint": "DISPLAY_IDLE",