Commit graph

982 commits

Author SHA1 Message Date
Ali K. Zadeh
f1dfb794d4 Reduce CPUDVFSHeadroom for mid and big core (for 60fps and 240fps)
Reducing CPUDVFSHeadroom can help save power in 60fps and 240fps
use-cases once RT threads are enabled. Even without the RT patch
(ag/27725456), we can see savings without any impact to framedrop rate.

Bug: 341495529
Test: https://docs.google.com/document/d/14djeCdDIjDy9wqtYc4C9OPnp7sOx3HfbQz4dIZarvVE
Change-Id: Ib16a52d83669c5e9705d80c48b7097e102cc807f
2024-06-12 23:43:15 +00:00
Ali K. Zadeh
8a6924bd35 Update PMU thresholds with PMU ignorance logic disabled
pa/2830448 removes the core ignorance logic in PMU and causes the
behavior of PMU to change. With the new PMU logic, we need to re-tune
all the SPC thresholds for camera use-cases. This CL adjusts SPC
thresholds accordingly, so that we do not have power regression once the
PMU change in the kernel is merged.

Bug: 341495529
Test: https://docs.google.com/document/d/1IZDKtnyEnMZcakaPzQHtF23az6EjCTRGw3SdWt0Up68/edit?usp=sharing&resourcekey=0-ZAvo0M9HA-f-DY42vIatWA
Change-Id: Ifa10ebfa66da90832930487ef2d6b5610a7999bb
2024-06-11 00:06:52 +00:00
Chaohui Wang
a8065be50a Merge "Regulation e-label for P24" into 24D1-dev 2024-05-24 08:31:13 +00:00
Shijie “Jessie” Hu
43ec216bd3 Merge "[Project11] CPU scheduling update." into 24D1-dev 2024-05-24 02:53:49 +00:00
Shijie (Jessie) Hu
061f44ae4f [Project11] CPU scheduling update.
Bug: 341968564
Test: power and perf test on Komodo.Test result show in b/341968564#comment27

- Use newly tuned STREAMING_STANDARD setting.

Change-Id: If64ad8148c4740fe5716381d21543bc9d26ab623
2024-05-23 22:53:23 +00:00
Sayanna Chandula
1bcb265b5c Merge "thermal: update legacy virtual senor formulas" into 24D1-dev 2024-05-23 18:35:26 +00:00
Sayanna Chandula
3cffe299f7 Merge "thermal: set virtualskin model cache interval to 7 seconds" into 24D1-dev 2024-05-23 18:34:57 +00:00
Sayanna Chandula
8530c2e189 Merge "thermal: add explicit passive delay to enable step ratio" into 24D1-dev 2024-05-23 18:34:07 +00:00
Jikai Ma
614af2385c thermal: update legacy virtual senor formulas
- generated legacy formulas with DVT and CUJ data
- removed 'battery' thermistor from sensor combination list
- removed 'LINEAR' formulas

Bug: 342227291
Test: verified thermal hal service starts properly with it
Change-Id: Iff59072d432ff98afe852295745cebd81ec73d15
Signed-off-by: Jikai Ma <Jikai@google.com>
2024-05-23 18:16:04 +00:00
Sayanna Chandula
108e06a214 thermal: set virtualskin model cache interval to 7 seconds
With previous samples being used in vt estimation, the sampling period
between vt estimation calls impact vt accuracy. Currently vt model is
using default cache interval of 2 seconds. This change sets the cache
interval to 7 seconds explicitly to match with passive delay

Bug: 341967304
Test: Check vt estimation invoke calls with frequency thermalservice dump

Change-Id: Ic6a38939b2bec88a66c87517e6efa548566ea877
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-23 10:16:33 -07:00
Treehugger Robot
5630b70a32 Merge "audio: fix pop sound while switching presets" into 24D1-dev 2024-05-23 17:00:46 +00:00
Treehugger Robot
4d83371557 Merge "audio: update MPS to fix pop sound" into 24D1-dev 2024-05-23 17:00:45 +00:00
Shiyong Li
94a1cd5424 Merge "display: update new blocking zone" into 24D1-dev 2024-05-23 12:25:44 +00:00
Treehugger Robot
5f90b56fd0 Merge "display: update reduceBrightColorsStrength setting" into 24D1-dev 2024-05-23 07:13:05 +00:00
Jasmine Cha
dfaef7ad3f audio: update MPS to fix pop sound
Added some smoothing fixes for media <-> phone call preset switch.

Bug: 340378261
Test: manual and PTS tests

Change-Id: Ibd3c881c88a53249a3d17172ebc41e1bd703b322
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-23 03:59:40 +00:00
Jasmine Cha
85bc18d53d audio: fix pop sound while switching presets
Added some smoothing fixes for media <-> phone call preset switch.
No change to tuning parameters in any media, notification mode.
Phone call avg MCPS still at 40; Peak MCPS for Phone call: TBD

Bug: 340378261
Test: manual and PTS tests

Change-Id: I537d0be29f2c4583ef63cd042317053a58ca1d4e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-23 03:58:55 +00:00
Chaohui Wang
aa1b2b0946 Regulation e-label for P24
Bug: 318613060
Test: visual
Change-Id: Ia98c6da6b278a064a13599af5410298299c05169
2024-05-23 11:25:11 +08:00
Sayanna Chandula
019bef5229 thermal: add explicit passive delay to enable step ratio
Due to defalut passive delay of 2 seconds being used for the VT sensor,
previous samples are ignored at 7 seconds intervals. This change sets
explicit passive_delay for VT sensor to make sure we are not ignoring
previous samples and apply step_ratio

Bug: 342257359
Test: Check VIRTUAL-SKIN-MODEL-UPDATED values at run time

Change-Id: I18a9e4913b8153b8d2c3a313451338a9f1b6ca0c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-22 17:05:41 -07:00
Justin Weir
4ee51faa43 Merge "Reduce rounded_corner_radius to 142" into 24D1-dev 2024-05-22 15:13:43 +00:00
Justin Weir
f912f45dee Reduce rounded_corner_radius to 142
Bug: 335357341
Test: manually checked values between 120 and 152 via binary search
Flag: NONE
Change-Id: I9edf6bc3d218adb0f6fc465dbe3a52e04838e206
2024-05-22 11:43:02 +00:00
Justin Weir
3a28c58c51 Reduce rounded_corner_radius to 137
Bug: 335357341
Test: manually checked values between 137 and 153 via binary search
Flag: NONE
Change-Id: Id01d2df6668004b63ad7a906a8e9707ab1636882
2024-05-22 11:42:34 +00:00
Cathy Hsu
2453abf3f3 display: update reduceBrightColorsStrength setting
Bug: 335669303
Test: dumpsys color_display
Change-Id: I5a670a2cfaf56074681daeddc5d2a77bc3bb9a74
2024-05-22 04:18:16 +00:00
cweichun
1d727a8935 display: update new blocking zone
Bug: 337814575
Test: check blocking zone correctness
Change-Id: I9f5e1626506e465d64174a4cf825363cc697ba60
Merged-In: I9f5e1626506e465d64174a4cf825363cc697ba60
(cherry picked from commit db0a18aaa9)
2024-05-21 20:49:40 +00:00
Taeju Park
8a52ed0919 powerhint: bug fix for PMU_FORCE_LIMIT
PMU_FORCE_LIMIT node is used without declaration

Bug: 341151887
Change-Id: I6ca864d80e25a5c81f04606d0a3315edd1357386
Signed-off-by: Taeju Park <taeju@google.com>
2024-05-21 18:50:49 +00:00
Treehugger Robot
e1b30ceb40 Merge "thermal: updated BTS equations" into 24D1-dev 2024-05-21 18:04:30 +00:00
Hasan Awais
f4aece5319 uwb: update calibrations
Bug: 309643761
Change-Id: I81e30509f6e3ebbbd932dc96d2b317010e4dd81c
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-05-20 23:00:07 +00:00
Ramya Subramanian
3359abda9e thermal: updated BTS equations
Bug: 297083757
Test: Tested on CM4 boot to home and with thermal recorder

Change-Id: Ia6071a8c70e19cebeab909ca6c3e36138c93badc
Signed-off-by: Ramya Subramanian <rsubr@google.com>
2024-05-20 21:10:13 +00:00
Albert Chen
639a63c998 Remove QFingerprintService from being included.
Test: Compile and verify fingerprint functionality.
Bug: 339342935
Change-Id: Ic23494d9ba1aeb792489163dfd4cfbbd6dccc9b4
2024-05-20 17:50:28 +00:00
Wei Wang
e5a5631ca4 Merge "thermal: virtualtemp: enable step ratio for vt model" into 24D1-dev 2024-05-17 17:34:52 +00:00
Treehugger Robot
08d57e2204 Merge "gps: Update GNSS official release 4.15.1_8_R2 + config for P24" into 24D1-dev 2024-05-17 13:27:19 +00:00
Ali K. Zadeh
c14ec8230a 60fps: change PMU max frequency for CL2 to 1164MHz
Bug: 340289125
Test: clock residency
(https://docs.google.com/spreadsheets/d/1TQQU5TGHE6B0xOgd77tyUyGnU-oksXi1X0Bs_vCsENE/edit#gid=1243247080)
Test: Kibble (https://docs.google.com/spreadsheets/d/1WF9WVVeNvDSawzUtrq-L89jh1vuAootVET3vRXQTJR8/edit#gid=1987296588)

Change-Id: I18fc6a3ffe535278d95ea32e855d3b8b8ab12b4a
2024-05-16 22:18:54 +00:00
Sayanna Chandula
bb7c7b5371 thermal: virtualtemp: enable step ratio for vt model
Enabling step ration for vt model would dampen the vt which seems
to be very sensitive to some of the thermistor changes

Bug: 338284524
Test: Build and boot on device. Monitor Virtual Temperature

Change-Id: Ia45f683e3bef9dc1becf74c683c408ffdecf6e48
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-15 23:52:04 +00:00
Robin Peng
38b5bb376b Merge "Amend the KERNEL_DIR to the prefered name" into 24D1-dev 2024-05-15 15:39:52 +00:00
Koli Lin
d3fb101370 Merge "[Bluetooth] update sar table by region" into 24D1-dev 2024-05-15 14:51:51 +00:00
Robin Peng
c6ee271914 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option

Bug: 340734471
Change-Id: I32e8cda259cba948ea6022ab15fbc24e0553c052
2024-05-15 09:52:36 +00:00
Robin Peng
111dc61b6b Amend the KERNEL_DIR to the prefered name
Bug: 337163126
Change-Id: Ie30016bbcd487a151a211d558b9bf9f9c147068c
Merged-In: I3f1688e6186cec4644f1d9a4cd80537c9672822f
2024-05-15 09:48:12 +00:00
Treehugger Robot
f17094a258 Merge "waves: update MPS and volume curve" into 24D1-dev 2024-05-15 06:34:12 +00:00
Jasmine Cha
d901bca9cc waves: update MPS and volume curve
- dynamics volume pumping, tone update
- speaker-safe tuning for less compression, higher quality

Bug: 339739370
Test: manual test / PTS

Change-Id: Ifa833bca9c40ae2c353ff0aadfc5122e634ab68d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-15 06:05:14 +00:00
Shinru Han
4050ef7922 gps: Disable NFW lock
Disable NFW lock to prevent SUPL NI failure

Bug: 340374545
Test: b/340374545#comment15
Change-Id: I7404f71124e5d9500f5e0f8d6d3937bffe6fce91
2024-05-15 01:16:00 +00:00
Sayanna Chandula
59dc0432dd Merge "thermal: virtualtemp: update threshold for swithcing to legacy" into 24D1-dev 2024-05-15 00:51:39 +00:00
Treehugger Robot
0497b93b05 Merge "audio: add sound dose offset curve" into 24D1-dev 2024-05-13 20:15:03 +00:00
vincenttew
6f2cbd480c audio: add sound dose offset curve
Bug: 340149054
Change-Id: I2642896d4ae6f134122486cb7953f4c8fee6ea20
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-13 06:48:15 +00:00
James Huang
aa657a3bc7 gps: Update GNSS official release 4.15.1_8_R2 + config for P24
Add Chip_Configuration_FeatureCfg_SDL_BYASS = 1 to switch gnss restart behavior.

Bug: 338152369
Test: Verify CTS/VTS, sanity test, stress test, SST in b/340060035
Change-Id: Ibf1ad6a8803fea1719f20acdd9e6876822e7a8b8
2024-05-12 17:00:45 +08:00
TeYuan Wang
3dddd667ea thermal: align the latest VSKIN-model for wingboard config
Bug: 328118301
Test: boot to home
Change-Id: I746ed4148094541afa502929d57f39e1ea8c7d68
2024-05-10 23:38:47 +00:00
David Chao
b7ca1c1e1a thermal: Update charging thermal throttling
Reduce temperature and charging throttling overshoots by fine-tuning PID
parameters.

Bug: 303547723
Test: boot and charging thermal throtlting worked properly.
Change-Id: Icaeef76998347167976a1ef3606f417db3c5a380
2024-05-10 23:26:57 +00:00
Sayanna Chandula
640f2f6672 thermal: virtualtemp: update threshold for swithcing to legacy
For mmWAVE test cases, legacy equation is under predicting heavily
resulting in virtua-skin switching to vt legacy even though the
model output was more accurate. This change increases the threshold
to address the same

Bug: 338284524
Test: Build and boot on device

Change-Id: I1c7a14a1d9042a2370c30490969d29294fc95f79
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-10 14:30:29 -07:00
Taeju Park
ef1f5d317a Merge "powerhint: add PMU_FORCE_LIMIT control knob" into 24D1-dev 2024-05-10 19:07:40 +00:00
Treehugger Robot
7fae8abe87 Merge "waves: Thermal Throttling scheme" into 24D1-dev 2024-05-10 01:49:36 +00:00
Ali K. Zadeh
0508270ad8 Merge "Enable PMU during photo capture" into 24D1-dev 2024-05-09 23:58:52 +00:00
Ali K. Zadeh
730f445f01 Enable PMU during photo capture
Bug: 298227152
Test: Kibble 12MP - https://docs.google.com/spreadsheets/d/1Exxzy_7CHu4RQQ_-eR2s16Ob9BpxdQZFn6GIkUmoc4k/edit?resourcekey=0-CrG5HCXn9v7iR0PFk84j2g#gid=328258859
Test: Kibble 50MP - https://docs.google.com/spreadsheets/d/1qIdxci3qRwgM_XD5rRdmQPqDrsf8VHQIqQggDh2rgGY/edit?resourcekey=0-t25YyqKalsLbrCM7ADDHlQ#gid=2134912777
Test: Kibble 12MP - repeated capture - https://docs.google.com/spreadsheets/d/1XTwC5iCaobxwCcj5QH1f_34lJysvFDv53wt4K9l8DAM/edit#gid=1477598242
Test: Kibble 50MP - repeated capture - https://docs.google.com/spreadsheets/d/17wlxE2MsRx56Vhr9IE1iBYLz1Lee1s7Bb7E_GKaBJtc/edit?resourcekey=0-Vh8vf55xZHgYnWqDESm5lA#gid=1630323952
Test: Latency 12MP - https://docs.google.com/spreadsheets/d/1xUmS4H8SmwKzrL-CScIhZABsrlCq1CZsDT9ZSWFAMwU/edit#gid=466916271
Test: Latency 50MP - https://docs.google.com/spreadsheets/d/1GUs1TVCCOD6Bv73ilxrjg99tJVq6wQ5kJfYrJ1djY54/edit#gid=1885938822
Change-Id: I5083184f9e226d42584de5b6910994f1d5d3cc52
2024-05-09 22:44:32 +00:00