Commit graph

421 commits

Author SHA1 Message Date
Paulsu Su
aa58050f50 thermal: remove PMU_POLL control for game mode and disable LIGHT tier throttling when gaming
Port from ag/26822605, ag/26653806

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so remove the CPU thermal policy at lower
temperature to avoid the interfence on CPU scheduler.

Port from ag/26822605

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so keep PMU_POLL being disabled to avoid the interference on CPU scheduler.

Bug: 342968374
Change-Id: Icafaa731abe0541fbd40c6e4501c13ee09803175
Flag: No flag needed for config file
Test: boot to home
2024-07-29 03:50:53 +00:00
Treehugger Robot
4ff2224786 Merge "Revert^2 "Support AIDL based radio HALs"" into main 2024-07-28 10:55:14 +00:00
Treehugger Robot
506c0f5751 Merge "remove uwb hal" into main 2024-07-27 01:02:24 +00:00
Victor Liu
4906fa83ac remove uwb hal
uwb is not supported on this device

Bug: 354302960
Flag: EXEMPT NDK
Change-Id: I8392b998bc128669b393552e0283e89bd4d0d721
Signed-off-by: Victor Liu <victorliu@google.com>
2024-07-26 22:32:12 +00:00
Edwin Tung
33639384c8 Merge "gps: enable MTPL" into main 2024-07-26 05:17:09 +00:00
Edwin Tung
4d9f6bed04 Merge "gps: update gps version 4.15.1_18_240716_R2_227931" into main 2024-07-26 05:16:15 +00:00
Treehugger Robot
0d44327950 Merge "thermal: enable model based vskin calculation" into main 2024-07-25 07:17:12 +00:00
Peter (YM)
8a95f6c471 thermal: enable model based vskin calculation
- Use VT_MODEL to do thermal throttle
- Clamp VT_MODEL prediction based on training set max_surface
- Use VT_MODEL_LEGACY_DIFF to decide on switch
- Enable smooth transition with weights

Bug: 354939290
Test: Build and boot to home, verify vskin-legacy can trigger shutdown b/354939290#comment3
Flag: EXEMPT (bug 337358613)
Change-Id: I8c2a071b8f34c4ab055adfd9d2363f2158775c99
Signed-off-by: Peter (YM) <peterym@google.com>
2024-07-25 04:31:23 +00:00
Edwin Tung
00a7959ec9 gps: enable MTPL
Bug: 334722223

Test: MTPL working fine b/334722223#comment109
Change-Id: I40fc3d69ea7ebf2e08eb9df509b7ca8beb6ac261
2024-07-25 11:46:02 +08:00
Rios Kao
e71e442c6f audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in PTCRB setting,
HASWB TX/RX EQ.
HHWB and HHSWB RXEQ and vol gain.
HHSWB TXEQ
HHWB ECNS.

Files from the latest attachment on b/355139309

Bug: 355139309
Test: verified by ntkuo@
Flag: EXEMPT tuning table update
Change-Id: I8fea1f44756c4e3cef8a14509fe1086d8319415d
2024-07-25 00:57:40 +00:00
Yuchen Sun
fb6bf7e862 Merge "Add JP Initial MIC e-label" into main 2024-07-23 01:57:35 +00:00
Yuchen
78f4d7b008 Add JP Initial MIC e-label
Bug: 346454641
Test: Visual
Flag: EXEMPT resource update
Change-Id: I16f69b4b0da5de399fe34e1f6e500ddf89baf2f3
2024-07-22 09:35:25 +00:00
Tim Lin
b8a3f7f515 Revert^2 "Support AIDL based radio HALs"
Enable AIDL for V requirement

Bug: 281968564
Test: telephony function test
Flag: EXEMPT HAL interface change

a0d25a511c

Change-Id: Ie565e7f4e9e3b1179be54144c17155b0043b1bb7
2024-07-22 01:27:34 +00:00
Tom Huang
15b371b0ed Merge "[BT] Add sysprop to enable OPUS codec" into main 2024-07-19 02:25:52 +00:00
Treehugger Robot
4fc7f66651 Merge "Update antenna position coordinates" into main 2024-07-18 10:08:29 +00:00
Kyle Hsiao
da1bc310c0 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I449dad0911828c810a1f816553246721095b9e96
2024-07-18 10:07:18 +00:00
Roger Wang
ff2b964849 Wifi: Disable Indoor Channel for Peer Network
Bug: 353892955
Test: build pass
Flag: EXEMPT bugfix
Change-Id: I90caedc15d48fe48112775a55c0b6eddd5787478
2024-07-18 08:14:35 +00:00
Treehugger Robot
92038fffca Merge "Set big core to group_cfs_skip_mask for sys group by default" into main 2024-07-18 07:13:06 +00:00
Ferrio Liu
235686b827 Merge "power_profile.xml: Update CPU Parameter for tegu" into main 2024-07-18 06:07:27 +00:00
ferrio liu
13558adb26 power_profile.xml: Update CPU Parameter for tegu
Test: manual test
Bug: 353859162

Flag: EXEMPT, this is an update for power profile
Change-Id: I32f41371baa7f6bdf63c7dc89beb48981b78c45f
Signed-off-by: ferrio liu <ferrioliu@google.com>
2024-07-18 06:06:59 +00:00
Edwin Tung
0ee43f37bb gps: update gps version 4.15.1_18_240716_R2_227931
Bug: 346872594

Test: b/353412628
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I1f12f0b25733418bb9bacc46f8b1e3c75ef2a21b
2024-07-18 05:47:12 +00:00
Paulsu Su
3397733574 Set big core to group_cfs_skip_mask for sys group by default
port from ag/27511024

Let sys group tasks will run less in big core by default.

Bug: 342968374
Change-Id: I3ba6f469caa4d0ddfdf2963182ebde53eba9d009
Test: build pass
2024-07-18 03:36:04 +00:00
Paulsu Su
8f17091791 powerhint: Enable auto migration margins/dvfs headroom for game mode
Port from ag/27002783

Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: If08486732e8213a9d82982f305c42748cf002543
2024-07-17 09:20:33 +00:00
Paulsu Su
ed7eb0272a powerhint: Add nodes to control per-task iowait boost
Port from 27901981

It's disabled by default.

Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.

Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: Ic4ec943181885be2a788c2b8754e814826abdd24
2024-07-17 09:20:33 +00:00
Paulsu Su
9f7a17064a powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Port from ag/26990115

Everything should be disabled by default.

Make sure camera and game explicitly disable them by default too.

Ensure the feature is disable when screen is idle.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: I1425653c56a11b43219771961a5dc24b47b40421
2024-07-17 09:20:33 +00:00
Paulsu Su
4bc2decfb0 powerhint: Explicitly set DownRateLimitUs for camera
Port from ag/26990116

So that we can change the default values without impacting it.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: I7ab645d85563bb6ebc418b8d424c3a4b4504b926
2024-07-17 09:19:57 +00:00
Treehugger Robot
5e5a535ea8 Merge "Adjust positioning smartspace on weather clock tegu" into main 2024-07-17 02:30:25 +00:00
Hawkwood Glazier
75c53eff9c Adjust positioning smartspace on weather clock tegu
Bug: 343751803
Test: Manually checked device
Change-Id: I8d73515f8691485eae5734870fd3decdbe714fe5
2024-07-16 19:36:15 +00:00
Treehugger Robot
fdca21c8fc Merge "thermal: reading the thermistor temperature from upstream sysfs" into main 2024-07-16 06:13:54 +00:00
Treehugger Robot
514770a420 Merge "Audio: Add updated spatializer tuning in Tegu" into main 2024-07-15 17:48:19 +00:00
kuanyuhuang
6393d5a3cf [BT] Add sysprop to enable OPUS codec
Add system property to enable OPUS codec and offload at BT side.

Bug: 353143865
Bug: 353161316
Test: build and check system property at real device
Flag: com.android.media.audio.stereo_spatialization
Change-Id: I4136e73b8705c581512842786a3a85558a02f191
2024-07-15 11:23:05 +00:00
Treehugger Robot
75e528bdcd Merge "Powerhint tuning for photo capture" into main 2024-07-15 09:17:35 +00:00
Rios Kao
849e21af12 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-07-15 06:38:42 +00:00
Rios Kao
2ab0a55965 Audio: Add updated spatializer tuning in Tegu
Bug: 323223919
Bug: 303920722
Bug: 348074352
Test: manual
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Ibbc4f01c0cb4b8dfeeed73a4f5620ce3d7c0af03
2024-07-15 05:48:19 +00:00
Rios Kao
c82bb81b15 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in TIA-5050 EQ for EVT1.1,
Fine-tune HAWB and HASWB RXEQ.
Enable kid voice detection.

Files from the latest attachment on b/352471019

Bug: 352471019
Test: verified by ntkuo@
Flag: EXEMPT update audio table only.
Change-Id: Iff5c38648948a9fe5dedb2b14e002583dd68db04
2024-07-15 05:28:04 +00:00
Pointer Kung
02f1389157 Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Refer to ag/28118299

Bug: 345601796
Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: I86e36c64de4fe02e9c04171edbbc642cac1d0c3c
2024-07-15 04:17:34 +00:00
Peter (YM)
baa8d765a3 Merge "thermal: monitor more sensor for backup shutdown" into main 2024-07-12 02:30:56 +00:00
Peter (YM)
125fb04184 thermal: monitor more sensor for backup shutdown
Enable the monitor for QUIET_THERM,SOC_THERM,RFPA_THERM,NORTH_THERM to
get more information for deciding backup shutdown thermistor

Bug: 350877108
Test: Build and boot to home, verify with emul_temp (b/350877108#comment5)
Flag: EXEMPT (bug 337358613)
Change-Id: I1631311d2847a872b8afc12e2e702b801bf76a77
Signed-off-by: Peter (YM) <peterym@google.com>
2024-07-12 02:08:58 +00:00
Akshay Cadambi
797258bb19 Merge "Audio: Enabled stereo spatialization property for Tegu, added opus codec enabled spatializer offload, added CAF config files for offloaded spatializer and updated the audio tables makefile" into main 2024-07-11 18:01:16 +00:00
Frank Yu
b88e52108f Merge "Add coex display ssc configs to device." into main 2024-07-11 05:30:56 +00:00
Treehugger Robot
04857dae80 Merge "Increase SPC thresholds based on the field data" into main 2024-07-11 03:54:18 +00:00
Treehugger Robot
a3230d8c23 Merge "powerhint: Raise minimum MIF frequency to 546 MHz during screen on" into main 2024-07-10 10:11:35 +00:00
Kyle Lin
67e07b87ad powerhint: Raise minimum MIF frequency to 546 MHz during screen on
Test: Build and power measurement
Bug: 336872050
Flag: NONE powerhint change does not support flags
Change-Id: Ibb49621729f966a83bcbb77d611e0c0e78545805
2024-07-10 09:06:26 +00:00
Pointer Kung
889e8e588c Increase SPC thresholds based on the field data
Refer to ag/28174403 and ag/28179628

Bug: 350111391
Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: Ie5fc7c0e7c10b070bebbdca9af212fb0c1b310d7
2024-07-10 08:47:27 +00:00
Nikhil Bhanu
e578df9f2c Audio: Enabled stereo spatialization property for Tegu, added opus codec
enabled spatializer offload, added CAF config files for offloaded
spatializer and updated the audio tables makefile

Bug: 323223919
Bug: 303920722
Bug: 348074352
Test: manual
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Iecfd82a6285ab8e297b19e89f90ef3c018d275cb
2024-07-09 13:15:57 -07:00
Peter (YM)
c1a6e0447e thermal: reading the thermistor temperature from upstream sysfs
- Workaround to avoid wrong sensor value reading for thermalHAL
- align thermal trigger temp for off mode charging config

Bug: 351248307
Test: Build and boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: Ic83bb09287d4203eb816987e6abf4579b37b002b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-07-09 03:12:12 +00:00
Tom Huang
768d6aeb07 Merge "[BT] Add SAR table" into main 2024-07-05 05:57:32 +00:00
Treehugger Robot
cc4778907b Merge "Enable external binning setting for Tegu" into main 2024-07-05 04:53:38 +00:00
kuanyuhuang
9a8549f18e [BT] Add SAR table
Add Bluetooth default SAR table

Bug: 350838313
Test: build and check table in real device
Change-Id: I1a64291a3100e932436fa0192b606b7177b14a00
2024-07-04 11:55:34 +00:00
Jared David Hallett
dd5fea959c Enable external binning setting for Tegu
Bug: 350850831
Test: manual
Flag: EXEMPT bugfix
Change-Id: I6c59d8cec12220c0fcd4b5d97dcd337379b6eb12
2024-07-04 06:05:10 +00:00