Commit graph

1002 commits

Author SHA1 Message Date
zorahchen
d68bded2d6 Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Bug:345601796
Performance Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_retune_capture_enhanced/index.md?cl=alikz/1010
Kibble Power Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_kibble_capture_rt_enhanced/index.md?cl=alikz/1044
Flag: NONE powerhint change does not support flags
Change-Id: I8683b50b212d50b85b22b5cb48d712fc8eb43444
2024-07-12 02:03:49 +00:00
James Huang
d30d3fc1b7 gps: Update release 4.15.1_13_240603_R2 config to enable PDR on P24
Add NavOptions=0x2443 to enable PDR
Add Chip_Configuration_mems_data_Configuration=0x27 to support Step
counter and Magnetometer

Test: VTS/CTS, sanity test/Sress test/SST
Change-Id: I48dcd5f4f46e152e80571e09a290ff17d52ffaf9
2024-06-05 12:54:18 +08:00
David Lin
6fa83b2f0b Merge changes from topic "cherrypicker-L33400030004168780:N61600030065747742" into 24D1-dev
* changes:
  Revert "Reduce rounded_corner_radius to 142"
  Revert "Reduce rounded_corner_radius to 137"
2024-06-03 02:19:03 +00:00
Treehugger Robot
8ac4d80a9b Merge "thermal: Clean up stats config" into 24D1-dev 2024-05-31 03:43:50 +00:00
Wayne Lin
b78ba022cb Revert "gps: Disable NFW lock"
Revert submission 27263809-disable-nfw-lock

Reason for revert: enable NFW after LOCSW-21052 is reverted in b/326439267 and fix test case failure in b/343511469

Reverted changes: /q/submissionid:27263809-disable-nfw-lock

Change-Id: Iffa05830a522e8a4e73a534c89dc8b3dec5dec87
2024-05-30 01:43:26 +00:00
Evan Laird
b7af4a53c1 Revert "Reduce rounded_corner_radius to 142"
This reverts commit 5362448646.

Reason for revert: Reverting this due to landing pixel scaling

Bug: 335357341
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9683d7ab3c6f2f7be00b31d4a6e35a2ff9cf13b7)
Merged-In: I4f9392d649cc927a24222207501f5191bd63c5a1
Change-Id: I4f9392d649cc927a24222207501f5191bd63c5a1
2024-05-29 18:19:41 +00:00
Evan Laird
5797ae80c4 Revert "Reduce rounded_corner_radius to 137"
This reverts commit 0fbeed22d4.

Reason for revert: reverting this due to landing pixel scaling

Bug: 335357341
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc1317679b29f312b183e1bbb156b7c7cd8b0da0)
Merged-In: Idd0af2eaf5933b708e6a3831bf2f751c747a4f38
Change-Id: Idd0af2eaf5933b708e6a3831bf2f751c747a4f38
2024-05-29 18:19:29 +00:00
Treehugger Robot
ebcb0f7a93 Merge "gps: Update official binary release 4.15.1_11_240527_R3 config for P24" into 24D1-dev 2024-05-29 17:39:55 +00:00
Treehugger Robot
6cefbec27c Merge "Add Pyr binning sysprop to devices" into 24D1-dev 2024-05-29 15:46:53 +00:00
James Huang
3bd895bc61 gps: Update official binary release 4.15.1_11_240527_R3 config for P24
Add isUseUncalMagn=0 to use Calibrated Magnetometer data (For PDR)

Test: CTS/VTS, GNSS sanity test/Stress test/SST
Change-Id: I1a842856aee9a0d3c4ce4e2b4aa514344acc8a4d
2024-05-29 23:09:46 +08:00
Treehugger Robot
1ebd023615 Merge "audio: 2024/05/27 Fortemedia table check in for FRC" into 24D1-dev 2024-05-29 09:34:52 +00:00
Treehugger Robot
75254aa648 Merge "Update SVN to 1" into 24D1-dev 2024-05-29 09:30:36 +00:00
Kimi Hsu
5a86860b25 Merge "Update the rounded corner" into 24D1-dev 2024-05-29 08:35:15 +00:00
Kimi Hsu
eb4620d82a Update the rounded corner
Bug: 343151674
Test: make

Change-Id: Ia555b6d60f54a3ac7e4c1e4af869e3bc101199cf
2024-05-29 06:00:08 +00:00
Kimi Hsu
1bded601f0 Update the rounded corner
Bug: 343151674
Test: make
Change-Id: I0b72a0746bb3557259b847e55ff6e7f6cd373c7b
2024-05-29 05:59:57 +00:00
Robin Peng
c3a43c25d7 Update SVN to 1
Bug: 343297621
Change-Id: Ica495c0748f26da47d1dda4352fab070fb050877
Merged-In: I4fb2796a4b4336b439d35b097d6a3a1d0ab5492c
2024-05-29 05:52:33 +00:00
Chaohui Wang
0a6321866d Update regulation e-label for P24
Bug: 318613060
Test: visual
Change-Id: I858e8a7fce6b8d7fefa1158c5dff429a74d7e16a
2024-05-29 12:34:38 +08:00
Treehugger Robot
b674277494 Merge "Enable camera exif model/make reporting" into 24D1-dev 2024-05-29 04:09:27 +00:00
Jason Hsu
ebe6275928 audio: 2024/05/27 Fortemedia table check in for FRC
<change list>
KM4
- Handset (Owen)
1. Rx: Modify WB Rx MaxVol EQ for TIA-5050 NB/WB FR Mask
2. Tx: Apply AMS parameter
3. Batch copy 1./2. from generic to co-use case(TMO-US Tx&Rx / HAC Tx)

- Handsfree (Owen)
1. Tx: Enable KidsVoice on WB / Update KidsVoice Para on SWB
    524    0x0003    //TX_KIDDET_NTH
    525    0x1000    //TX_B_POST_FLT_KID
    526    0x0DAC    //TX_T0_NE_TH
    527    0x0FA0    //TX_T0_NE_3_TH
2. Apply AMS parameter
3. Batch copy 1./2. from generic to co-use case

CM4
--Handset/Handsfree (Duncan)
HA:
1: WB RFRmax/nom tuning for better listening
2: Batch copy from generic to co-use case
3: Apply AMS parameter

HH:
1: WB/SWB subjective Car NS improvement
2: WB/SWB kid voice setting
3: SWB RLR update for linear volume curve
4: HHSWB echo during nearend in noise environment
5: Apply AMS parameter
6: Batch copy from generic to co-use case

TK4
--Handset (Ricky)
1. Modify HAWB RFR max to max-1 for TIA-5050 issue
2. Apply AMS parameter
3. Batch copy from generic to co-use case

--Handsfree (Ricky)
1. Optimize HHWB NS for Car field testing
2. Update Kid parameter for HHWB/HHSWB
3. Optimize VOIP HH volume curve - nom to min for DF issue
4. Apply AMS parameter
5. Batch copy from generic to co-use case

Bug: 342992267
Test: Verified by Acoustic team

Change-Id: I7d4bc8f89d3901e3a5bdffa7cfdb21131ad4c825
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-05-28 10:43:43 +08:00
sashwinbalaji
bd273f003d thermal: Clean up stats config
- Remove stats monitoring for sub-sensors since they don't denote a
  particular hotspot.
- Remove stats monitoring for wingboard configs.
- For vskin-legacy, vskin-model, vskin-speaker improve the resolution of
  buckets by splitting range [49, 55] into [49, 51, 53, 55]

Bug: 341872098
Test: Push config and verify lshal
Change-Id: Iabff63922c283a595fa7ec2dfa8af539629d4064
2024-05-28 09:34:50 +08:00
Timothy Wang
8aa55106fa Enable camera exif model/make reporting
Reveal real model and make name in the exif.

Test: CTS StillCaptureTest#testFocalLengths
Bug: 319743372
Change-Id: I95bb84e1ef2b6a8983a0ae09de476f0ed9db2115
Merged-In: I95bb84e1ef2b6a8983a0ae09de476f0ed9db2115
2024-05-27 12:51:20 +00:00
Jared Hallett
d5be5dfc2d Add Pyr binning sysprop to devices
Bug: 336311209
Test: manual
Change-Id: I02f0511c003456f4eca1e005207cacd5cdd804b4
2024-05-27 11:21:31 +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