Commit graph

683 commits

Author SHA1 Message Date
TreeHugger Robot
d98530e070 Merge "init: fix world writeable on speaker.diag" into udc-d1-dev 2023-05-31 05:52:12 +00:00
Robert Lee
5344132e34 init: fix world writeable on speaker.diag
Bug: 284996147
Test: builds
Change-Id: Ib85d06312a254d1f9483d5e5d006934c446a2006
Signed-off-by: Robert Lee <lerobert@google.com>
2023-05-31 11:16:16 +08:00
Jing Wang
c35219a54b Merge "Revert "Revert^3 "shusky: disable parallel module loading""" into udc-d1-dev 2023-05-30 23:28:53 +00:00
Jing Wang
d4c206cfcf Revert "Revert^3 "shusky: disable parallel module loading""
This reverts commit eead637cec.

Reason for revert: b/284937144

Change-Id: I0538a9a57f4e202cab9701cb16dbd6ea1e55f859
2023-05-30 23:07:55 +00:00
Treehugger Robot
9305489bee Merge "Revert "haptics: update hapitcs sink and slot setting"" into udc-d1-dev 2023-05-30 16:12:09 +00:00
Leo Hsieh
e65696ed15 Merge "hk3sb3: Enable runtime exposure compensation" into udc-d1-dev 2023-05-30 13:50:00 +00:00
Treehugger Robot
c190406429 Merge "Add POF property" into udc-d1-dev 2023-05-30 03:51:27 +00:00
Ted Wang
944e6cd36d Add POF property
Add those property for FinderService

Bug: 283372320
Test: make
Change-Id: I55d64b34441d42cee20a4fa6a34f797acb62c485
2023-05-30 03:32:24 +00:00
leohsieh
9740e95d13 hk3sb3: Enable runtime exposure compensation
Bug: 267271482
Test: build and test fingerprint on device.
Change-Id: Id8e983cbd4413aeb8c61adfdea018eae4c8b1289
2023-05-30 03:21:28 +00:00
Bill Lin
03eedd0231 Merge "Update display shape config for FHD+ display" into udc-d1-dev 2023-05-29 10:05:32 +00:00
Treehugger Robot
2cb54e65d2 Merge "Revert^3 "shusky: disable parallel module loading"" into udc-d1-dev 2023-05-29 05:23:24 +00:00
Ali K. Zadeh
c3a29e0de7 Merge "Enable PMU, use cam2 EM profile for 60fps" into udc-d1-dev 2023-05-27 20:28:08 +00:00
Ali K. Zadeh
a853895d3f Enable PMU, use cam2 EM profile for 60fps
Bug: 256723111
Test: ODPM/Framedrop (https://docs.google.com/spreadsheets/d/1U7RvqW7x7PbZh-NML_HvBuaXDHbnUDN4QrRCdUHzPQI/edit?usp=sharing)
Change-Id: I4384078b49075c43490909f56f3297ad63ff9987
2023-05-26 23:50:17 +00:00
Wei Wang
1e6f2fad18 perf: change the order of the rate limit vote
Bug: b/283319548
Test: none
Change-Id: Icf23f3ce0286045846785459ef8066ff5ae5b8c2
Signed-off-by: Wei Wang <wvw@google.com>
2023-05-26 15:08:00 -07:00
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