Commit graph

267 commits

Author SHA1 Message Date
Carter Hsu
0fd0fc935b audio: adjust the digitial gain for speaker-mic
add mic gain on path "speaker-mic" from 0 to 22

Bug: 231909998
Test: mmap record
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I66de7c52c29ec3434a5cbed1799029fa5be05f71
2022-05-10 04:00:32 +00:00
Jasmine Cha
00a456a976 audio: update waves related settings
1. add throttle sensor info for waves module.
2. use default custom action for unsupported projects.

Bug: 230280648
Test: adb shell audio_waves_custom_actions_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I71aa59a43b11e7a57834e44da6793b2cfa7c76ed
2022-05-10 01:31:03 +00:00
Wei Wang
87f9dffa44 Boost GPU to 572MHZ for Expensive Rendering
Bug: 230427792
Bug: 222716856
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ice6f569f1c93d03d706e099fe14420fb2da78f1b
2022-05-09 20:27:38 +00:00
Jasmine Cha
4eb6a4ed65 Revert "Revert "audio: enable thermal throttle""
This reverts commit e49bc9478a.

Reason for revert: to be merged with  ag/18185769

Change-Id: I746f0b2fc5094653a373835d0c2d048bcca54ae5
2022-05-09 06:15:44 +00:00
George Lee
8794415291 thermal: BCL policy for BATOILO
Re-enable BATOILO throttling for GPU/TPU to combat over current use
case.

Bug: 231484774
Test: Boot and confirm brownout mitigation for synthetic load
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia46ffd4bb2f5c246f48971aa8d4622b203bef1e7
2022-05-06 20:55:24 +00:00
Jasmine Cha
e49bc9478a Revert "audio: enable thermal throttle"
This reverts commit 59354f550b.

Reason for revert: disable first

Change-Id: I3d74311bc66476e259018a1bc62cf0433ba5c165
2022-05-06 04:18:05 +00:00
Jasmine Cha
59354f550b audio: enable thermal throttle
Bug: 229819466
Test: build pass, voip hands-free mode
      atest --host acoustic_shock_test
      atest --host thermal_throttle_test
      atest --host libaudiohardwarefeatures_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3d75e88a977ce5a2e2b08ef92894d9c5da7eb04c
2022-05-06 02:29:47 +00:00
Victor Liu
4974196267 uwb: update calibration
add missing parameters for antenna pairs

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Test: TH test comms/uwb/presubmit_2_cheetah
Change-Id: Ic7ddfa539ee85c4cfdec099767e322d1dd1742bf
2022-05-05 19:56:51 +00:00
Isaac Chiou
72652908ce Remove PixelWifiOverlay2022 from factory build
With PixelWifiOverlay2022 in factory build, the overlays can be loaded
properly. Remove PixelWifiOverlay2022 and only add for normal build.

Test: overlays can be read properly in both normal and factory build
Bug: 228415213
Change-Id: I1ac9d8c020c6030e8a6f9759ae761e342adc956f
2022-05-05 17:31:03 +00:00
samou
53a6f56c31 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: samou <samou@google.com>
Change-Id: I45b40c4f2f1942d7246d5dbc5fdb237a6ecc571c
2022-05-05 08:02:06 +00:00
Kris Chen
2f6ddb4ed3 c10p10: Enable LHBM control from UDFPS HAL
Bug: 229716695
Bug: 224573604
Test: build and test fingerprint on device.
Change-Id: I8e3945bc8c99aae024f0304912419ce0d2820de3
2022-05-05 02:03:43 +00:00
William Tai
f669d8b42e display: add primary display LHBM property
Add primary display LHBM frames to reach peak brightness property.

Bug: 224573604
Test: perfetto
Change-Id: I55b85dff319fa95be6ee33c7286eca1c0a042407
2022-05-05 02:03:43 +00:00
Roger Wang
8e0b72691c wlan: Disable 6GHz softAp
Driver actually does not support 6Ghz softAp at
current version. Hence, disable it

Bug: 231384422
Test: SoftAp can be enabled
Change-Id: I5433e05dd3cabb3f345c442522f9870a979939c6
2022-05-04 15:47:40 +08:00
Andy Hsu
a039035efc Add a new powerhint mode to boost GPU in shots on P22.
In P22 (Pro), there is no scaling_min_compute_freq (b/228921300) and under STREAMING_STANDARD setting GPU min frequency is 302000 which is smaller than scaling_min_compute_freq 471000 on P21 (Whi).

In addition, on Pro GPU we expect 25~30% slow down in the same frequency compared to Whi.

To boost the performance of GPU for shots on Pro, we add a new powerhint mode GCA_CAMERA_SHOT_GPU_EXTREME which raises the GPU frequency to the maximum.

Bug: 230289913.

Test: Pushed to local C10 (EVT1.0, go/ab/8471717) and test with cl/444178649 (trace: https://ui.perfetto.dev/#!/?s=23af98f7bc1729faefb9df2c6890566d48111bc957592a7c5ffbdad87c3d2f2d)
Change-Id: Ib77bddbdac32e689120c513f38029be9eab96449
2022-05-04 06:21:01 +00:00
Wayne Lin
024bb097f2 gps: enable GNSS PPS feature
Bug: 230433240
Test: verify gnss pps time pass
Change-Id: I49f82c17e31c8face3ce4ac943d59409562771ba
2022-05-04 00:54:57 +00:00
Jasmine Cha
e18493b250 audio: update waves table
- Changes
New iteration of C10 MIX 103 for DF Merge
Full volume curve is integrated with LinkLaw for stereo playback
Reduced Sharpness of speech

CTS Validated
MPS validated w/ all stream paths, concurrencies, configurations w/ Waves Console on build:
TD1A.220406.001 (8410366)

Bug: 203817007
Test: 203817007#comment13, 203817007#comment20

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib95ccb669c8fd5369599bd530aeeb64197d18119
2022-05-03 08:57:39 +00:00
Labib
611939c678 Update Camera Coex Table am: 846d4dd0e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18030213

Change-Id: I5a6d6fecdb736f83f6c24f5002e0fe45c02625eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 05:22:35 +00:00
Sunil Ravi
12c9975eb7 WiFi: Enable radio stats aggregation
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.

Bug: 211890916
Test: atest com.android.server.wifi.WifiVendorHalTest
Test: Manual - Dump the link layer stats and validated the results.
Change-Id: I8e5b86a917daa70d91de16b7f0a65e935e23b888
2022-05-03 00:59:30 +00:00
Victor Liu
be32d26e70 uwb: update calibrations
update default calibration
update japan specific calibration
use japan specific calibration

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ifabe90d0b1361c64b588e032baeec49cc2184e7e
2022-05-02 16:05:55 +00:00
Roger Wang
386686b40b wlan: configure channel 149/36 as p2p preferred channels.
In previoues mechanism, p2p channel only can raise on same channel
while STA connected to 2.4GHz band. However, if device support DBS
mode, we should allow p2p to raise on 5GHz band for 230423673 higher
performance.

Bug: 230423673
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: Ibe996b9d54106734492b4ea2f7b816c3c8e52dbf
2022-05-02 05:06:47 +00:00
Sayanna Chandula
d67d741f5f thermal: remove power rails from ravenclaw config
New thermal engine uses ODPM data. Since ravenclaw might not have
proper ODPM data, it can result in boot failures.

Bug: 230031671
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Id6ca70f22c841aea7a622304e0c757c93e7f55e2
2022-04-29 22:53:00 +00:00
Labib
846d4dd0e9 Update Camera Coex Table
Bug: 206337456
Test: Manual
Change-Id: I71daca44b4fe575b7039d4fabceaec73a75d80ee
2022-04-29 14:55:50 +08:00
William Tai
5df8c12d59 panther: add display high blocking zone
High blocking zone: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 222637975
Test: manual test
Change-Id: Iabd0409c3989cf0000030d93f70c8715eca4174a
2022-04-29 01:45:56 +00:00
Sayanna Chandula
67c54d94ae thermal: fix cloudripper boot issue
Remove power rails from the thermal configuration for cloudripper.

Bug: 230031671
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Id37dbb99745c5cfbd7db9bcaf87241f39c5bf465
2022-04-28 17:34:20 +00:00
Quang Luong
0424602e58 Enable Wifi/LTE + GPS L1 Coex
Bug: 210920670
Test: build
Change-Id: I3ced2400b22f3e18c73df46a1b0a6788e9267cb8
2022-04-28 16:55:53 +00:00
Jia-yi Chen
77913a96ed Update MIFTargetLoad default values
Bug: 223689835
Test: Boot and check values
Change-Id: Ia8f258432f289fa1cc74756cd7fc1b46bbd24806
2022-04-28 16:55:12 +00:00
Labib
6ef7054b4d Update Coex tables for Scone am: 5d65c8e320
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17957066

Change-Id: I2e54d5dc8eab5a43e73c418dc63623fff3c3354c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:29:19 +00:00
Wei Wang
7902961e1d Boost trusty task priority during UDFPS
Bug: 229350721
Test: UDFPS with stress
Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a
Signed-off-by: Wei Wang <wvw@google.com>
2022-04-26 16:47:13 +00:00
Labib
5d65c8e320 Update Coex tables for Scone
Bug: 230301121
Test: Manual
Change-Id: I3b53cd94f970b9dfa5ad0ac0d8a23175671b47bc
2022-04-26 21:31:55 +08:00
Ted Wang
06a42aef1a Switch BluetoothCcc to 1.1 version am: 621a512859
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17889204

Change-Id: I837049f278e6892554a96c40a202c6aca5358a8b
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 11:35:01 +00:00
Ted Wang
621a512859 Switch BluetoothCcc to 1.1 version
Bug: 229710243
Test: make
Change-Id: I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
2022-04-26 10:07:23 +00:00
Sayanna Chandula
1f98950323 thermal: enable thermal engine for evt1.0 devices
New version of thermal engine (Powerlink v2) uses ODPM data for
thermal mitigation. But proto devices does not support ODPM.
Currently we have disabled thermal mitigation for all A0 based
devices through a separate config, thermal_info_config_A0.json.
This change restricts using separate thermal config  only for the
proto devices and uses thermal_info_config.json for the rest.
Fix a format issue with qi-quiet sensor definition.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0922e935cafe118f3437335e2a72b87aae6f6009
2022-04-25 18:20:58 +00:00
Carter Hsu
74b13c4c45 audio: update FM tuning 0422
FM table Changelist:

1. C10 HA NB/WB/SWB: fine tuning for EVT1.1
2. C10 HA NB/WB/SWB: FFP parameter update (enable)

Bug: 216258666
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia4dcb8dd19d4aaf7fa4150a3cdacb9d455994ac6
2022-04-25 07:55:16 +00:00
Jasmine Cha
844477baf8 audio: rename spk module config am: 3a50fbbc53
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17856403

Change-Id: Ie07acb2eb11d7f43d05064c10a9394ef496b3fb3
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 05:11:26 +00:00
Jasmine Cha
3a50fbbc53 audio: rename spk module config
Bug: 204271052
Test: voip + speaker mode

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6aa0da65a1b1faa8be26ae8eb77a01b14d277666
2022-04-25 04:50:48 +00:00
Taeju Park
24632f9b42 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Bug: 224649226
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I49b38af1000ecb750acf94807547670941881b31
2022-04-22 16:02:13 +00:00
Sayanna Chandula
09b55b3d91 thermal: update virtual coefficients to 0.5 version
Update virtual-skin, virtual-skin-charge and cellular-emergency
sensors to 0.5 version coefficients.
Added "Version" field for virtual-skin node for identifying the
version of coefficients.

Bug: 229418131, 227477863
Test: Build and boot on device. Check virtual-skin readings
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I709fa1dfa5304416335bba1a7cb21a267e00c744
2022-04-21 19:25:31 +00:00
Rick Yiu
54f8cd48f0 Reduce FG prefer_idle when display is idle am: c7574a18e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17868107

Change-Id: I800c50d796a565233d0f9ab598a554e300c66ce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 15:50:27 +00:00
Rick Yiu
c7574a18e9 Reduce FG prefer_idle when display is idle
Bug: 178016953
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If3770c4de98cbbd2f36cc7401d9ac284473c10d4
2022-04-21 16:32:48 +08:00
Jason Chang
07462d28c2 Phase out config_roundedCornerMultipleRadius from overlay package am: beb111be34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17782663

Change-Id: I941c63cc5aeda856fedf6980c3db6cc2ee63c7b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 06:34:47 +00:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
chungkai
c3ca48e3ed fix path for i2c peripheral device am: a0b3ae5472
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17822305

Change-Id: I5c52334d71d53d3ca794cb31dea5ab10e3b120ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 17:43:51 +00:00
chungkai
a0b3ae5472 fix path for i2c peripheral device
add potential paths for i2c peripheral devices
sine we enable parallel module loading

Test: without error log on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2afcf5d9255cd821a3bb9136d032b82782f396b3
2022-04-20 17:01:39 +00:00
Isaac Chiou
e86f1e8450 wifi: Seperate WifiOverlay2022 into C10 and P10
Since the behaviors of Wifi/LTE coex avoidance for GPS L1 between C10 and P10 are difference, we need two independent overlay for C10 and P10.
For ravenclaw and cloudripper, they follow the overlay of C10 since they are only for developing purpose.

Bug: 228415213
Test: Overlay config can be read correctly.
Change-Id: I4323682686d8f83b584f2a56f01ebe8ea831cb43
2022-04-20 15:57:53 +00:00
TeYuan Wang
f0cda432e8 thermal: bringup PID thermal throttling for CPU GPU
Bug: 196478280
Test: run burn8 and manhattan
Change-Id: I447fa5bc452f413f65c46c235a5a3692b628586b
2022-04-20 15:37:48 +00:00
Jimmy Shiu
63032d0c25 powerhint: Add Adpf Profiles am: 06a0093822
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17004534

Change-Id: Id4117c90593d2b9c00202d602255c62040b3f2fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:07:47 +00:00
Jimmy Shiu
06a0093822 powerhint: Add Adpf Profiles
Add Adpf Profiles:
1. REFRESH_120FPS
2. REFRESH_90FPS
3. REFRESH_60FPS
4. UiHighBoostWithoutPid
5. UiLowBoostWithoutPid
6. UiLowNoneBoost

Bug: 202158746
Test: boot to home

Change-Id: Ia6b48077dad9f9cf6e10eebcd06e080ae07f75d7
2022-04-20 13:47:14 +00:00
Sayanna Chandula
90962da17e thermal: Set 80degC as control temperature at LIGHT severity
High throttling was observed on BIG cores resulting in device
sluggishness when the skin temperature hit LIGHT severity.
Current Tj control temp is set to 75 degC when LIGHT severity
is set for A0 based devices. This change is to increase the
Tj control temperature to 80 degC, same as B0 soc.

Bug: 229682004
Test: Build and boot on device. Check Tj control temperature
setting at LIGHT severity
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I67219937f89a9edec6fcf6083f4814d29ef600f2
2022-04-20 03:34:35 +00:00
Avinash Malipatil
0ae8841b8e Enable ONS auto provisioning using device config
Bug: 229727068
Test: Manual. Flash the device with the binary including this change and check adb logs. ERR_AUTO_PROVISIONING_DISABLED should not be printed.
Change-Id: I826f86c9943573d25ffeb1ac9761a29c03bf4cc9
2022-04-19 14:03:57 +00:00
Patty
7a63683bc8 Add ewp test tool in userdebug build am: 92755e7a37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17607098

Change-Id: Id1098419eac267b83a3327710a7ca847e5067fd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 12:04:59 +00:00