Commit graph

669 commits

Author SHA1 Message Date
Wei Wang
611de5d6dc Merge "powerhint: fix DISPLAY_UPDATE_IMMINENT down_rate_limit hint" into udc-d1-dev 2023-05-26 21:55:51 +00:00
Suprabh Shukla
ffd1f43786 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: Id0f98388ead4cb7d50a08b9c047e51784f34acc5
2023-05-26 20:14:23 +00:00
Yvonne Yip
29f7f5e0a2 powerhint: fix DISPLAY_UPDATE_IMMINENT down_rate_limit hint
Bug: b/283319548
Test: Check traces during screen off to on transition
Change-Id: Ia37d1a3aa20d3f385ea5885c5d6a967cbdf52704
2023-05-26 10:36:31 -07:00
Wei Wang
619eb0e4d1 Merge "thermal: update I_Cutoff for GPU PID loop" into udc-d1-dev 2023-05-26 16:13:04 +00:00
TreeHugger Robot
69dcf276dd Merge "thermal: remove MMWAVE from partial system power reference" into udc-d1-dev 2023-05-26 09:41:41 +00:00
lbill
b296cf0de4 Update display shape config for FHD+ display
Display resolution : 2400x1080
Density : 420

Test: Build and flash
Bug: 275288471
Change-Id: I4de699dbc9243d04370db42c6054f54a26ddb1ae
2023-05-26 09:25:22 +00:00
Peter (YM)
72901aa481 thermal: update I_Cutoff for GPU PID loop
Increase the I_Cufoff value to make the power budget update more frequently

Bug: 258136466
Test: Run manhattan 3.1 offscreen
Change-Id: Iece2064ed06b9883ab52084baf3031c74f83b0ef
2023-05-26 09:07:49 +00:00
John Pan
d73522bb72 Merge "Build HK3/SB3 default CMF color wallpaper" into udc-d1-dev 2023-05-26 07:44:18 +00:00
Carter Hsu
f2d52594f2 Merge "audio: FM table check in (2023/05/25) for telephony." into udc-d1-dev 2023-05-26 07:15:10 +00:00
Carter Hsu
7b7c405f76 Merge "audio: FM table check in (2023/05/25) for telephony." into udc-d1-dev 2023-05-26 07:14:55 +00:00
Taeju Park
176a14d81e powerhint: Enable PMU limit
Enable PMU limit for
1. battery saver mode
2. thermal warning

Bug: 258095095
Change-Id: I251452b1f6f30c533e7867ce0be31e9f908097ed
Signed-off-by: Taeju Park <taeju@google.com>
2023-05-25 22:50:10 +00:00
Treehugger Robot
64715d0a94 Merge "thermal: update thermal policy according to the new CPU dvfs" into udc-d1-dev 2023-05-25 18:55:50 +00:00
Ali K. Zadeh
76a6e47724 Merge "Disable CDPreferIdle and allow all 8 cores for 30fps" into udc-d1-dev 2023-05-25 16:05:45 +00:00
Carter Hsu
29dc1462f8 audio: FM table check in (2023/05/25) for telephony.
- SB3 Handset(Duncan)
Update PREEQ1/PREEQ2 for EVT1.1 VOICE_GENERIC NB/WB/SWB and RESERVED2 SWB

- HK3 Headset (Gene)
1. Apply ultra low latency mode for Google Condor V21 and F821 for Field and Certification test.
2. Parameter change:
a.  V21:
a-1) Enable Ultra low latency on RX
a-2) Disable TX EQ to make TX EQ flat
b.  F821:
b-1) Copy New_V21 to F821
b-2) Add NB RX gain for field NB test
c.  3rd party adaptor:
b-1) Copy old_V21 to HEADSET-RESERVE1
b-2) Tune TX EL WB EQ to pass the HD-Voice mask
b-3)Reduce TX loudness 1dB for NB WB SWB
d. Globle
Copy Condor RX to Condoer Headphone RX

1. Back to 0428 -> Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Back to 0428 -> Handsfree RX setting to HCO-RX

Files from the latest attachment on b/284255632

Bug: 284255632
Test: verified by rickycheng@
Change-Id: I2035f2be8fc71fa1665ffb5e1fb698fb25061b61
2023-05-25 08:38:00 +00:00
Carter Hsu
c4ddb11ba2 audio: FM table check in (2023/05/25) for telephony.
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx Volume & DRC Gain for in Handset | T-MOBILE-US
2. Modify SWB Tx NS to v0519 settings for in Handset | Generic to soften VoIP noise pumping issue.
3. Modify NB BVE Gain_limit_3 to 2

3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

- HK3 Headset (Gene)
1. Apply ultra low latency mode for Google Condor V21 and F821 for Field and Certification test.
2. Parameter change:
a.  V21:
a-1) Enable Ultra low latency on RX
a-2) Disable TX EQ to make TX EQ flat
b.  F821:
b-1) Copy New_V21 to F821
b-2) Add NB RX gain for field NB test
c.  3rd party adaptor:
b-1) Copy old_V21 to HEADSET-RESERVE1
b-2) Tune TX EL WB EQ to pass the HD-Voice mask
b-3)Reduce TX loudness 1dB for NB WB SWB
d. Globle
Copy Condor RX to Condoer Headphone RX

- HK3 Handset (Ricky)
1. Fine tune volume curve in all bands with EVT1.1

1. Back to 0428 -> Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Back to 0428 -> Handsfree RX setting to HCO-RX

Files from the latest attachment on b/284255484

Bug: 284255484
Test: verified by rickycheng@
Change-Id: I61d8a8f4dff0f9dd901e8a51fdc520266e4aafa1
2023-05-25 08:35:16 +00:00
TeYuan Wang
6c12db400a thermal: update thermal policy according to the new CPU dvfs
Bug: 281740658
Test: emul_severity
Change-Id: I76686421764e2dfae3de9be78ef16a1c3dee9e70
2023-05-24 18:05:41 -07:00
Karuna Ramkumar
dd1bbd007e Merge "display: sb3: shoreline: update rr regamma table" into udc-d1-dev 2023-05-24 23:55:14 +00:00
Ali K. Zadeh
ea22030210 Disable CDPreferIdle and allow all 8 cores for 30fps
Bug: 279955604
Test: ODPM/Framedrops (b/279955604#comment2)
Change-Id: I3852d129faf2ef6c710232d2fc05c0830c479bdb
2023-05-24 22:32:35 +00:00
Wei Wang
16be2a352d Merge "powerhint: decrease down_rate_limit_us when DISPLAY_INACTIVE" into udc-d1-dev 2023-05-24 18:53:57 +00:00
John Pan
e71934965b Build HK3/SB3 default CMF color wallpaper
Bug: 274862523
Test: Build pass; Manual
Change-Id: If24b149a547b8c9bf90f5677c6c621af4dbba25a
2023-05-24 08:55:31 +00:00
Chung-Kai (Michael) Mei
eead637cec Revert^3 "shusky: disable parallel module loading"
This reverts commit 04716d5711.

Reason for revert: Now we can enter fastbootd normally.

Test: shiba rebooted 1000 times without failure
Bug: 280112517
Change-Id: I92736b1e535468083b35058f83a91ad153b6c5c6
2023-05-24 06:05:25 +00:00
Wei Wang
66f849659a Merge "thermal: update thermal policy according to the new CPU dvfs" into udc-d1-dev 2023-05-24 02:43:17 +00:00
Lisa Liu
0c9c2690bb powerhint: boost DSU to 1.8GHZ
Bug: 258100337
Bug: 282086101
Test: Build and abtd run result
Change-Id: Ic8c9b34f54575a5b6124a957548250fcfb23545d
2023-05-23 02:32:11 +00:00
TreeHugger Robot
e47afa20ed Merge "Disable Setting large screen optimization on normal device" into udc-d1-dev 2023-05-23 01:52:16 +00:00
Yvonne Yip
144a806935 powerhint: decrease down_rate_limit_us when DISPLAY_INACTIVE
Bug: b/283319548
Test: Boot and check
/sys/devices/system/cpu/cpu*/cpufreq/sched_pixel/down_rate_limit_us for
screen on and screen off cases.

Change-Id: I9902d50198b8da418008bd2955068ff928a034ec
2023-05-22 16:42:51 -07:00
TeYuan Wang
cfde3b3142 thermal: update thermal policy according to the new CPU dvfs
Bug: 281740657
Bug: 274068928
Test: emul_severity
Change-Id: Iee99e205e3250ee742fb643e38378941ed32aec3
2023-05-22 14:20:39 -07:00
shihchienc
fb1be101b0 Enable superwide band system property
As the change of init feature flag on swb is ready, we will open
swb on those devices that supports this feature with more flexibility
since wiping sys property could be done at android regular releases
as enabling feature flag on server make it more flexible on schedule.

Test: manual
Bug: 283722412
Change-Id: If015fd92b5c75a07bb0820f54dc413a32031f6ea
2023-05-22 06:27:52 +00:00
Treehugger Robot
eea182f78b Merge "powerhint: remove CAMERA_THERMAL_CPU_THROTTLE" into udc-d1-dev 2023-05-20 06:39:40 +00:00
Ziyi Cui
cd0aaa5372 powerhint: remove CAMERA_THERMAL_CPU_THROTTLE
Test: Build and boot
Bug: 283363439
Change-Id: I2cdfd4d97b51df911f7e2e4ed70a362f9aaf4dce
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-05-19 22:50:13 +00:00
Charles Chen
dc2f107406 Disable Setting large screen optimization on normal device
Test: build
fixes: 283348006

Change-Id: I5285b3f40353ec7095425c83a572fc7af5030e11
2023-05-19 12:20:41 +00:00
Carter Hsu
aada421292 Merge "audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony." into udc-d1-dev 2023-05-19 09:09:23 +00:00
Carter Hsu
86fac29453 Merge "audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony." into udc-d1-dev 2023-05-19 09:09:09 +00:00
Treehugger Robot
4d05d944f1 Merge "gps: include gps/brcm/cbd_gps.mk" into udc-d1-dev 2023-05-19 06:46:28 +00:00
Luke Chang
f1c66b01d4 Merge "powerhint: shorter cpd cl2 target_residency" into udc-d1-dev 2023-05-18 12:57:27 +00:00
Carter Hsu
0910c02540 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx FDEQ of Max/Max-1/Max-2 to optimize Dist./FR for EVT1.1 in Handset | Voice_Generic
2. Modify NB/WB/SWB Tx NS B_POST_FILT_0 to 4000/1000/1000 for Tx MOS and SWB FQEQ for FR
3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

- HK3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-HK3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. WB residual echo fixed in EVT1.1
5. SWB Volume curve fine tune

- HK3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214557

Bug: 276334268
Bug: 283214557
Test: verified by rickycheng@
Change-Id: I13fdcd2b0f0b2697761522585ffe39e8d851cec2
2023-05-18 12:33:29 +00:00
Carter Hsu
94d900d933 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- SB3 HANDSET.dat (Duncan)
1: VoIP SWB improve NS distortion under quiet environment
2: Adjust the RLR NOM/MIN for PTCRB certification
3: Align NS B_POST_FILT_0 to 4000/1000/1000 as P10 for TMOUS position T-MOS/POLQA unstable
4: Fine tune WB SFR for better TX POLQA MOS
5: Copy VOICE_GENERIC SWB -> RESERVED2 SWB
6: Copy VOICE_GENERIC NB/WB/SWB TX -> HANDSET_HAC TX

- SB3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-SB3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. all bands Volume curve fine tune

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214955

Bug: 283214955
Test: verified by rickycheng@
Change-Id: I5e52733076ea3845795846f7f5ee166cbe83bcef
2023-05-18 12:30:28 +00:00
Cheng Chang
1b65c6f9be gps: include gps/brcm/cbd_gps.mk
- include cbd_gps for ripcurrent

Bug: 282877296
Test: b/28287729
Change-Id: I3d0ad5a21c33bb3dd301ad9956ef0b2a8cd275e5
2023-05-18 05:55:53 +00:00
TreeHugger Robot
20e24aaf02 Merge "powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint" into udc-d1-dev 2023-05-17 23:58:59 +00:00
Jia-yi Chen
fcb6669e47 powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint
1) Raise the CPU max frequencies
2) Use PMU LIMIT for little cores
3) Set cpuset to 0-7

Bug: 280308326
Test: Boot & check logs
Change-Id: I3435309ea6920b34c8e68b98979ffcc88559ddf3
2023-05-17 15:58:20 -07:00
Treehugger Robot
7f75d907d4 Merge "thermal: Update config for stats" into udc-d1-dev 2023-05-17 15:00:39 +00:00
sashwinbalaji
0557a425ae thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ic79dc44db69238b2ec13be5f9b200a0725f642ac
2023-05-17 14:10:54 +00:00
Treehugger Robot
84bbc8bd45 Merge "add display high blocking zone" into udc-d1-dev 2023-05-17 11:46:20 +00:00
Peter (YM)
6ed9d8de86 thermal: remove MMWAVE from partial system power reference
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.

Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch
Change-Id: I39c3f468f6cda269a5cacce92d346c5b9848b13b
Signed-off-by: Peter (YM) <peterym@google.com>
2023-05-17 08:51:04 +00:00
Treehugger Robot
6c294bd68e Merge "Revert "audio: FM table check in (2023/04/13) for telephony."" into udc-d1-dev 2023-05-17 08:19:43 +00:00
Jasmine Cha
391464076e Merge "audio: use VIRTUAL-SKIN-SPEAKER for playback throttle" into udc-d1-dev 2023-05-17 05:39:02 +00:00
Wei Wang
05d4e9ee5a Merge "thermal: update powerhints for thermal trips" into udc-d1-dev 2023-05-17 05:35:42 +00:00
Treehugger Robot
bd0ae3ea01 Merge "thermal: Adjust throttling policy w/ 26 chg_mdis levels" into udc-d1-dev 2023-05-17 04:54:05 +00:00
TeYuan Wang
d6469ed471 thermal: Adjust throttling policy w/ 26 chg_mdis levels
The kernel side supports 26 levels of chg_mdis throttling now (pa/2492504), so having this change to provide more smooth charging throttling.

Bug: 258136311
Test: check VSKIN-CHARGE temperature w/ charging test
Change-Id: I0d4eddc95aaef5777c07a26985929ee72dc2d1e6
2023-05-17 04:52:53 +00:00
Jason CH Hsu
55915c839b Revert "audio: FM table check in (2023/04/13) for telephony."
This reverts commit 95e65ad4c8.

Reason for revert: remove temp WA and requires aoc ag/23243138

Bug: 277993237
Change-Id: Ie87648482160edffd29e3548402e887b166a43d4
2023-05-17 04:13:50 +00:00
Sayanna Chandula
a010254a29 thermal: update powerhints for thermal trips
Bug: 241784772
Test: Build and boot on device

Change-Id: Ibf3ad81c4df6a30948bb53359b2b8a4001e5d214
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-05-16 19:07:34 -07:00