Commit graph

339 commits

Author SHA1 Message Date
TeYuan Wang
0b07b217f9 thermal: correct the sensor settings in thermal config
Bug: 222577017
Bug: 228789757
Test: emul_temp and confirm the thermal log
Change-Id: I772dc36d0667e0f5c8b6473f9e3f158c36388039
2022-05-13 16:48:41 +00:00
Labib
85041b0d6c Update Coex table for P22 devices am: 2e72a472d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18235094

Change-Id: Ibb9a7faabdb7b3de902550bb866d9e7e9df0388e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 09:36:11 +00:00
Carter Hsu
05bec92030 audio: update Fortemedia VoIP condition to reserve2
1. P10 HA Generic tuning optimize for EVT1.1
2. C10 HH NB/WB/SWB mic hardware adjustment for EVT1.1
3. P10C10 HH/HE:
    (1) Modify to mono channel in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 232349071
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1db35a5f7526c2dcb2c73997a92f0e9bc9966fa
2022-05-13 09:04:41 +00:00
Rick Yiu
9754eca154 Disable task packing when camera is running
Task packing has slightly impact for camera performance, so disable
it when camera is running.

Bug: 231074255
Test: build pass
Change-Id: Ic375103d4f7200dbceb013495c127e4a38d84654
2022-05-13 04:29:44 +00:00
Sayanna Chandula
d16aa14df0 thermal: update usbc overheat mitigation thresholds
Update C10 USBC overheat mitigation thresholds.

Bug: 222577017
Test: Build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I1799774b495bb44c5f2cf4cbe67c92a231f6333d
2022-05-12 23:24:19 +00:00
Taeju Park
c39a9ea13a Add a powerhint node for pmu poll enable
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I7f192402d9a4d3ad9374a0c1723740f67a0e7ff5
2022-05-12 22:38:18 +00:00
Long Ling
b6636294d7 display: fix hbm hdr at 60 hz
Bug: 229942385
Change-Id: Id20fbbb4bad5885613843a46df16db39eef350a9
2022-05-12 17:51:14 +00:00
kuanyuhuang
ea734c0a8c A2DP enable AAC-VBR by default am: c46436faa5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18231682

Change-Id: I5b2c62ef0f8f66f544215b6edeedbdb63d5a794a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:02:31 +00:00
Robert Lee
363fbe88dd audio: update speaker protection bin files
Change list:
1.Set fallback value for repair center(not impact tuning)

Bug: 199029784
Test: Builds
Change-Id: Ia58aec716eb697d483a25f00e5244a3ea8ee8e70
Signed-off-by: Robert Lee <lerobert@google.com>
2022-05-12 12:08:05 +00:00
Robert Lee
0e03e0ac19 audio: update speaker protection bin files
Change list:
1.Set fallback value for repair center(not impact tuning)

Bug: 198765357
Test: Builds
Change-Id: I9c68a737ea1854e458e3b57b47a1c227a4f4a4bd
Signed-off-by: Robert Lee <lerobert@google.com>
2022-05-12 12:08:02 +00:00
Carter Hsu
f0264e1130 audio: update camcorder tuning
Refine AZ and Surround recording parameters and related IIR2 tuning

Bug: 232162570
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2cc34f9fd106578a4e2693b5183aa8879cf70465
2022-05-12 01:44:54 +00:00
Wei Wang
f3e165b812 Boost INTERACTION to 185 and remove DISPLAY_UPDATE_IMMINENT
Bug: 205369368
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie70272c7f7df3ae0c056b7672cd2689966c50522
2022-05-11 22:02:08 +00:00
Labib
2e72a472d3 Update Coex table for P22 devices
Bug: 206337456
Test: Manual
Change-Id: I6c38ac3f62816f20315a6df380b657369aba3496
2022-05-12 04:28:51 +08:00
Edwin Tung
3ce76b71a6 Revert "gps: enable GNSS PPS feature"
Revert submission 17983790-p22-gnss-pps

Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust.

Bug: 230265527

Reverted Changes:
I8d2abd38f:gps: enable GNSS PPS feature
I49f82c17e:gps: enable GNSS PPS feature

Change-Id: I4744d922469a6087122e4c0c20c0436e2a15a9fe
2022-05-11 08:49:29 +00:00
David Li
d0f673ce10 audio: add dynamics processing effect to audio_effects.xml
Bug: 215662726
Test: YTMusic with adaptive audio
Change-Id: I1346de62a2e1425250583d7bc1365ffa72353ee6
(cherry picked from commit 9e36616a4d)
2022-05-11 06:59:43 +00:00
wenchangliu
885e1840d8 c10p10: Enable media performance class 13
Bug: 229938655
Bug: 231176609
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: Iec4eac3a3148b8ca6eefdf23151a146ab26ec596
2022-05-11 03:29:18 +00:00
Carter Hsu
a4d7b2d49d audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I311a292f3ab22c46417c9e62c0c5116c15368398
2022-05-11 03:00:58 +00:00
Rick Yiu
a77bbf588c Disable packing when app launch
Task packing may hurt app launch time, so disable it when app launch.

Bug: 201259891
Test: hint works
Change-Id: Ia28e96a25bbb82c74a3c9761a89683b2cc05938c
2022-05-10 14:28:01 +00:00
William Tai
e677888bdb display : update color data file
Update disply color data for LHBM.

Bug: 228920395
Test: adb shell displaycolor_service 653
Change-Id: I02763f8fd204c16f545ad86c87e1c5584c69f15f
2022-05-10 06:10:45 +00:00
William Tai
79e5ff3189 display : update color data file
Update disply color data for LHBM.

Bug: 228920164
Test: adb shell displaycolor_service 653
Change-Id: Idcc7875c86d8120d9e9b4afa03b2c72ad3f16739
2022-05-10 06:10:45 +00:00
William Tai
f1aa3d02b8 display : update color data file
Update disply color data for LHBM.

Bug: 228919808
Test: adb shell displaycolor_service 653
Change-Id: I99066ac7e984332524494e8ab99816e678781652
2022-05-10 06:10:45 +00:00
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
kuanyuhuang
c46436faa5 A2DP enable AAC-VBR by default
AAC-VBR is more prefered than AAC-CBR for A2DP playback.

Bug: 200101304
Bug: 229939538
Test: dumpsys bluetooth_manager
Change-Id: I8930fdf383a4bbe481371b4aa4379f554bb9bd15
2022-05-09 11:26:52 +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