Commit graph

880 commits

Author SHA1 Message Date
Jikai Ma
e27cfe4bb8 thermal: update legacy formula with DVT test data
Bug: 320714468

Test: side load to device and successfully start thermal hal service.
Change-Id: I8189d7d7c94d590cc06ac82893d6b3dfd730585a
Signed-off-by: Jikai Ma <jikai@google.com>
2024-05-01 01:11:26 +00:00
Treehugger Robot
dba4c9beb1 Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into 24D1-dev 2024-04-30 19:07:56 +00:00
Albert Chen
a6ab3f6d4a Merge "Fix missing QfpCalibration on userdebug builds" into 24D1-dev 2024-04-30 17:52:10 +00:00
Matt Buckley
4a19787592 Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: If377f6384a1a7863abf80f0a4a0cf0fe3074ec21
2024-04-30 16:54:35 +00:00
Treehugger Robot
ab73d36be4 Merge "gps: Enable GAAM and disable magnetometer" into 24D1-dev 2024-04-30 04:50:24 +00:00
Cheng Chang
8150d89538 gps: Enable GAAM and disable magnetometer
Bug: 337715905
Test: Verified sensor service without magnetometer.
Change-Id: Ib0970f89fcb85b04d4f20e86a4896cb1c532527c
2024-04-30 02:41:25 +00:00
Sayanna Chandula
dbb9ba6344 thermal: fix typo in thermal config
Bug: 337094450
Test: Build and boot on device

Change-Id: I5884945aa8be3e1c881b49f5bb379a2ab3e05afb
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-29 18:29:26 -07:00
Sayanna Chandula
670fd87775 Merge changes from topic "p24-vt-dvt" into 24D1-dev
* changes:
  thermal: update vt models with dvt data
  thermal: add smooth transition from model to legacy vt
2024-04-29 20:30:39 +00:00
Ali K. Zadeh
32364863c3 Merge "Disable CDPreferIdle, set DSUMin to 610MHz for 60fps" into 24D1-dev 2024-04-29 20:22:15 +00:00
Cheng Chang
66b4d16914 gps: Disable AAM feature
Bug: 337715905
Test: Function verification at b/337735228
Change-Id: I957ac31df3cc807a31326447669b65558da135c8
2024-04-29 08:26:49 +00:00
Sayanna Chandula
f90c98757f thermal: update vt models with dvt data
prev_sample_order = 3
activation = leaky_relu
sample_interval_ms = 7000
max_sample_interval_ms = 12000

Bug: 337512118
Test: Build and boot on device. Check VIRTUAL-SKIN temperature

Change-Id: Ia13654991d88435f13c86fc1535caca054e1cc09
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-27 14:24:57 -07:00
Sayanna Chandula
dd66c5faaa thermal: add smooth transition from model to legacy vt
- Remove backup sensor and enable under sampling
- Clamp VT_MODEL prediction based on training set max_surface
- Use VT_MODEL_LEGACY_DIFF to decide on switch
- Enable smooth transition with weights

Bug: 336265406
Test: Build and boot on device. Test smooth transition

Change-Id: If30a87a24b12b0af5527d9c05be7a14bb06dcfac
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-27 12:15:26 -07:00
Ali K. Zadeh
a4151229c8 Merge "Reduce DVFSHeadroom to 1100 for CAMERA_STREAMING_STANDARD" into 24D1-dev 2024-04-26 22:03:46 +00:00
Alec Foster
0bbb1fd8fe Fix missing QfpCalibration on userdebug builds
Bug: 337315950
Test: QfpCalibration present on userdebug builds
 but not on user builds.
Change-Id: I716526727f537e749775e5e207b27f7008ca44c6
2024-04-26 22:00:48 +00:00
Taeju Park
635801795b powerhint: tune default value for PMU limit parameter
Bug: 310237445
Change-Id: I0ed334a447afdc420655ca1733125e8ab0ab43f1
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:32:42 +00:00
Wei Wang
95295f6e14 Merge "powerhint: remove lcpi parameter for PMU limit" into 24D1-dev 2024-04-26 17:49:54 +00:00
Wei Wang
c5a9cdb1ff Merge "thermal: use frequency to define hard limit and cdev ceiling" into 24D1-dev 2024-04-26 17:43:37 +00:00
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
Treehugger Robot
b086079cb4 Merge "thermal: fix thermal config typo" into 24D1-dev 2024-04-26 05:56:46 +00:00
Treehugger Robot
5c92151009 Merge "Set big core to cpu skip mask by default" into 24D1-dev 2024-04-26 04:14:05 +00:00
Jikai Ma
878c5bad5c thermal: fix thermal config typo
Bug: 337094450
Test: side loaded to device and successfully start thermal service.
Change-Id: Ied79a83d5c0e9d4c9393ffa4ef550b382b7b79e1
2024-04-25 19:57:19 -07:00
Treehugger Robot
4c7c69f0e3 Merge "Adpf:caimito: revert heuristic boost triggering condition." into 24D1-dev 2024-04-26 02:42:19 +00:00
Peter (YM)
681064ae17 thermal: use frequency to define hard limit and cdev ceiling
Test: Boot to home and flash on device
Bug: 330780045
Change-Id: I428e14f354a5897601cbcaf8f7bbbeb6a0cc5d8f
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-26 02:38:45 +00:00
Yadong Xu
5b49713231 Merge "Fix face auth powerhint for face unlock boost" into 24D1-dev 2024-04-26 00:18:11 +00:00
Yadong Xu
71395ffb99 Fix face auth powerhint for face unlock boost
Test: Not required.

Fixed:335714087

Change-Id: I2f19bd4df763a6665762d67c3df66d444805e5a4
2024-04-26 00:17:54 +00:00
guibing
2ea470d49a Adpf:caimito: revert heuristic boost triggering condition.
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: I36ab5e699187650011a91a2c0814c33e62e4e125
2024-04-25 22:52:05 +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
Ali K. Zadeh
9c39373a33 Disable CDPreferIdle, set DSUMin to 610MHz for 60fps
With MulticamRoutingNode on RT, the performance is no longer impacted by
having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to
610MHz, saving overall up to 50mW in CPU power.

Test: 1080p60: https://docs.google.com/spreadsheets/d/1KoMO-hFl8t5KxLOWTn9eGSEXJqMVhDh4PRgn94_aTfk/edit?usp=sharing&resourcekey=0-DnXRxfkqmKNE8Cbh664inA
Test: 4k60: https://docs.google.com/spreadsheets/d/1PntdXFCyBL4H3kswAoIRota-FGbqSHXRZCQP3opnuj8/edit?usp=sharing&resourcekey=0--wdtPAqsz2XbsHQq67rgeg
Bug: 334945465
Bug: 304536786
Change-Id: Ic1d24975c01c65f8495a26ad9b29c97efed85ee1
2024-04-24 22:38:19 +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
Taeju Park
04a98d59e4 powerhint: remove lcpi parameter for PMU limit
PMU-based soft freq limit no longer use lcpi parameter

Bug: 295054083
Change-Id: I0d4eb0d90934dcd441e7272292c34cffa533ae25
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-23 20:29:56 +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
Rick Yiu
2cc7bc7c3d Set big core to cpu skip mask by default
Also reset the mask for launch and other camera streaming modes that
do not use it.

Bug: 248621289
Test: build pass
Change-Id: I752bcf27ac6c9064a464af54200a506fd6db03ff
2024-04-23 05:29:35 +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