Commit graph

398 commits

Author SHA1 Message Date
Andy Hsu
e0a1e92653 Create the GPU powerhint settings for streaming.
Bug: 229794313

Test: Updated Lyrics in ag/18192655, updated the powerhint files on local C10 (EVT1.0f, ab/8559183), switched to video bokeh prewview and saw 572000 in /sys/devices/platform/28000000.mali/hint_min_freq.

Test: Checked the latency in video bokeh preview. the total latency of video bokeh node improved from 33.96ms to 26.93ms.

- tested scene: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/PXL_20220512_035931033.mp4?user=pixel-camera-data-readers.
- timer after: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/timer_after.txt?user=pixel-camera-data-readers.
- timer before: https://cnsviewer2.corp.google.com/cns/qj-d/home/pixel-camera-data-readers/acat/hwandy/ag/18192655/timer_before.txt?user=pixel-camera-data-readers.

Change-Id: I6272f9769441702004299060808b0ccfc18b1caa
2022-05-19 16:36:42 +00:00
Victor Liu
438c0854bb uwb: calibration file update
Fix C10 AoA polarity by modifying LUT in config file

Bug: 233072004
Change-Id: Ic163f03efa14f3af38fff92902241cd09516546f
Signed-off-by: Victor Liu <victorliu@google.com>
2022-05-18 20:24:09 +00:00
Wei Wang
af0111f5ef Remove FPS based hints for TA boost
Bug: 205369368
Test: Build
Change-Id: I063f8aa6d77b966d50d11c0135880ff787870e07
Signed-off-by: Wei Wang <wvw@google.com>
2022-05-17 16:06:14 +00:00
Bill Lin
21240c5ca5 Add quickpickup sensor to config.xml
Test: manual enable AOD and verify quick pick up gesture
Bug: 232717890
Change-Id: I5ae6f871168368e351a64a9f4337c83d14f4ecca
2022-05-17 17:41:02 +08:00
Jimmy Shiu
392b34f0f1 ADPF: remove UclampMin_Granularity
No need to prevent uclamp.min update rate by Granularity.
There is no perf impact.

Bug: 232336917
Test: /data/nativetest64/libperfmgr_test/libperfmgr_test
Change-Id: I535a57b68da9e9b37f4126e46d0410ccb410be46
2022-05-16 16:33:38 +00:00
Wei Wang
f7db19164e Add FGPreferIdle to app launch
Bug: 178016953
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I2e1a2ad5b412825f306c44e80946a1086afd7571
2022-05-14 03:00:49 +00:00
Yichi Chen
5f25a289f7 [RRS] Enable RRS in FHD+ by default
The impact of the change only aims to users who have never configed RRS
and those who do factory reset themselves.

Bug: 232536153
Test: factory reset the device and check RRS setting in FHD+
Test: configure RRS and check the config is stored after rebooting
Test: disable smooth display and check the expected refresh rate
Change-Id: I01c46ac2566f0b060fcf23a092601f05bbf568cb
2022-05-14 00:34:22 +00:00
Jing Ji
97125e45f9 Turn on auto restricted bucket on abusive bg battery usage am: 0496799caa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337180

Change-Id: I6f6b08e87745df739ded6a62b61802eb2cf0ffd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 18:21:08 +00:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
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