From 6bfef6ec3144049f4b0d4b15931b8b287fbe936f Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Wed, 21 Sep 2022 11:57:28 +0800 Subject: [PATCH 1/9] audio: Update Fortemedia tuning for QPR1 1. HH: a) fine-tune FFP parameter in NB/WB/SWB b) Align same parameter: Handsfree RX to HCO RX Bug: 247914164 Test: Acoustic team verified b/247914164#comment4 Signed-off-by: Carter Hsu Change-Id: Ia1bac933cd2998c76316c3a599a23c4d5dced04c --- .../tuning/fortemedia_stereo/HANDSFREE.dat | Bin 117198 -> 117198 bytes .../tuning/fortemedia_stereo/HANDSFREE.mods | 26 +++++++++--------- .../tuning/fortemedia_stereo/HEADSET.dat | Bin 426106 -> 426106 bytes .../tuning/fortemedia_stereo/HEADSET.mods | 20 +++++++------- .../tuning/fortemedia_stereo/HANDSFREE.dat | Bin 117198 -> 117198 bytes .../tuning/fortemedia_stereo/HANDSFREE.mods | 26 +++++++++--------- .../tuning/fortemedia_stereo/HEADSET.dat | Bin 426106 -> 426106 bytes .../tuning/fortemedia_stereo/HEADSET.mods | 22 +++++++-------- 8 files changed, 47 insertions(+), 47 deletions(-) diff --git a/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.dat b/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.dat index a8129ad9fda463be645b1e8d45f3e7c7af558ea5..e51c38d9d9f7e2be7389e09cde4e7199b536ee95 100644 GIT binary patch delta 141 zcmX>%nf=^k_6@JBm>2}M8^kf@OHAIc$-Ox(SV54DL7<@_nPKt=t5cirrKvD(u1Z^> z4pcTBsO;S4stG_5u?e+{7+JO(#4!G2gc@MY4HURw&-jgz>w&OzBLj;}Bhcgvj*M|K VP!+Q@;dX7eUcjg=2<4_p0024rD_Q^m delta 135 zcmX>%nf=^k_6@JBm;$)B8^kf@OHAIc$-Ox(SV532fV-g~nPKt=t5cirrKvD(u1Z^> z4pcTBsO;S4stG_5u?e+{7#X%3#4!G2gc@MY4HURw&-jgTvz&)5_jYDqMr}c;+$>GF ME!(XZAjH!o0IIhucK`qY diff --git a/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods b/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods index 1a8c4d7..1db64e8 100644 --- a/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods +++ b/audio/cheetah/tuning/fortemedia_stereo/HANDSFREE.mods @@ -1,7 +1,7 @@ #PLATFORM_NAME gChip #EXPORT_FLAG HANDSFREE #SINGLE_API_VER 1.2.1 -#SAVE_TIME 2022-08-16 15:47:00 +#SAVE_TIME 2022-09-16 13:55:07 #CASE_NAME HANDSFREE-HANDFREE-VOICE_GENERIC-FB #PARAM_MODE FULL @@ -3769,7 +3769,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -6439,7 +6439,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0063 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -9109,7 +9109,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -19661,7 +19661,7 @@ 960 0x0000 //TX_AMS_RESRV_18 961 0x0000 //TX_AMS_RESRV_19 #RX -0 0x007C //RX_RECVFUNC_MODE_0 +0 0x047C //RX_RECVFUNC_MODE_0 1 0x0000 //RX_RECVFUNC_MODE_1 2 0x0003 //RX_SAMPLINGFREQ_SIG 3 0x0003 //RX_SAMPLINGFREQ_PROC @@ -19789,7 +19789,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -20512,7 +20512,7 @@ 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 #RX 2 -157 0x007C //RX_RECVFUNC_MODE_0 +157 0x047C //RX_RECVFUNC_MODE_0 158 0x0000 //RX_RECVFUNC_MODE_1 159 0x0003 //RX_SAMPLINGFREQ_SIG 160 0x0003 //RX_SAMPLINGFREQ_PROC @@ -20638,9 +20638,9 @@ 280 0x0CCD //RX_TDDRC_SMT_W 281 0x04BC //RX_TDDRC_DRC_GAIN 282 0x7C00 //RX_LAMBDA_PKA_FP -283 0x2000 //RX_TPKA_FP -284 0x2000 //RX_MIN_G_FP -285 0x0080 //RX_MAX_G_FP +283 0x13E0 //RX_TPKA_FP +284 0x0400 //RX_MIN_G_FP +285 0x1000 //RX_MAX_G_FP 286 0x0019 //RX_SPK_VOL 287 0x0000 //RX_VOL_RESRV_0 288 0x0000 //RX_MAXLEVEL_CNG @@ -22459,7 +22459,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -25129,7 +25129,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -27799,7 +27799,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG diff --git a/audio/cheetah/tuning/fortemedia_stereo/HEADSET.dat b/audio/cheetah/tuning/fortemedia_stereo/HEADSET.dat index 8be263714365a949854cba5fc77d0dbdaf2f9762..2faa898aea3ad88901f2a45eb7e2388929b8d9fb 100644 GIT binary patch delta 137 zcmey>AoZ(3s-cCkg=q_OT_6*K!1jhf=2@B`hDUJ_kplAoZ(3s-cCkg=q_OT_95c_x6TB=2@B`hD){%r@NHy>!_Of&szV BEe8Mq diff --git a/audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods b/audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods index 0b98119..e3276b7 100644 --- a/audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods +++ b/audio/cheetah/tuning/fortemedia_stereo/HEADSET.mods @@ -1,7 +1,7 @@ #PLATFORM_NAME gChip #EXPORT_FLAG HEADSET #SINGLE_API_VER 1.2.1 -#SAVE_TIME 2022-09-05 16:19:47 +#SAVE_TIME 2022-09-20 14:26:53 #CASE_NAME HEADSET-USB_BLACKBIRD-VOICE_GENERIC-NB #PARAM_MODE FULL @@ -54499,7 +54499,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -57169,7 +57169,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0063 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -59839,7 +59839,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -99761,7 +99761,7 @@ 960 0x0000 //TX_AMS_RESRV_18 961 0x0000 //TX_AMS_RESRV_19 #RX -0 0x007C //RX_RECVFUNC_MODE_0 +0 0x047C //RX_RECVFUNC_MODE_0 1 0x0000 //RX_RECVFUNC_MODE_1 2 0x0003 //RX_SAMPLINGFREQ_SIG 3 0x0003 //RX_SAMPLINGFREQ_PROC @@ -99889,7 +99889,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -100612,7 +100612,7 @@ 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 #RX 2 -157 0x007C //RX_RECVFUNC_MODE_0 +157 0x047C //RX_RECVFUNC_MODE_0 158 0x0000 //RX_RECVFUNC_MODE_1 159 0x0003 //RX_SAMPLINGFREQ_SIG 160 0x0003 //RX_SAMPLINGFREQ_PROC @@ -100738,9 +100738,9 @@ 280 0x0CCD //RX_TDDRC_SMT_W 281 0x04BC //RX_TDDRC_DRC_GAIN 282 0x7C00 //RX_LAMBDA_PKA_FP -283 0x2000 //RX_TPKA_FP -284 0x2000 //RX_MIN_G_FP -285 0x0080 //RX_MAX_G_FP +283 0x13E0 //RX_TPKA_FP +284 0x0400 //RX_MIN_G_FP +285 0x1000 //RX_MAX_G_FP 286 0x0019 //RX_SPK_VOL 287 0x0000 //RX_VOL_RESRV_0 288 0x0000 //RX_MAXLEVEL_CNG diff --git a/audio/panther/tuning/fortemedia_stereo/HANDSFREE.dat b/audio/panther/tuning/fortemedia_stereo/HANDSFREE.dat index ed1eb90ac200820d2e922e2009becbdeb6b84e92..fa7d06a4ce7cac18fd9db25cda9c44440c6c8bf6 100644 GIT binary patch delta 131 zcmX>%nf=^k_6%nf=^k_6tB3W891BxAN)FJRP$ IiKj^b0Aju@1poj5 diff --git a/audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods b/audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods index 326519f..3785da4 100644 --- a/audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods +++ b/audio/panther/tuning/fortemedia_stereo/HANDSFREE.mods @@ -1,7 +1,7 @@ #PLATFORM_NAME gChip #EXPORT_FLAG HANDSFREE #SINGLE_API_VER 1.2.1 -#SAVE_TIME 2022-08-16 15:57:15 +#SAVE_TIME 2022-09-16 13:41:12 #CASE_NAME HANDSFREE-HANDFREE-RESERVE1-FB #PARAM_MODE FULL @@ -9109,7 +9109,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -11779,7 +11779,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -14449,7 +14449,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -19661,7 +19661,7 @@ 960 0x0000 //TX_AMS_RESRV_18 961 0x0000 //TX_AMS_RESRV_19 #RX -0 0x007C //RX_RECVFUNC_MODE_0 +0 0x047C //RX_RECVFUNC_MODE_0 1 0x0000 //RX_RECVFUNC_MODE_1 2 0x0003 //RX_SAMPLINGFREQ_SIG 3 0x0003 //RX_SAMPLINGFREQ_PROC @@ -19789,7 +19789,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -20512,7 +20512,7 @@ 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 #RX 2 -157 0x007C //RX_RECVFUNC_MODE_0 +157 0x047C //RX_RECVFUNC_MODE_0 158 0x0000 //RX_RECVFUNC_MODE_1 159 0x0003 //RX_SAMPLINGFREQ_SIG 160 0x0003 //RX_SAMPLINGFREQ_PROC @@ -20638,9 +20638,9 @@ 280 0x0CCD //RX_TDDRC_SMT_W 281 0x0550 //RX_TDDRC_DRC_GAIN 282 0x7C00 //RX_LAMBDA_PKA_FP -283 0x2000 //RX_TPKA_FP -284 0x2000 //RX_MIN_G_FP -285 0x0080 //RX_MAX_G_FP +283 0x13E0 //RX_TPKA_FP +284 0x0400 //RX_MIN_G_FP +285 0x1000 //RX_MAX_G_FP 286 0x0014 //RX_SPK_VOL 287 0x0000 //RX_VOL_RESRV_0 288 0x0000 //RX_MAXLEVEL_CNG @@ -22459,7 +22459,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -25129,7 +25129,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -27799,7 +27799,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG diff --git a/audio/panther/tuning/fortemedia_stereo/HEADSET.dat b/audio/panther/tuning/fortemedia_stereo/HEADSET.dat index aa4af395fbb4813d18b273e70d941b3312f1c92e..2b83cecf0adf1ac0823a44fbf509780c85d9d9b3 100644 GIT binary patch delta 120 zcmey>AoZ(3s-cCkg=q_OT_6*K!1jhf=2@CR#&jU#-1b-1%x5$}!goa2thw7iuV)5g zmhGR{v%W}TWSM@!iB)|2`9;jn8R2Sxq7TjhMfDZf?lbZ}5SDIaV3BEL5Rh#YncOc| Lu)SM}?R_i&Ya1$+ delta 104 zcmey>AoZ(3s-cCkg=q_OT_95c_x6TB=2@CR#&jU#-1b-1%x5$}!goa2thw7iuV)5g wmhGR{v%W~0e%^^yV*B|;%+DF&DyH8*0~FI&V7t$_{nbWh8}991x@-o)0CsvPr2qf` diff --git a/audio/panther/tuning/fortemedia_stereo/HEADSET.mods b/audio/panther/tuning/fortemedia_stereo/HEADSET.mods index 15f06ea..64c5fa1 100644 --- a/audio/panther/tuning/fortemedia_stereo/HEADSET.mods +++ b/audio/panther/tuning/fortemedia_stereo/HEADSET.mods @@ -1,7 +1,7 @@ #PLATFORM_NAME gChip #EXPORT_FLAG HEADSET #SINGLE_API_VER 1.2.1 -#SAVE_TIME 2022-09-05 16:31:16 +#SAVE_TIME 2022-09-20 14:31:18 #CASE_NAME HEADSET-USB_BLACKBIRD-VOICE_GENERIC-NB #PARAM_MODE FULL @@ -54499,7 +54499,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -57169,7 +57169,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -59839,7 +59839,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -99761,7 +99761,7 @@ 960 0x0000 //TX_AMS_RESRV_18 961 0x0000 //TX_AMS_RESRV_19 #RX -0 0x007C //RX_RECVFUNC_MODE_0 +0 0x047C //RX_RECVFUNC_MODE_0 1 0x0000 //RX_RECVFUNC_MODE_1 2 0x0003 //RX_SAMPLINGFREQ_SIG 3 0x0003 //RX_SAMPLINGFREQ_PROC @@ -99889,7 +99889,7 @@ 125 0x7C00 //RX_LAMBDA_PKA_FP 126 0x13E0 //RX_TPKA_FP 127 0x0400 //RX_MIN_G_FP -128 0x0B50 //RX_MAX_G_FP +128 0x1000 //RX_MAX_G_FP 129 0x0058 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 131 0x0000 //RX_MAXLEVEL_CNG @@ -100612,7 +100612,7 @@ 129 0x0100 //RX_SPK_VOL 130 0x0000 //RX_VOL_RESRV_0 #RX 2 -157 0x007C //RX_RECVFUNC_MODE_0 +157 0x047C //RX_RECVFUNC_MODE_0 158 0x0000 //RX_RECVFUNC_MODE_1 159 0x0003 //RX_SAMPLINGFREQ_SIG 160 0x0003 //RX_SAMPLINGFREQ_PROC @@ -100738,9 +100738,9 @@ 280 0x0CCD //RX_TDDRC_SMT_W 281 0x0550 //RX_TDDRC_DRC_GAIN 282 0x7C00 //RX_LAMBDA_PKA_FP -283 0x2000 //RX_TPKA_FP -284 0x2000 //RX_MIN_G_FP -285 0x0080 //RX_MAX_G_FP +283 0x13E0 //RX_TPKA_FP +284 0x0400 //RX_MIN_G_FP +285 0x1000 //RX_MAX_G_FP 286 0x0014 //RX_SPK_VOL 287 0x0000 //RX_VOL_RESRV_0 288 0x0000 //RX_MAXLEVEL_CNG @@ -101464,7 +101464,7 @@ 287 0x0000 //RX_VOL_RESRV_0 #CASE_NAME HEADSET-TTY_VCO-RESERVE2-SWB -#PARAM_MODE Full +#PARAM_MODE FULL #PARAM_TYPE TX+2RX #TOTAL_CUSTOM_STEP 7+7 #TX From 5a36f8aa24ad09b72dc89d4801425acd329ee1b5 Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Fri, 16 Sep 2022 15:56:05 +0800 Subject: [PATCH 2/9] audio: update CCA default setting Bug: 248151108 Test: test build with default off is verified at b/248151108#comment3 Signed-off-by: Carter Hsu Change-Id: If087f61dc3bcd143e34211f63e42484b42df29bf --- device-cheetah.mk | 4 ++++ device-cloudripper.mk | 4 ++++ device-panther.mk | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/device-cheetah.mk b/device-cheetah.mk index c555e05..fc9f725 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -336,6 +336,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.camera.exif_reveal_make_model=true +##Audio Vendor property +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.audio.cca.enabled=false + # Device features PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml diff --git a/device-cloudripper.mk b/device-cloudripper.mk index c579fba..d9c6bd5 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -175,6 +175,10 @@ else endif +##Audio Vendor property +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.audio.cca.enabled=false + # Set zram size PRODUCT_VENDOR_PROPERTIES += \ vendor.zram.size=3g diff --git a/device-panther.mk b/device-panther.mk index 9512639..dcadae4 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -322,6 +322,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.camera.exif_reveal_make_model=true +##Audio Vendor property +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.audio.cca.enabled=false + # Device features PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml From 0d7de12563cb9002db41773be22e6cf9c3f18639 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Fri, 2 Sep 2022 00:19:02 +0000 Subject: [PATCH 3/9] Increase MIF frequency for 30fps (C10, P10), and 60fps (P10) This CL increases MIF frequency for C10, P10 device in 30fps mode in order to improve CPI, as well as P10 in 60fps mode (C10 for 60FPS was previously addressed in ag/19263388). Although the MIF power consumption increases due to this change, but the reduction in CPU cycles results in over-all SoC power saving. This change also doesn't negatively impact framedrop rate. Bug: 239240751 Test: ODPM and framedrop tests Change-Id: I0454e25bd8687b6378016f14990935ff03e7a38b --- powerhint-cheetah-a0.json | 3 ++- powerhint-cheetah.json | 3 ++- powerhint-panther-a0.json | 5 +++-- powerhint-panther.json | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index efda015..3c3d33c 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -6,6 +6,7 @@ "Values": [ "3172000", "1539000", + "1352000", "1014000", "421000" ], @@ -1253,7 +1254,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 6ae6c38..5dcd53c 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -6,6 +6,7 @@ "Values": [ "3172000", "1539000", + "1352000", "1014000", "421000" ], @@ -1295,7 +1296,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 93378a4..d9bbf4e 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "1352000", "1014000", "421000" ], @@ -1062,7 +1063,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1140,7 +1141,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-panther.json b/powerhint-panther.json index c378c75..ba8a191 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "1352000", "1014000", "421000" ], @@ -1084,7 +1085,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1162,7 +1163,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", From 3e5292e2677738c781270071fbe11395e03ba082 Mon Sep 17 00:00:00 2001 From: Carter Hsu Date: Wed, 21 Sep 2022 11:38:45 +0800 Subject: [PATCH 4/9] audio: allow Fortemedia to notify setting to CCA Bug: 237720492 Test: voice-call Signed-off-by: Carter Hsu Change-Id: I1a0cfc5511beddb153c7c627f691bdf53b457b5d --- audio/cheetah/config/audio_platform_configuration.xml | 2 +- audio/cloudripper/config/audio_platform_configuration.xml | 2 +- audio/panther/config/audio_platform_configuration.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/cheetah/config/audio_platform_configuration.xml b/audio/cheetah/config/audio_platform_configuration.xml index c729764..8fb572a 100644 --- a/audio/cheetah/config/audio_platform_configuration.xml +++ b/audio/cheetah/config/audio_platform_configuration.xml @@ -309,7 +309,7 @@ - + diff --git a/audio/cloudripper/config/audio_platform_configuration.xml b/audio/cloudripper/config/audio_platform_configuration.xml index 337c1a8..03b4011 100644 --- a/audio/cloudripper/config/audio_platform_configuration.xml +++ b/audio/cloudripper/config/audio_platform_configuration.xml @@ -298,7 +298,7 @@ - + diff --git a/audio/panther/config/audio_platform_configuration.xml b/audio/panther/config/audio_platform_configuration.xml index c729764..8fb572a 100644 --- a/audio/panther/config/audio_platform_configuration.xml +++ b/audio/panther/config/audio_platform_configuration.xml @@ -309,7 +309,7 @@ - + From 8c8bbf87f9b443c5e5b8831b247421e078eed600 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 21 Sep 2022 18:24:11 -0700 Subject: [PATCH 5/9] Add Ownership to powerhint files Bug: 248115959 Signed-off-by: Taeju Park Change-Id: I19f5cfa60637c1763ecd6ece90971f9a5d71e27d --- OWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 OWNERS diff --git a/OWNERS b/OWNERS new file mode 100644 index 0000000..5aee848 --- /dev/null +++ b/OWNERS @@ -0,0 +1 @@ +per-file powerhint-*.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com From 9f9a33218cf505e627eeaa0eaa78176ad2cbc820 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Tue, 20 Sep 2022 19:51:11 +0000 Subject: [PATCH 6/9] Update device corners and holepunch This CL updates the paths for the corners as well as small adjustments to the front-facing holepunch camera. Test: adb shell setprop debug.screenshot_rounded_corners 1 // then restart sysui Bug: 238416581 Change-Id: Idfe83b9732b30a8fff92ed1eb5bc8959ab1526eb --- .../base/core/res/res/values/config.xml | 2 +- .../res/drawable/rounded_corner_bottom.xml | 12 +++++------- .../SystemUI/res/drawable/rounded_corner_top.xml | 12 +++++------- .../res/drawable/rounded_corner_bottom.xml | 15 ++++++--------- .../SystemUI/res/drawable/rounded_corner_top.xml | 15 ++++++--------- 5 files changed, 23 insertions(+), 33 deletions(-) diff --git a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml index 8143486..8fb9fd2 100644 --- a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml +++ b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml @@ -51,7 +51,7 @@ - M 676,72 + M 677,72 a 43,43 0 1 0 86,0 a 43,43 0 1 0 -86,0 Z diff --git a/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 016390f..d561d3d 100644 --- a/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -12,13 +12,11 @@ limitations under the License. --> - + android:width="121px" + android:height="121px" + android:viewportWidth="13.14" + android:viewportHeight="13.14"> + android:pathData="M13.1,0c-0.94,0 -1.87,0 -2.81,0.01c-0.94,0.01 -1.87,0.04 -2.8,0.17c-1.89,0.26 -3.62,0.92 -5,2.31C1.1,3.87 0.43,5.6 0.17,7.49c-0.13,0.93 -0.16,1.86 -0.17,2.8C0,11.22 0,12.16 0,13.1c0,0.02 0,0.03 0,0.05C0,8.76 0,4.38 0,0c4.38,0 8.76,0 13.14,0C13.13,0 13.11,0 13.1,0z"/> - diff --git a/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index c1ab6e1..d561d3d 100644 --- a/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/cheetah/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -12,13 +12,11 @@ limitations under the License. --> - + android:width="121px" + android:height="121px" + android:viewportWidth="13.14" + android:viewportHeight="13.14"> + android:pathData="M13.1,0c-0.94,0 -1.87,0 -2.81,0.01c-0.94,0.01 -1.87,0.04 -2.8,0.17c-1.89,0.26 -3.62,0.92 -5,2.31C1.1,3.87 0.43,5.6 0.17,7.49c-0.13,0.93 -0.16,1.86 -0.17,2.8C0,11.22 0,12.16 0,13.1c0,0.02 0,0.03 0,0.05C0,8.76 0,4.38 0,0c4.38,0 8.76,0 13.14,0C13.13,0 13.11,0 13.1,0z"/> - diff --git a/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index d4bd012..0601a6d 100644 --- a/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -12,14 +12,11 @@ limitations under the License. --> - + android:width="76px" + android:height="76px" + android:viewportWidth="13.14" + android:viewportHeight="13.1"> - + android:fillColor="#FF000000" + android:pathData="M13.1,0c-0.94,0 -1.87,0 -2.81,0.01c-0.94,0.01 -1.87,0.04 -2.8,0.17c-1.89,0.26 -3.62,0.92 -5,2.31C1.1,3.87 0.43,5.6 0.17,7.49c-0.13,0.93 -0.16,1.86 -0.17,2.8C0,11.22 0,12.16 0,13.1c0,0.02 0,0.03 0,0.05C0,8.76 0,4.38 0,0c4.38,0 8.76,0 13.14,0C13.13,0 13.11,0 13.1,0z"/> - diff --git a/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index f8f46dc..0601a6d 100644 --- a/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/panther/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -12,14 +12,11 @@ limitations under the License. --> - + android:width="76px" + android:height="76px" + android:viewportWidth="13.14" + android:viewportHeight="13.1"> - + android:fillColor="#FF000000" + android:pathData="M13.1,0c-0.94,0 -1.87,0 -2.81,0.01c-0.94,0.01 -1.87,0.04 -2.8,0.17c-1.89,0.26 -3.62,0.92 -5,2.31C1.1,3.87 0.43,5.6 0.17,7.49c-0.13,0.93 -0.16,1.86 -0.17,2.8C0,11.22 0,12.16 0,13.1c0,0.02 0,0.03 0,0.05C0,8.76 0,4.38 0,0c4.38,0 8.76,0 13.14,0C13.13,0 13.11,0 13.1,0z"/> - From bd91baeff9ad1b24de275ed9b97502b3e1e92ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Tue, 13 Sep 2022 01:56:01 +0000 Subject: [PATCH 7/9] Set Lyric camera_hardware variable. Bug: 240478511 Test: presubmit Change-Id: I34e6a72252b1606cf93fa7b0f682fc37c16b708e Merged-In: I34e6a72252b1606cf93fa7b0f682fc37c16b708e --- device-cheetah.mk | 2 ++ device-cloudripper.mk | 2 ++ device-panther.mk | 2 ++ device-ravenclaw.mk | 2 ++ 4 files changed, 8 insertions(+) diff --git a/device-cheetah.mk b/device-cheetah.mk index fc9f725..3759ccb 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -36,6 +36,8 @@ ifeq ($(filter factory_cheetah, $(TARGET_PRODUCT)),) include device/google/pantah/uwb/uwb_calibration.mk endif +# go/lyric-soong-variables +$(call soong_config_set,lyric,camera_hardware,cheetah) $(call soong_config_set,lyric,tuning_product,cheetah) $(call soong_config_set,google3a_config,target_device,cheetah) diff --git a/device-cloudripper.mk b/device-cloudripper.mk index d9c6bd5..1b63578 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -28,6 +28,8 @@ include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs101/bluetooth/bluetooth.mk DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/pantah/device_framework_matrix_product.xml +# go/lyric-soong-variables +$(call soong_config_set,lyric,camera_hardware,cloudripper) $(call soong_config_set,lyric,tuning_product,cloudripper) $(call soong_config_set,google3a_config,target_device,cloudripper) diff --git a/device-panther.mk b/device-panther.mk index dcadae4..e053afb 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -32,6 +32,8 @@ include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs101/bluetooth/bluetooth.mk DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/pantah/device_framework_matrix_product.xml +# go/lyric-soong-variables +$(call soong_config_set,lyric,camera_hardware,panther) $(call soong_config_set,lyric,tuning_product,panther) $(call soong_config_set,google3a_config,target_device,panther) diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index c18b4eb..f8ef6dc 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -33,6 +33,8 @@ include device/google/gs101/uwb/uwb.mk include device/google/pantah/uwb/uwb_calibration.mk endif +# go/lyric-soong-variables +$(call soong_config_set,lyric,camera_hardware,ravenclaw) $(call soong_config_set,lyric,tuning_product,cloudripper) $(call soong_config_set,google3a_config,target_device,cloudripper) From 599eee8a8b7c35475706c8ed1e35d5548e6ae404 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 21 Sep 2022 14:03:20 -0700 Subject: [PATCH 8/9] Relax CPU minimum frequency boost for LAUNCH_CAMERA Bug: 245565600 Signed-off-by: Taeju Park Change-Id: Ib1193ad825dd14d9f6114e3d39fc79c83aed1a29 --- powerhint-cheetah-a0.json | 24 +++++++++++++++++++++--- powerhint-cheetah.json | 24 +++++++++++++++++++++--- powerhint-panther-a0.json | 24 +++++++++++++++++++++--- powerhint-panther.json | 24 +++++++++++++++++++++--- 4 files changed, 84 insertions(+), 12 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 3c3d33c..8fd1a60 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -42,6 +42,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1401000", "1197000", "0" ], @@ -73,6 +74,7 @@ "9999999", "2253000", "2130000", + "1836000", "1197000", "0" ], @@ -106,6 +108,7 @@ "2704000", "2507000", "2252000", + "1826000", "1106000", "0" ], @@ -144,6 +147,15 @@ ], "ResetOnInit": true }, + { + "Name": "CAMUClampBoost", + "Path": "/proc/vendor_sched/cam_uclamp_min", + "Values": [ + "612", + "0" + ], + "ResetOnInit": true + }, { "Name": "TAUClampBoost", "Path": "/proc/vendor_sched/ta_uclamp_min", @@ -684,7 +696,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -696,7 +708,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUMidClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -708,7 +720,13 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CAMUClampBoost", + "Duration": 1000, + "Value": "612" }, { "PowerHint": "CAMERA_LAUNCH", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 5dcd53c..2204e1a 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -42,6 +42,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1401000", "1197000", "0" ], @@ -73,6 +74,7 @@ "9999999", "2253000", "2130000", + "1836000", "1197000", "0" ], @@ -106,6 +108,7 @@ "2704000", "2507000", "2252000", + "1826000", "1106000", "0" ], @@ -171,6 +174,15 @@ ], "ResetOnInit": true }, + { + "Name": "CAMUClampBoost", + "Path": "/proc/vendor_sched/cam_uclamp_min", + "Values": [ + "612", + "0" + ], + "ResetOnInit": true + }, { "Name": "TAUClampBoost", "Path": "/proc/vendor_sched/ta_uclamp_min", @@ -726,7 +738,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -738,7 +750,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUMidClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -750,7 +762,13 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CAMUClampBoost", + "Duration": 1000, + "Value": "612" }, { "PowerHint": "CAMERA_LAUNCH", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index d9bbf4e..d8f6061 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -41,6 +41,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1401000", "1197000", "0" ], @@ -68,6 +69,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1836000", "1197000", "0" ], @@ -95,6 +97,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1826000", "1106000", "0" ], @@ -133,6 +136,15 @@ ], "ResetOnInit": true }, + { + "Name": "CAMUClampBoost", + "Path": "/proc/vendor_sched/cam_uclamp_min", + "Values": [ + "612", + "0" + ], + "ResetOnInit": true + }, { "Name": "TAUClampBoost", "Path": "/proc/vendor_sched/ta_uclamp_min", @@ -673,7 +685,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -685,7 +697,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUMidClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -697,7 +709,13 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CAMUClampBoost", + "Duration": 1000, + "Value": "612" }, { "PowerHint": "CAMERA_LAUNCH", diff --git a/powerhint-panther.json b/powerhint-panther.json index ba8a191..210da53 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -41,6 +41,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1401000", "1197000", "0" ], @@ -68,6 +69,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1836000", "1197000", "0" ], @@ -95,6 +97,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1826000", "1106000", "0" ], @@ -151,6 +154,15 @@ ], "ResetOnInit": true }, + { + "Name": "CAMUClampBoost", + "Path": "/proc/vendor_sched/cam_uclamp_min", + "Values": [ + "612", + "0" + ], + "ResetOnInit": true + }, { "Name": "TAUClampBoost", "Path": "/proc/vendor_sched/ta_uclamp_min", @@ -695,7 +707,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -707,7 +719,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUMidClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -719,7 +731,13 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CAMUClampBoost", + "Duration": 1000, + "Value": "612" }, { "PowerHint": "CAMERA_LAUNCH", From 522230b792d26bd409e5243909d55ffbfe56232d Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 21 Sep 2022 17:25:02 -0700 Subject: [PATCH 9/9] Fixing PMU setting and cleaning up powerhint Bug: 235147585 Signed-off-by: Taeju Park Change-Id: I5b9d7808e97956716b48ef7861b0abf4d4fae176 --- powerhint-cheetah-a0.json | 41 +++++++++++++-------------------------- powerhint-cheetah.json | 41 +++++++++++++-------------------------- powerhint-panther-a0.json | 41 +++++++++++++-------------------------- powerhint-panther.json | 41 +++++++++++++-------------------------- 4 files changed, 56 insertions(+), 108 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 8fd1a60..618dca2 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -536,17 +536,7 @@ "Path": "/sys/kernel/pixel_em/active_profile", "Values": [ "default", - "cam1", - "cam2", - "front_cam" - ], - "DefaultIndex": 0 - }, - { - "Name": "PMU_LIT_LIMIT_FREQ", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/limit_frequency", - "Values": [ - "1401000" + "cam1" ], "DefaultIndex": 0 }, @@ -555,8 +545,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "2", - "1", - "0" + "0" ], "DefaultIndex": 0 }, @@ -565,9 +554,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", "Values": [ "70", - "50", - "30", - "0" + "0" ], "DefaultIndex": 0 }, @@ -575,8 +562,7 @@ "Name": "PMU_MID_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", "Values": [ - "1836000", - "1491000" + "1836000" ], "DefaultIndex": 0 }, @@ -585,8 +571,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "6", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -595,8 +580,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", "Values": [ "65", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -605,7 +589,6 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/limit_frequency", "Values": [ "2507000", - "2048000", "1826000" ], "DefaultIndex": 0 @@ -615,8 +598,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "5", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -625,8 +607,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/spc_threshold", "Values": [ "69", - "50", - "0" + "50" ], "DefaultIndex": 0 } @@ -1160,6 +1141,12 @@ "Duration": 0, "Value": "50" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1826000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_LCPI_THRESHOLD", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 2204e1a..ee5c42a 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -533,17 +533,7 @@ "Path": "/sys/kernel/pixel_em/active_profile", "Values": [ "default", - "cam1", - "cam2", - "front_cam" - ], - "DefaultIndex": 0 - }, - { - "Name": "PMU_LIT_LIMIT_FREQ", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/limit_frequency", - "Values": [ - "1401000" + "cam1" ], "DefaultIndex": 0 }, @@ -552,8 +542,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "2", - "1", - "0" + "0" ], "DefaultIndex": 0 }, @@ -562,9 +551,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", "Values": [ "70", - "50", - "30", - "0" + "0" ], "DefaultIndex": 0 }, @@ -572,8 +559,7 @@ "Name": "PMU_MID_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", "Values": [ - "1836000", - "1491000" + "1836000" ], "DefaultIndex": 0 }, @@ -582,8 +568,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "6", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -592,8 +577,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", "Values": [ "65", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -602,7 +586,6 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/limit_frequency", "Values": [ "2507000", - "2048000", "1826000" ], "DefaultIndex": 0 @@ -612,8 +595,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "5", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -622,8 +604,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/spc_threshold", "Values": [ "69", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -1202,6 +1183,12 @@ "Duration": 0, "Value": "50" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1826000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_LCPI_THRESHOLD", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index d8f6061..acd02db 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -525,17 +525,7 @@ "Path": "/sys/kernel/pixel_em/active_profile", "Values": [ "default", - "cam1", - "cam2", - "front_cam" - ], - "DefaultIndex": 0 - }, - { - "Name": "PMU_LIT_LIMIT_FREQ", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/limit_frequency", - "Values": [ - "1401000" + "cam1" ], "DefaultIndex": 0 }, @@ -544,8 +534,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "2", - "1", - "0" + "0" ], "DefaultIndex": 0 }, @@ -554,9 +543,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", "Values": [ "70", - "50", - "30", - "0" + "0" ], "DefaultIndex": 0 }, @@ -564,8 +551,7 @@ "Name": "PMU_MID_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", "Values": [ - "1836000", - "1491000" + "1836000" ], "DefaultIndex": 0 }, @@ -574,8 +560,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "6", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -584,8 +569,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", "Values": [ "65", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -594,7 +578,6 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/limit_frequency", "Values": [ "2507000", - "2048000", "1826000" ], "DefaultIndex": 0 @@ -604,8 +587,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "5", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -614,8 +596,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/spc_threshold", "Values": [ "69", - "50", - "0" + "50" ], "DefaultIndex": 0 } @@ -1047,6 +1028,12 @@ "Duration": 0, "Value": "50" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1826000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_LCPI_THRESHOLD", diff --git a/powerhint-panther.json b/powerhint-panther.json index 210da53..135419d 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -513,17 +513,7 @@ "Path": "/sys/kernel/pixel_em/active_profile", "Values": [ "default", - "cam1", - "cam2", - "front_cam" - ], - "DefaultIndex": 0 - }, - { - "Name": "PMU_LIT_LIMIT_FREQ", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/limit_frequency", - "Values": [ - "1401000" + "cam1" ], "DefaultIndex": 0 }, @@ -532,8 +522,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "2", - "1", - "0" + "0" ], "DefaultIndex": 0 }, @@ -542,9 +531,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/spc_threshold", "Values": [ "70", - "50", - "30", - "0" + "0" ], "DefaultIndex": 0 }, @@ -552,8 +539,7 @@ "Name": "PMU_MID_LIMIT_FREQ", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", "Values": [ - "1836000", - "1491000" + "1836000" ], "DefaultIndex": 0 }, @@ -562,8 +548,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "6", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -572,8 +557,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/spc_threshold", "Values": [ "65", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -582,7 +566,6 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/limit_frequency", "Values": [ "2507000", - "2048000", "1826000" ], "DefaultIndex": 0 @@ -592,8 +575,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/lcpi_threshold", "Values": [ "5", - "3", - "0" + "3" ], "DefaultIndex": 0 }, @@ -602,8 +584,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/spc_threshold", "Values": [ "69", - "50", - "0" + "50" ], "DefaultIndex": 0 }, @@ -1069,6 +1050,12 @@ "Duration": 0, "Value": "50" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1826000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_BIG_LCPI_THRESHOLD",