Commit graph

777 commits

Author SHA1 Message Date
Hasan Awais
9072823361 uwb: update calibration
Bug: 309643761
Change-Id: I4816b4d67ece9c9d3ecc5c7f1f9a3afa84e97dfa
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-05-03 12:37:00 -07:00
Treehugger Robot
5b125b42ff Merge "thermal: Move TPU to the VSKIN-SOC PID loop" into 24D1-dev 2024-05-03 17:00:32 +00:00
Treehugger Robot
5a1f9a5794 Merge "gps: disable AGPS L5" into 24D1-dev 2024-05-03 03:55:31 +00:00
Treehugger Robot
928495e33f Merge "odpm: support 2 random mappings to iio device" into 24D1-dev 2024-05-03 02:58:09 +00:00
Treehugger Robot
c8b5c23804 Merge "audio: remove non-supported analog headset" into 24D1-dev 2024-05-03 02:16:59 +00:00
Darren Hsu
82e60fe15c odpm: support 2 random mappings to iio device
VSYS_PWR_MMWAVE will be replaced with S12S_VDD_AUR on SUB6
only sku. The replacement failed sometimes because there are
2 random mappings to iio device.

Mapping 1
iio:device0 -> s2mpg14-odpm
iio:device1 -> s2mpg15-odpm

Mapping 2
iio:device0 -> s2mpg15-odpm
iio:device1 -> s2mpg14-odpm

Bug: 337665886
Bug: 338416918
Bug: 338316877
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I0f469f663ca25dce86f4e9e44442723627fbb724
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-03 01:47:11 +00:00
TeYuan Wang
15c78bac5b thermal: Move TPU to the VSKIN-SOC PID loop
Bug: 322223131
Test: run TPU test
Change-Id: I4996071d1618808068dddddd984f3eca4da32517
2024-05-02 23:38:47 +00:00
Treehugger Robot
dd26c30510 Merge "Revert "Set big core to cpu skip mask by default"" into 24D1-dev 2024-05-02 21:07:23 +00:00
Wayne Lin
1cad8e9e19 gps: disable AGPS L5
Bug: 336287475
Test: verify pass in b/336287475#comment25
Change-Id: Iaa06c3549d0f36e1dcce93b1dba0341bb1256c4a
2024-05-02 17:00:14 +00:00
Wayne Lin
57a93f40ae gps: disable requestRefLocCb to prevent incorrect cell info
Bug: 336760721
Test: verify pass in b/336760721#comment28
Change-Id: Ic8ce0b7d4c7de072a394d3864375d8c2d8e2b5ce
2024-05-02 22:11:12 +08:00
Chung-Kai (Michael) Mei
bc8ed4b775 Revert "Set big core to cpu skip mask by default"
This reverts commit 2e325a80b2.

Reason for revert: may get geekbench5/6 regressed
Bug: 338140604
Bug: 338141118
Change-Id: I7866afa56a598ffcf56c51cbea21a6237372a599
2024-05-02 11:11:43 +00:00
Matt Buckley
5e7e34f27a Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: I46a03a794fab1446fe3dd2f7b8a87c723157bd24
2024-04-30 16:55:08 +00:00
vincenttew
6934540e44 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I989160063611b0572714678103e870a480783766
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-30 17:56:54 +08:00
Cheng Chang
35b9d94fd1 gps: Enable GAAM and disable magnetometer
Bug: 337715905
Test: Verified sensor service without magnetometer.
Change-Id: Ie1a1d758c3f8a4d2b06795680f798e6c9f4286ce
2024-04-30 02:30:35 +00:00
Cheng Chang
965edec97d gps: Disable AAM feature
Bug: 337715905
Test: Function verification at b/337735228
Change-Id: I071b3fd3acc9b672c68fe4904396407a2cb66b16
2024-04-29 08:26:57 +00:00
Taeju Park
6c0d957039 powerhint: tune default value for PMU limit paramter
Bug: 310237445
Change-Id: Ib7d0876c5f82e81b20b83ff0b96bfed98bff747f
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 19:00:45 +00:00
Taeju Park
ca76952b5a powerhint: remove lcpi paramter for PMU limit
PMU-based soft freq limit no longer use lcpi parameter

Bug: 295054083
Change-Id: I196b238b5607774e6ec78b69a49ab6665cdda97c
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:45:00 +00:00
Wei Wang
a4eeccb5b3 Merge "thermal: use frequency to define hard limit and cdev ceiling" into 24D1-dev 2024-04-26 17:43:37 +00:00
Ted Wang
00df547797 Merge "[Bluetooth] Update Bluetooth SAR table for JP region" into 24D1-dev 2024-04-26 07:59:19 +00:00
Treehugger Robot
4030a99fc2 Merge "thermal: Add VSkin-Speaker Model" into 24D1-dev 2024-04-26 07:47:12 +00:00
Treehugger Robot
3ab2c71536 Merge "thermal: Update VSkin-Model" into 24D1-dev 2024-04-26 07:47:12 +00:00
Treehugger Robot
f836dc0967 Merge "thermal: read thermistor temperature from upstream sysfs" into 24D1-dev 2024-04-26 06:17:50 +00:00
Peter (YM)
b76a852082 thermal: use frequency to define hard limit and cdev ceiling
Test: Boot to home and flash on device
Bug: 330780045
Change-Id: I6deaa4de72d289468344c3312ac44e266e225883
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-26 04:02:25 +00:00
Treehugger Robot
7bc26ad23a Merge "Adpf☄️ revert heuristic boost triggering condition." into 24D1-dev 2024-04-26 02:42:19 +00:00
guibing
daa7974899 Adpf☄️ revert heuristic boost triggering condition.
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: I0539faf785c3a5a7cfd4dbb948b4c1506ed3be5b
2024-04-25 22:51:49 +00:00
Treehugger Robot
79e0e36055 Merge "Set big core to cpu skip mask by default" into 24D1-dev 2024-04-25 19:31:57 +00:00
Sam Ou
efc5f88c7c Merge "bm: config: add quick save br_stats and deglitch ms" into 24D1-dev 2024-04-25 02:33:56 +00:00
samou
cfb56af537 bm: config: add quick save br_stats and deglitch ms
Bug: 336215786
Change-Id: I89f313761e2501e5d49fe3eba4ae4e86a8c719bc
Signed-off-by: samou <samou@google.com>
2024-04-24 14:37:29 +00:00
Treehugger Robot
5581560fcf Merge "gps: Update GNSS FW 4.15.1_5_P4 with config change for CT3" into 24D1-dev 2024-04-24 13:05:28 +00:00
Treehugger Robot
21f2542cfa Merge "audio: update waves tuning" into 24D1-dev 2024-04-24 09:45:23 +00:00
Treehugger Robot
360283f4b4 Merge "Increase SPC thresholds for 60fps" into 24D1-dev 2024-04-24 09:28:01 +00:00
Treehugger Robot
00646a151f Merge "Add antenna position coordinates" into 24D1-dev 2024-04-24 09:15:22 +00:00
sashwinbalaji
607d6b55a3 thermal: Add VSkin-Speaker Model
- Add linear regression model for VSkin-Speaker
- Setup abnormality monitoring:
	- 0 <= VSkin-Speaker <= 55
	- -15 <= Vskin-Speaker Model - Legacy <= 15
- Residency for Vskin-Speaker Model

Bug: 303547367
Test: Local build and verify lshal
Change-Id: Iadb46c82c2568c2eec31fe2cf7b9fd2cb9a56a04
2024-04-24 14:54:31 +08:00
sashwinbalaji
be09cda8ba thermal: Update VSkin-Model
- Unhide VSkin-Model to ensure thermal recorder can log
- Reduce vskin-model-legacy-diff to align with other devices
- Remove model backupsensor, since model is not used for throttling
  remove backup sensor to collect more field issues.

Bug: 315948438
Test: Push config and verify dumpsys
Change-Id: I4adfcb6a13c58b15f1d97b1130d4bc0f1776f235
2024-04-24 14:00:21 +08:00
Pointer Kung
2b3e8f340a Increase SPC thresholds for 60fps
This CL increase SPC threshold for little core to 55, and for mid core
to 32. Tests show that in a loaded scenario, framedrop rate can reduce
to almost zero, while not impacting the power in the unloaded (baseline)
scenario.

Refer to ag/27032799

Bug: 335719478
Test: Build pass
Change-Id: I0f5926ec9ce9188c462455dfcad25f4e8d5f761f
2024-04-24 04:44:02 +00:00
James Huang
90727b604a gps: Update GNSS FW 4.15.1_5_P4 with config change for CT3
Add Chip_Configuration_FeatureCfg_MTPL = 0 to disable MTPL

Bug: 336179125
Test: CTS/VTS, GNSS sanity test and SST in b/336424148
Change-Id: Ie13bc08afaf61569419c76c97bcc1d6eae21a5b6
2024-04-24 12:07:41 +08:00
Jasmine Cha
82d1bce7fb audio: update waves tuning
1. Improved bass amount, mid range and overall loudness
2. Volume cuve tuning for media playback, notification, alarm and
   ringtone.
3. Thermal throttling of the bottom speaker is initiated when the
   virtual skin temperature exceeds 47°C

Bug: 336671261
Test: manual test

Change-Id: I119f8d134f839ba7b3daabe36ad049f5d1db647d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-04-24 04:05:05 +00:00
Shinru Han
707e3c172b Merge "Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into 24D1-dev 2024-04-24 00:59:36 +00:00
Shinru Han
80d9c91265 Merge "gps: Update gps makefile" into 24D1-dev 2024-04-24 00:59:36 +00:00
David Li
2cde280244 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev 2024-04-23 19:21:48 +00:00
Treehugger Robot
ff40ec96bb Merge "gps: Update SUPL UT1 timer" into 24D1-dev 2024-04-23 11:56:57 +00:00
Kyle Hsiao
f903f26c31 Add antenna position coordinates
Bug: 336231717
Test: manual
Merged-In: I2238b670858ca42b6921906f3cd8a840c42c791e
Change-Id: I2238b670858ca42b6921906f3cd8a840c42c791e
2024-04-23 09:29:19 +00:00
Rick Yiu
2e325a80b2 Set big core to cpu skip mask by default
Also reset the mask for launch and other camera streaming modes that
do not use it.

Bug: 248621289
Test: build pass
Change-Id: I754a12ac7883a4e5da44e587a28dadf0a990da3d
2024-04-23 05:28:23 +00:00
Chung-Kai (Michael) Mei
bc8a17c21d Merge "powerhint: port changes from caimito" into 24D1-dev 2024-04-22 08:48:51 +00:00
Wayne Lin
c9cf59ae78 gps: Update SUPL UT1 timer
set SUPL UT1 timer to 20 seconds to align ixit_timer_UT1 range

Bug: 334885271
Test: config works to set UT1 timer to 20 seconds
Change-Id: I67c235de4b56f68473f4f3357b0bb69ca5c711ef
2024-04-22 08:02:28 +00:00
David Li
b53c94e7e9 audio: change in-call-capture paths and remove unused ctls
Bug: 333840723
Test: python3 dialer-cmd.py callaudio record /data/data/com.google.android.dialer/cache/record-$datetime.pcm
Test: Live caption in dialer
Change-Id: I205d816d253d8ed0dd9e6eb8f83295762e928a02
2024-04-20 04:28:03 +08:00
Treehugger Robot
51f79f48d1 Merge "Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD" into 24D1-dev 2024-04-19 14:04:58 +00:00
Treehugger Robot
38d5decf2f Merge "Increase TAUClampBoost during capture to reduce latency" into 24D1-dev 2024-04-19 14:04:20 +00:00
Pointer Kung
57cae40133 Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD
SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.

Refer to ag/26943567

Bug: 335776541
Test: Build pass
Change-Id: I39d442f95215a7e72d093fd101fb4cc71840ba3d
2024-04-19 06:47:26 +00:00
Ravi Jain
c3f054d1ef Merge "dumpstate: touch: Init using touch_predump" into 24D1-dev 2024-04-19 05:47:47 +00:00