Commit graph

752 commits

Author SHA1 Message Date
Treehugger Robot
f836dc0967 Merge "thermal: read thermistor temperature from upstream sysfs" into 24D1-dev 2024-04-26 06:17:50 +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
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
Pointer Kung
080b098481 Increase TAUClampBoost during capture to reduce latency
Refer to ag/26943660

Bug: 335758846
Test: Build pass
Change-Id: I7d1c5c75e2b42f0d2625d94c1f0d11bc63d1df5c
2024-04-19 03:38:03 +00:00
sashwinbalaji
2c94505351 thermal: read thermistor temperature from upstream sysfs
tz_temp callback will invoke thermal_zone_device_update and return the
cached temp from thermal core. However, during device resume, the cached
temp may be reset to INVALID number before being returned.

So, change the reading path to upstream temp_show which will return the
temperature from thermistor driver directly.

Current Issue:
We are observing lot of extreme low temp for vskin being reported and
with all coefficients being positive the only way negative vskin is
reported is when thermistors report very low temp. Since abnormality
logging is rate limited this reduces the amount of ml model issues
reported.

Bug: 323987378
Test: Local build and verify lshal
Change-Id: I2445f9d654c2a86c9507bf1654dc44f3b765c889
2024-04-19 09:49:15 +08:00
guibing
302294e462 adpf☄️ update hboost jank check time factor.
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.

HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: Ib189b3f7993e3de1a7175cd8a054272432028b55
2024-04-18 23:38:40 +00:00
Treehugger Robot
3ba17f9f86 Merge "audio: update recording table" into 24D1-dev 2024-04-18 21:58:58 +00:00
Treehugger Robot
3b09794469 Merge "audio: update the telephony table" into 24D1-dev 2024-04-18 20:23:37 +00:00
Shinru Han
bc93cedc5c Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET
Disabling RILC_REQ_GPS_GNSS_LPP_PROFILE_SET because this is not
needed and may cause CP reset after NTN to NT mode switch.

Test: NTN test
Bug: 333902499
Change-Id: I7ad54b3135a57810a624a72030c1a95f2b9774a7
2024-04-18 12:27:38 +00:00
Treehugger Robot
33c030cecd Merge "powerstats: bring PixelStateResidencyDataProvider to device config" into 24D1-dev 2024-04-18 07:45:18 +00:00
James Huang
a20df9fea1 Merge "gps: Update config to disable step counter for CT3" into 24D1-dev 2024-04-17 13:48:48 +00:00
Shinru Han
9ebc533bd9 gps: Update gps makefile
Test: on-device
Bug: 326527903
Change-Id: I979dee0ac81cf74d9f62ee365ae52ce0ae3c6c9f
Merged-In: I979dee0ac81cf74d9f62ee365ae52ce0ae3c6c9f
2024-04-17 10:16:59 +00:00
Zheng Pan
b9d4d25c63 Merge "Revert "Add cpuset system group"" into 24D1-dev 2024-04-17 09:58:29 +00:00
Achigo Liu
27861c6162 Revert "Add cpuset system group"
Revert submission 26931570-cpuset_system_group

Reason for revert: b/335346990 suspend/resume ramdump or black screen

Reverted changes: /q/submissionid:26931570-cpuset_system_group

Change-Id: Ib57acc5a9f510f58ac102ebde544739f2b057efe
2024-04-17 09:35:40 +00:00
Darren Hsu
c3dd8a11be powerstats: bring PixelStateResidencyDataProvider to device config
Second parameter is required to add PixelStateResidencyDataProvider.
If display entity name is empty, the device doesn't support display
VRR power stats.

Bug: 335379104
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I1598bde804857e3f362ff2af1184d81618b75cb6
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-04-17 16:28:39 +08:00
James Huang
a78bab5944 gps: Update config to disable step counter for CT3
Set Chip_Configuration_mems_data_Configuration=0x7 to disable step counter.

Bug: 335320817
Test: Verify no step counter was registed and no more GNSS crash
issue.

Change-Id: Ia53aef1e303fb34129970570cdcca943dbe9494a
2024-04-17 14:49:26 +08:00
Chungkai Mei
9b24ed394a powerhint: port changes from caimito
- Add DISPLAY_CHANGE powerhint
- Add more boosts to LAUNCH_EXTEND
- Remove unused idle target residency settings

Bug: 335367509
Test: boot
Change-Id: I3df0d71f487ac88c58c31532df10e044a898a820
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-04-17 06:23:46 +00:00
Treehugger Robot
13813d56d2 Merge "Revert "Add cpuset system group"" into 24D1-dev 2024-04-17 06:21:59 +00:00
Rick Yiu
9eab62e08a Revert "Add cpuset system group"
This reverts commit c3d404c8ff.

Reason for revert: need more perf evaluation

Bug: 328210236
Test: build pass
Change-Id: If9d7d78154dd20590738d46cdd4b0db35521a82e
2024-04-17 05:06:02 +00:00
Wei Wang
3fbad73d34 Merge "thermal: adjust CPU cdev_ceiling" into 24D1-dev 2024-04-16 21:53:06 +00:00
Treehugger Robot
26593bc30d Merge "uwb: update calibration" into 24D1-dev 2024-04-16 20:42:15 +00:00
TeYuan Wang
d51b20059e thermal: adjust CPU cdev_ceiling
Bug: 329697728
Test: boot to home
Change-Id: I0df4438f17832c7f121cc4340064855d44a44a2b
2024-04-16 18:52:29 +00:00
Rick Yiu
7e1bc6905f Change set preferred idle mask to top-app
Set default value to 0x7f to exclude big core for all priorities, but
restore high and mid to 0xff when app launch.

Bug: 248621289
Test: value set correctly
Change-Id: I47b7e8f587623242e2094531d73c99e88c59c83f
2024-04-16 14:18:55 +00:00
Juyu Chen
a0f1a97dc8 audio: update recording table
Bug: 332295272
Test: see the bug

Change-Id: I36c6f489b92f92b8ac60e28f09135814a2847c95
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 07:40:29 +00:00
Wei Wang
a736ef8632 Merge "adpf☄️ add hboost junk detection time factor into power hint json files." into 24D1-dev 2024-04-16 03:50:58 +00:00
Rick Yiu
9d23e3c338 Merge "Add cpuset system group" into 24D1-dev 2024-04-16 03:20:08 +00:00
guibing
1369e808b4 adpf☄️ add hboost junk detection time factor into power hint json files.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I52068b7527d46ccbcb86589d6d56cef4aa4393b8
2024-04-15 23:59:58 +00:00