Commit graph

824 commits

Author SHA1 Message Date
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
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
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
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
Ali K. Zadeh
7af4854125 Increase TAUClampBoost during capture to reduce latency
Bug: 298227152
Test: 12mp: https://docs.google.com/spreadsheets/d/1LT4Nxiffr0V63SBEhdD3W7VXtaZGTEWT7vD70yio5Is/edit?resourcekey=0-eE7u5RnJP_E0hBZX8AO7BQ#gid=1777320174
Test: 50mp: https://docs.google.com/spreadsheets/d/1n0nnfl9W_m683SsjJuA5rpvcMVhn1uK1r38P8vgYfbQ/edit?resourcekey=0-nYeECKN1CTDFfsVhNn72cA#gid=1511403903
Change-Id: I632940ec5fe01cdd026c50960657142ea589d155
2024-04-16 18:46:47 +00:00
Wei Wang
2da6c42eeb Merge "adpf:caimito: add hboost junk detection time factor into power hint json files." into 24D1-dev 2024-04-16 03:50:58 +00:00
Rick Yiu
efb9d5a402 Merge "Add cpuset system group" into 24D1-dev 2024-04-16 03:20:08 +00:00
guibing
4a72fa6721 adpf:caimito: add hboost junk detection time factor into power hint json files.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: Id2912923a55c7788271312db9feefdecbfbc380f
2024-04-16 00:03:58 +00:00
Hasan Awais
68a0cd3d1f uwb: update calibrations
Bug: 309643761
Change-Id: Ib12c31ca8eb9dc47e754f737bb6c30070436ade6
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-04-15 12:41:31 -07:00
Treehugger Robot
c13a499eb4 Merge "gps: Updae gnss FW 4.15.1_4 + config for P24" into 24D1-dev 2024-04-15 15:35:55 +00:00
Rick Yiu
8116ee60ba Add cpuset system group
Set cpuset system group to little and mid cores only when screen
off.

Bug: 328210236
Test: build pass
Change-Id: I3c116998e3bb5f347b8a0d401b7a22c458b19657
2024-04-15 14:40:17 +00:00
James Huang
3563210826 gps: Updae gnss FW 4.15.1_4 + config for P24
Add CP_LocTech_Constraints to 0x81 to support AGPS L5
Remove L5 path delay to use Lassen's default one
Enable GNSS L5
Enable Soft dog to prevent gnss not recovering after modem_reset
Disable OTDOA due to VZW network fix isn't yet ready.

Bug: 333712582
Bug: 315713904
Bug: 332033831
Bug: 334697965
Test: VTS/CTS test and sanity/SST test b/333846456
Change-Id: Ib622bc5a83f8d0796dfe73b782ebc4985b47c378
2024-04-15 20:12:41 +08:00
Jason Hsu
035764dd22 audio: 2024/04/12 Fortemedia tuning settings for DVT DF v2
<change list>
All P24

mcps.dat (kevin)
optimize BT clock voting for all projects (https://buganizer.corp.google.com/issues/324005681)
TK4

Handset (Ricky)
Optimize HAWB/HASWB volume curnve for carrier requirment (max to nom 3.5dB, nom to min 4.5dB)
Optimize HAWB/HASWB FR/LR with DVT device
Batch copy from generic to co-use case
CM4

Handset/Handsfree (Duncan)
HASWB RX reduce FFP gain for reduce harsh sound
HASWB RFR max/max-1 reduce 4-8KHz for reduce harsh sound
HHSWB RFRmax RFRmax-1 increase high freq for better listening
HHWB backoff NS + 0408 Car noise type correction + 0412 KM setting
HHSWB long distance on the table DT improvement
Batch copy from generic to co-use case
KM4

Handset(Owen)
Rx: WB/SWB EQ SPK_Vol for volume curve
Batch copy from generic to co-use case
Handsfree (Owen)
Tx: WB enable Adaptive NS + 0402/0408 NS tuning
Batch copy from generic to co-use case

Bug: 334012418
Test: Verified by Acoustic team

Change-Id: I58ec053297833cf945f839cd1f6685b8be210e20
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-14 16:02:49 +08:00
Treehugger Robot
17e076bcd7 Merge "caimito: Add heuristic boost configs in power hint json files." into 24D1-dev 2024-04-13 01:33:50 +00:00
Treehugger Robot
a2bfef343a Merge "uwb: update calibrations" into 24D1-dev 2024-04-12 23:57:30 +00:00
Hasan Awais
764a8de4b9 uwb: update calibrations
Bug: 333728140
Bug: 334113564
Change-Id: I7148e2ad4e09ded1e93adb2f3378188f21c9b109
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-04-12 22:06:50 +00:00
guibing
64592cbc5a caimito: Add heuristic boost configs in power hint json files.
Bug: 204204746
Test: Power hal launches in device without configuration parsing issue.
Change-Id: I316abe2c302fc528b558b5fff30f77dd7b438e12
2024-04-12 21:11:45 +00:00
Wei Wang
f7df63d4f9 Merge "thermal: adjust CPU cdev_ceiling" into 24D1-dev 2024-04-12 20:56:13 +00:00
Treehugger Robot
6608a445b5 Merge "uwb: update calibrations" into 24D1-dev 2024-04-12 18:50:56 +00:00
Samridhi
cd503d7315 Merge "Add component override for komodo, tokay, caiman" into 24D1-dev 2024-04-12 18:02:17 +00:00
TeYuan Wang
1ac7f7c59c thermal: adjust CPU cdev_ceiling
Bug: 329697728
Test: run camera test
Change-Id: I410bfdf7d26883985b7f1882d6f449794549b631
2024-04-12 17:58:44 +00:00
Hasan Awais
3adc38061c uwb: update calibrations
Bug: 309643761
Change-Id: I2eaecffa3f5f4af7918d33c28f92cf5c94f8548c
Signed-off-by: Hasan Awais <hasanawais@google.com>
(cherry picked from commit cd74fe9b41)
2024-04-12 15:50:09 +00:00
Chungkai Mei
04ff9efa0d reorder the powerhint.json
since exynos driver take a longer time during access MEM/INT/DSU/BCI file nodes, change the order of powerhint and do other boost first

Bug: 329209796
Change-Id: I63a709d0607f5999cd30c8fe12de0699934b4c53
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-04-12 08:04:18 +00:00
Samridhi
66023bce1e Add component override for komodo, tokay, caiman
Bug: 330743136
Test: MANUAL
Change-Id: Ia9a775316a52f794cc2db45d6d688972b5d40bf8
2024-04-12 04:58:00 +00:00
Ravi Jain
ceceadca8a dumpstate: touch: Init using touch_predump
More info at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: Ie08caa36bf58827db3d9fc0c820b0ad6880df664
Signed-off-by: Ravi Jain <raviajain@google.com>
2024-04-11 18:10:33 +00:00
Kimi Hsu
7b34b39057 Merge "Use rounded corner radius from max resolution" into 24D1-dev 2024-04-11 06:33:08 +00:00
Kimi Hsu
59ba398fb8 Merge "Use rounded corner radius from max resolution" into 24D1-dev 2024-04-11 06:33:05 +00:00
Kimi Hsu
d6bc8c7b9d Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: Ia600acc9efef7370627efbd704dd6d5196e49448
(cherry picked from commit 4554ae382b)
2024-04-11 01:37:17 +00:00
Kimi Hsu
1de6d7d01c Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I833f8d8d07a64810bc9437a4696d9690d9f900a1
(cherry picked from commit 664e173186)
2024-04-11 01:36:58 +00:00
Kimi Hsu
e15d1f8651 Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I70be19a730ff6d29b7eb18f27c26d217ae1727c4
(cherry picked from commit 517aca891b)
2024-04-11 01:36:18 +00:00
Wei Wang
c87f938b5a Merge "thermal: update abnormal thresholds for model-legacy-diff" into 24D1-dev 2024-04-10 22:28:39 +00:00