Commit graph

852 commits

Author SHA1 Message Date
Ali K. Zadeh
f81ce08592 Reduce DVFSHeadroom to 1100 for CAMERA_STREAMING_STANDARD
With CDPreferIdle enabled, the current DVFSHeadroom pushes the CL0
frequency too high. This CL reduces this value to 1100, resulting in a
lower CPU power while performance remains mostly intact.

Bug: 304536786
Test: 1080p30fps - https://docs.google.com/spreadsheets/d/1A6Ck6Hyhs5su_xhn_6YIrLKSGc-tVIbzMIcGP4ucp-w/edit?resourcekey=0-Tj0KiAgzcejZJAUem9D2Ew#gid=2127971741
Test: 4k30fps - https://docs.google.com/spreadsheets/d/1scT3e3jeAekH6L7vZ3WtLLJsRxyxaq6JxbXKW4_tkH8/edit#gid=1060301792
Test: Photo preview - https://docs.google.com/spreadsheets/d/1W8WhkDqZccYvh4Zd0wXNFaCxWrUY-TOuXoFuBSVkk88/edit?resourcekey=0-i8drOxv0D8QioXYJNhZyGA#gid=380332953
Test: Portrait preview - https://docs.google.com/spreadsheets/d/1g9olzsTKNodKH8o0EtlcYbmLHOSbwnUVLyHAGs89tTE/edit?resourcekey=0-az_TeGJi_aH-B_DGqyTugQ#gid=524055346
Test: Video Bokeh - https://docs.google.com/spreadsheets/d/162XjO8vhbL9JFolzjqDUhaMp40NWWQP7PMr_34JS8PE/edit?resourcekey=0-gtA-l_Z0c_aDK5Y898XnrA#gid=1290026232
Test: 120fps - https://docs.google.com/spreadsheets/d/1nSA2ybed-fu6RqBdsa0JZ4CRM6002HPYiW3dJC_rxvw/edit#gid=961019110
Test: loaded test - https://docs.google.com/spreadsheets/d/1wGlPn_WdX5ZJAhppmZBh_Iih3UcSwGQeDb8R-OG2Jhk/edit?resourcekey=0-NKPtSKHqq1HwPwZDw7OljA#gid=1710307951
Change-Id: I1271c60e669dbf437467f28903254bb95a07beb0
2024-04-26 17:13:32 +00:00
Chaohui Wang
8b9a13f1c8 [P24] Implement Final MIC e-label for Japan Dogfood
Bug: 317147035
Test: visual
Change-Id: I6626a9666a15b65c6aa9cf1c6f0b0445a0dca43f
2024-04-25 13:31:26 +08:00
Sam Ou
12f0ba7641 Merge "bm: config: add quick save br_stats and deglitch ms" into 24D1-dev 2024-04-25 02:33:57 +00:00
Treehugger Robot
06a5da28a3 Merge "gps: Update GNSS FW 4.15.1_5_P4 with config change for P24" into 24D1-dev 2024-04-24 13:05:28 +00:00
Treehugger Robot
3683771691 Merge "Add antenna position coordinates" into 24D1-dev 2024-04-24 09:15:22 +00:00
samou
aaddc6d97e bm: config: add quick save br_stats and deglitch ms
Bug: 336215786
Change-Id: I0c8548e84e08f0106b2a88f6afadba0dc1021bcc
Signed-off-by: samou <samou@google.com>
2024-04-24 06:58:26 +00:00
James Huang
abf6f68528 gps: Update GNSS FW 4.15.1_5_P4 with config change for P24
Add Chip_Configuration_FeatureCfg_MTPL = 0 to disable MTPL

Bug: 336179125
Test: CTS/VTS, GNSS sanity test and SST in b/336424148
Change-Id: I56c9859a13dba388321b499d11e16cd4ec2bf56e
2024-04-24 12:01:10 +08:00
Shinru Han
a792368a2a Merge "Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into 24D1-dev 2024-04-24 00:59:37 +00:00
Shinru Han
3c2cde09f0 Merge "gps: update gps makefile" into 24D1-dev 2024-04-24 00:59:37 +00:00
David Li
f04d29f270 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev 2024-04-23 19:21:48 +00:00
John Chang
528fb87965 Merge "display: remove 10 Hz blocking zone" into 24D1-dev 2024-04-23 16:57:02 +00:00
Treehugger Robot
2bdbf60d51 Merge "[Cutout] Make cutout rect approximation intersect with y=0" into 24D1-dev 2024-04-23 15:21:01 +00:00
cweichun
bc2f58551c display: remove 10 Hz blocking zone
Bug: 335656648
Test: check blocking zone correctness
Change-Id: I8ef71536f6cda69c2c55130b7463f5656fde3cee
Merged-In: I8ef71536f6cda69c2c55130b7463f5656fde3cee
(cherry picked from commit aac0caa551)
2024-04-23 12:13:17 +00:00
Treehugger Robot
911547e2e4 Merge "gps: Update SUPL UT1 timer" into 24D1-dev 2024-04-23 11:56:57 +00:00
Kyle Hsiao
c9ea059e76 Add antenna position coordinates
Bug: 336231717
Test: manual
Merged-In: Ifc002eb234cf5df8b0fcbc7a78f2790fdd98496b
Change-Id: Ifc002eb234cf5df8b0fcbc7a78f2790fdd98496b
2024-04-23 07:19:55 +00:00
Samridhi
3558b21aac Merge "Add overrides for settings search for touch troubleshooting" into 24D1-dev 2024-04-23 02:55:34 +00:00
Ali K. Zadeh
3d27c634c1 Merge "Increase SPC thresholds for 60fps" into 24D1-dev 2024-04-22 21:11:03 +00:00
Ali K. Zadeh
aa9721834c Merge "Make PreferHighcap settings for VideoCall consistent between devices" into 24D1-dev 2024-04-22 21:10:32 +00:00
Evan Laird
9e8028074c [Cutout] Make cutout rect approximation intersect with y=0
Tokay, Caiman, and Komodo all had cutout rect approximations that did
not intersect with the top edge of the phone (they did not start at
y=0). This was causing logic in SystemUI not to be aware of _which_ edge
the cutout was associated with, and thus in some cases would not account
for potential letterboxing.

This change modifies the rect approximations to start at y=0, and adds
that same amount to their height so that the sizing should be the same.

Test: manually verified the .svg shapes
Test: manual on device
Bug: 319203599
Flag: NONE
Change-Id: I2e669b8d178eb5ace29b0d4f68c1e500b545d601
(cherry picked from commit 4990157024)
2024-04-22 19:42:51 +00:00
Wayne Lin
d3a92eb85f gps: Update SUPL UT1 timer
set SUPL UT1 timer to 20 seconds to align ixit_timer_UT1 range

Bug: 334885271
Test: config works to set UT1 timer to 20 seconds
Change-Id: Ie11de2033067bc9655b4eb92e87be4ee34f41491
2024-04-22 08:02:33 +00:00
Jason Hsu
735c7ea2f9 audio: 2024/04/19 Fortemedia tuning settings for DVT DF v3
<Overall table path>
Fortemedia tables => /vendor/etc/aoc

<change list>

TK4
- Handsfree (Ricky)
1. Optimize HHWB/SWB volume, FR, LR tuning for DVT device
2. Add AMS parameter in HA/HH but Function off

CM4
-Handset (Duncan)
1: HAWB setting  increase 3150Hz for meet the requirement for pass TIA5050 NB
2: Fine tune HAWB for DVT device RFR and RLR volume curve for pass WB&NB
3: Fine tune HASWB for DVT device  RFR and RLR volume curve for pass SWB
4: Batch copy from generic to co-use case

KM4
- Handsfree (Owen)
1. Tx: SWB AEC/DT V0411tuning to fix echo loss unstable issue and modify Tx DRC gain(26dB)/EQ for DVT
2. Rx: Modify DRC gain to 15dB for DVT
3. Batch copy from generic to co-use case

Bug: 335790962
Test: Verified by Acoustic team

Change-Id: I1e8701c0e5dfaa27481346b0b7aa28ed78e68fbb
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-22 09:42:30 +08:00
Ali K. Zadeh
c3a6514d48 Increase SPC thresholds for 60fps
This CL increase SPC threshold for little core to 55, and for mid core
to 32. Tests show that in a loaded scenario, framedrop rate can reduce
to almost zero, while not impacting the power in the unloaded (baseline)
scenario.

Bug: 304536786
Test: 1080p60: https://docs.google.com/spreadsheets/d/10g6mWm8q9FgnBDvC1CzYWgVM6DZZJQLdAYqf2zW209U/edit?usp=sharing
Test: 4k60: https://docs.google.com/spreadsheets/d/1Rnz5gkqgoHFz5vwq5uezy8JD1uGkq_52fqDAmBetafY/edit?usp=sharing&resourcekey=0-zAOJ1GPbHWGYdU5QlUaH3Q
Test: Loaded - 1080p60: https://docs.google.com/spreadsheets/d/1Ae1sFdXfHL0R_za3o7tUhws-4Xs3F7XktPld9Eh0xYE/edit?usp=sharing&resourcekey=0-dPQmBCXISNX_GA8s2uzLcw
Test: Loaded - 4k60: https://docs.google.com/spreadsheets/d/1QeSJjTRhyL41Bjm9wF9tKcC8mHpC02vkr6R2qJlNA1w/edit?usp=sharing
Change-Id: I077a42349527721f31eeb10c4521f48c1448374a
2024-04-19 22:02:04 +00:00
Sayanna Chandula
d3d8be7a77 Merge "thermal: update abnormal thresholds for model-legacy-diff" into 24D1-dev 2024-04-19 21:34:41 +00:00
David Li
789c561c9f audio: change in-call-capture paths and remove unused ctls
Bug: 333840723
Test: python3 dialer-cmd.py callaudio record /data/data/com.google.android.dialer/cache/record-$datetime.pcm
Test: Live caption in dialer
Change-Id: I5d57a5983ead5664a33d6da0c4b5ecc101059ebd
2024-04-20 04:25:47 +08:00
Ali K. Zadeh
c2a2ce209d Make PreferHighcap settings for VideoCall consistent between devices
Bug: 323257509
Test: device boot
Change-Id: I3ba16e14c75847ef0bf08dee946ead65d762f63c
2024-04-19 18:10:58 +00:00
Ravi Jain
6393ce77c4 Merge "dumpstate: touch: Init using touch_predump" into 24D1-dev 2024-04-19 05:47:47 +00:00
Samridhi
851b76848f Add overrides for settings search for touch troubleshooting
Test: MANUAL
Bug: 330743136
Change-Id: Iea3319ff46405a3721983be27631b1941e1da283
2024-04-19 03:02:30 +00:00
Treehugger Robot
c9cf9bdb16 Merge "adpf:caimito: update hboost jank check time factor." into 24D1-dev 2024-04-19 02:32:32 +00:00
guibing
95f08c856a adpf:caimito: update hboost jank check time factor.
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.

HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.

Change-Id: Id835b30e7acd50b34840131669eaf3894ea5e629
2024-04-18 22:21:55 +00:00
Ali K. Zadeh
d5db58d628 Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD
SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.

Test: 1080p30: https://docs.google.com/spreadsheets/d/1ANQ7hCkvDR03vHVKfy_i8Eh2tyKEw2qpZmFktCACCgI/edit?resourcekey=0-JXymSV8n68bVlqG2B2MVOw#gid=839467803
Test: 4k30: https://docs.google.com/spreadsheets/d/1YBz9TahcF7iMLRC6iPCl-t_-Vx_Lu6qNTdrs_EmOvZk/edit?resourcekey=0-UarnZQ86b6Vt_LBBjeZQQg#gid=586707919
Test: 1080p120: https://docs.google.com/spreadsheets/d/1kgSEqpT24_qmMrIPGjUkxTVsqVZg5gJAWOCu7p2n02c/edit#gid=697949868

Test: Loaded: Spc Lit 55: https://docs.google.com/spreadsheets/d/1j3MBl0uyjQQmeqC-JN6pqDpYd9FI4UfQq8xXfJcwcis/edit?resourcekey=0-BsWXhyH5D6QJGU2nqfoi_Q#gid=1983120744
Test: Loaded: Spc Mid 30: 1080p30 https://docs.google.com/spreadsheets/d/1FeHEOp_XHM_NJdXeTgDi9VZY2Nql_44aJEvEVtCHWUQ/edit#gid=1505208441
Test: Loaded: Spc Mid 30: 4k30: https://docs.google.com/spreadsheets/d/137ltu2nq5aN-5gA7CxwrCVpUC3fLRE94D30hsaH0-SI/edit#gid=17725636

Bug: 304536786

Change-Id: I07c81d6c3297e54202dc8966b4306d77daf34447
2024-04-18 20:46:34 +00:00
Ali K. Zadeh
a57ee838cb Merge "Increase TAUClampBoost during capture to reduce latency" into 24D1-dev 2024-04-18 20:35:43 +00:00
Shinru Han
8d92c04182 Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET
Disabling RILC_REQ_GPS_GNSS_LPP_PROFILE_SET because this is not
needed and may cause CP reset after NTN to NT mode switch.

Test: NTN test
Bug: 333902499
Change-Id: I0d195c1dff3623d1b4a6560f0e0e7e6e8c3af904
2024-04-18 12:20:13 +00:00
Treehugger Robot
d952ba02ce Merge "powerstats: bring PixelStateResidencyDataProvider to device config" into 24D1-dev 2024-04-18 07:45:18 +00:00
Nina Chen
2089e2ac2f Merge "Change padding and height radio for Tokay keyboard" into 24D1-dev 2024-04-18 07:07:18 +00:00
Nina Chen
9c06890855 Change padding and height radio for Komodo keyboard
Bug: 325517508
Change-Id: I8a34754638051e43193b0f1db982a085ed2cbb45
Merged-In: I8a34754638051e43193b0f1db982a085ed2cbb45
(cherry picked from commit 6c549c3465)
2024-04-18 11:36:00 +08:00
Nina Chen
f6d53f9062 Change padding and height radio for Tokay keyboard
Bug: 326480183
Change-Id: I6f8f6b7a266f1334d768e7500144cbd33f21693b
Merged-In: I6f8f6b7a266f1334d768e7500144cbd33f21693b
(cherry picked from commit cbe0c24eb4)
2024-04-18 03:19:54 +00:00
Jing Wang
f61db01f74 Merge "init: disable async dvfs for Tokay only" into 24D1-dev 2024-04-18 00:59:31 +00:00
Jing Wang
1aae9b9089 init: disable async dvfs for Tokay only
Bug: 320066094
Test: reboot, adb, suspend/resume

Change-Id: If5cbc6528cd81e7970328a7ef70c6661fb61b801
Signed-off-by: Jing Wang <jwangh@google.com>
2024-04-17 23:57:22 +00:00
Jikai Ma
768a123df2 Merge "thermal: add support of LSTM model sensors" into 24D1-dev 2024-04-17 20:30:49 +00:00
James Huang
2bf3c9e2f1 Merge "gps: Update config to disable step counter for P24" into 24D1-dev 2024-04-17 13:48:48 +00:00
Shinru Han
2b0b39e63e gps: update gps makefile
Test: on-device
Bug: 326527903
Change-Id: Ib4c9e9251e3d3dbb5b7bdfc24477cdc2e106a5e0
Merged-In: Ib4c9e9251e3d3dbb5b7bdfc24477cdc2e106a5e0
2024-04-17 13:22:41 +00:00
Zheng Pan
53d64feac3 Merge "Revert "Add cpuset system group"" into 24D1-dev 2024-04-17 09:58:30 +00:00
Achigo Liu
dd4b1a1bbe Revert "Add cpuset system group"
Revert submission 26931570-cpuset_system_group

Reason for revert: b/335346990 suspend/resume ramdump or black screen

Reverted changes: /q/submissionid:26931570-cpuset_system_group

Change-Id: I5896eb5d20d55ee251109adbb5bc4c3567e38b52
2024-04-17 09:36:03 +00:00
Darren Hsu
b731ba63af powerstats: bring PixelStateResidencyDataProvider to device config
Second parameter is required to add PixelStateResidencyDataProvider.
If display entity name is empty, the device doesn't support display
VRR power stats.

Bug: 335379104
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I986a083f8a8ac5fcd01c3c39e2e6f0d97e011c52
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-04-17 16:25:32 +08:00
Rick Yiu
e5df2a1fb3 Merge "Revert "Add cpuset system group"" into 24D1-dev 2024-04-17 08:06:59 +00:00
James Huang
1933c7cedb gps: Update config to disable step counter for P24
Set Chip_Configuration_mems_data_Configuration=0x7 to disable step counter.

Bug: 335320817
Test: Verify no step counter was registed and no more GNSS crash
issue.

Change-Id: I328c94c7a02808d55909a8307c538ad7ba8529aa
2024-04-17 14:47:48 +08:00
Rick Yiu
8153899d60 Revert "Add cpuset system group"
This reverts commit 8116ee60ba.

Reason for revert: need more perf evaluation

Bug: 328210236
Test: build pass
Change-Id: Id389c7b78c8c168a3015cd207b6d7b1a00c5d3a2
2024-04-17 05:05:44 +00:00
Jikai Ma
7a7ba4ae75 thermal: add support of LSTM model sensors
- add tflite model files
- add lstm model sensors to thermal config
- add lstm model sensor to virtual skin prediction

Bug: 308179047
Test: build and validate thermal service

Change-Id: Iaff613d75b3766bfbdf40b391e453a94172872a3
Signed-off-by: Jikai Ma <jikai@google.com>
2024-04-16 14:44:38 -07:00
Treehugger Robot
9815540170 Merge "uwb: update calibrations" into 24D1-dev 2024-04-16 20:42:15 +00:00
Treehugger Robot
3eefe008cb Merge "audio: 2024/04/12 Fortemedia tuning settings for DVT DF v2" into 24D1-dev 2024-04-16 19:01:40 +00:00