Commit graph

1568 commits

Author SHA1 Message Date
Paulsu Su
77224746ca powerhint: CPULittleClusterMinFreq default 820MHz
Change-Id: Ib546be142955d36eb417f34d6ab086833e380320
Test: boot to home
Bug: 348088963
Flag: NONE powerhint do not support flag
2024-08-07 07:27:06 +00:00
Lokesh Kumar Goel
82493cf5ae Merge "caimito: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Treehugger Robot
4d9e95ac04 Merge "caimito: update libspeechenhancer library." into main 2024-08-05 08:28:06 +00:00
Treehugger Robot
564aaa1f31 Merge "Boosting kswapd uclamp min value when the panel is on" into main 2024-08-05 02:55:04 +00:00
Lokesh Kumar Goel
60916ef9aa caimito: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_CAIMAN
Flag: build.RELEASE_BASE_OS_KOMODO
Flag: build.RELEASE_BASE_OS_TOKAY
Bug: 155105803
Change-Id: I9b977a25fd6fb2645aabaf35fff70bff5138b7e1
2024-08-03 15:12:12 +00:00
Treehugger Robot
4e5c02280b Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:59 +00:00
Cindy Chung
ebd4b3b4b9 Merge "Modify maxGamma value of short-term model" into main 2024-08-02 07:35:02 +00:00
Cindy Chung
9c72d864de Modify maxGamma value of short-term model
Bug: 346699039
Test: dump display log
Flag: EXEMPT bugfix
Change-Id: I5309f2fc376af1a05cd578c2bdff7949d0a6f151
2024-08-02 06:11:22 +00:00
Martin Liu
ae6907b6b8 Boosting kswapd uclamp min value when the panel is on
Boosting kswapd's uclamp minimum value in the scheduler
allows kswapd more opportunities to remain in middle cores.
This change enhances kswapd's memory reclamation efficiency.

Bug: 351708752
Test: check kbnob value when the panel is on/off
Flag: EXEMPT device policy tuning
Change-Id: I4b75016aa3f2de22b0b9e46d8e594d4042124a04
Signed-off-by: Martin Liu <liumartin@google.com>
2024-08-01 14:29:57 +00:00
Bao Do
8393792f95 Merge "Add set scenarios and configurations files for P24 projects." into main 2024-08-01 07:57:50 +00:00
Rios Kao
82bd2af2dd caimito: update libspeechenhancer library.
note: version 0731 to support handset mode.

Test: build pass
Bug: 343339070
Flag: EXEMPT update library only
Change-Id: I5dfbe1ab8d774b009d724a0bd84c1e3175357166
2024-08-01 01:39:46 +00:00
Chris Paulo
41ca8f2fe7 haptics: Update output distortion gain
Recommended output distortion gain is 0.48.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: Ie2f0aca563d3a6f36f0b543cacd52a735b941f69
2024-07-30 10:43:33 -07:00
ChienHsiang Hsu
5478e7593a Merge "audio: 2024/07/23 Fortemedia table check in for QPR3" into main 2024-07-30 04:34:46 +00:00
Jason Hsu
ac0062656d audio: 2024/07/23 Fortemedia table check in for QPR3
<change list>

KM4 (Owen)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Tx: Update SWB AEC/NS tuning(v0527) to improve DT performance
3. Batch copy 1./2. from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case
TX_KIDDET_NTH (0x0003)
TX_B_POST_FLT_KID (0x1000)
TX_T0_NE_TH (0x0DAC)
TX_T0_NE_3_TH (0x0FA0)

TK4 (Ricky)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Batch copy 1. from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case

CM4 (Duncan)
- Handsfree
1. Disable LSNR on WB/SWB: TX_SENDFUNC_MODE_1 (0x0000) & TX_LOGSNR_THR (0x8001)
2. Batch copy 1.from generic to co-use case

- Handset
1. Enable Kid's voice protection on WB/SWB and batch copy from generic to co-use case

Bug: 354159219
Bug: 332933649
Test: verify by Acoustic team
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I08a28e002afae5569de5f3dff22c7e17afb35b89
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-07-30 04:34:35 +00:00
Rios Kao
93b0ed7778 Merge "caimito: add incall stream 3 for gsenet uplink" into main 2024-07-30 02:56:14 +00:00
Gil Liu
1dfc189216 Merge "display: add disp_therm sysfs node and interval time" into main 2024-07-29 06:10:29 +00:00
Peter Lin
5c6e209c5e display: add disp_therm sysfs node and interval time
Bug: 340846691
Flag: NONE add new property
Test: check the display temperature work
Change-Id: Id9861c22eb9e79a518863bd88dc2c1a7d5568cff
2024-07-28 15:47:07 +00:00
Treehugger Robot
874d9c7a23 Merge "Adpf:caimito: switch to multitier heuristic boost." into main 2024-07-27 00:58:12 +00:00
guibing
ca3ac26d16 Adpf:caimito: switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I550086e5c47991ed25c3b988ca11e8cf9df5d118
2024-07-26 23:21:38 +00:00
Bao Do
75f7ce102c Add set scenarios and configurations files for P24 projects.
This is a clone of the default files, only GAME scenarios
has some order changed to prioritize 48k gaming without source.

Bug: 331490291
Test: Check file location
Flag: NONE system property change only
Change-Id: Ib09e25104828d9fb2a96b5150848a9cf515cf105
2024-07-26 16:11:25 +08:00
Treehugger Robot
2f948b2e66 Merge "16kb: Set 16kb kernel for caimito targets" into main 2024-07-25 19:51:33 +00:00
Ali K. Zadeh
65f83652c9 Merge "[caimito] Enable PA_KILL during PA_KILL_BOOST" into main 2024-07-25 18:02:00 +00:00
Juan Yescas
87147bd1ab 16kb: Set 16kb kernel for caimito targets
When TARGET_BOOTS_16K is set to true for caimito
targets, the 16kb kernel will be picked.

Bug: 347110197
Test: $ source build/envsetup.sh
      $ lunch tokay_16k-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR
      device/google/caimito-kernels/6.1/trunk-12120393/16kb
      $ get_build_var RELEASE_KERNEL_TOKAY_DIR
      device/google/caimito-kernels/6.1/trunk-12120393
      $ get_build_var KERNEL_MODULE_DIR
      device/google/caimito-kernels/6.1/trunk-12120393/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/caimito-kernels/6.1/trunk-12120393/kernel-headers
Flag: EXEMPT bugfix
Change-Id: I1fc0f3aa778eb2e25d2d07d8cc9f26065aabb4bf
2024-07-24 22:35:35 -07:00
Treehugger Robot
2fe0d53e80 Merge "gps: Update 4.15.1_19_240725_R1 config for P24" into main 2024-07-24 12:49:56 +00:00
Robin Peng
fdd37d1d2b [automerger skipped] Update P24 SVN to 5 am: 4b85e78912 -s ours
am skip reason: Merged-In I03119ef2438d8a01610787cb54c4173d5a5b9a29 with SHA-1 048b248c74 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28421209

Change-Id: I06ce46f281698dd96f9cc3ddfe2e6499d60f7e7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 08:16:10 +00:00
Dmitry Skiba
c6fba349eb Reduce swap_free_low_percentage for Tokay.
The default for swap_free_low_percentage is 10, and this CL reduces it
to 7 to compenstate for AiCore carveout (4GB on 12GB device).

Test: flash and check ro.lmk.swap_free_low_percentage property
Flag: NONE overriding system property
Bug: 353531482
Change-Id: I57e320010758be3b2ae6b3cd89c384394147f62a
2024-07-23 14:13:00 +00:00
Bao Do
00234f7083 Merge "Set system property for LEA multi-codec for P24 projects" into main 2024-07-23 04:50:06 +00:00
Rios Kao
fc28091f41 caimito: add incall stream 3 for gsenet uplink
note: add new use-case for gsenet voip

Test: build pass
Bug: 343339070
Flag: NONE EXEMPT add path for existed feature.

Change-Id: I8f8710161fd8a2af338fb043cb3264def6fc9090
2024-07-23 01:55:44 +00:00
Robin Peng
ad6b8d7ce2 [automerger skipped] Update P24 SVN to 4 am: 5f67c9a46c -s ours
am skip reason: Merged-In I03119ef2438d8a01610787cb54c4173d5a5b9a29 with SHA-1 048b248c74 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28421207

Change-Id: Ic9862c49687567a8c9efd017e590e8eb5420ce15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-22 17:33:59 +00:00
Robin Peng
4b85e78912 Update P24 SVN to 5
Bug: 350826665
Change-Id: I806654fb5cc7bb882f8e58bddf4c2cb1d31ae87e
Merged-In: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-22 06:12:36 +00:00
Robin Peng
5f67c9a46c Update P24 SVN to 4
Bug: 350826665
Change-Id: I5de5e88e286aea0a5d5786e7f84732f947a88449
Merged-In: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-22 06:12:06 +00:00
Robin Peng
1a61f943a7 Update P24 SVN to 4
Bug: 350826665
Flag: build.RELEASE_SVN_CAIMAN
Flag: build.RELEASE_SVN_KOMODO
Flag: build.RELEASE_SVN_TOKAY
Change-Id: I5de5e88e286aea0a5d5786e7f84732f947a88449
2024-07-22 06:01:01 +00:00
James Huang
ee5c11ff24 gps: Update 4.15.1_19_240725_R1 config for P24
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
Change-Id: Ifcd7075c57ae5fd3646bcab7ab29a0baf0d436b2
2024-07-20 10:24:41 +08:00
Ali K. Zadeh
fb22d799d6 [caimito] Enable PA_KILL during PA_KILL_BOOST
Currently, we enable PA_KILL always on camera launch. This CL puts this
feature behind a power boost profile which can only be triggered from
camera hal and is controlled by a mendel flag.

Bug: 350594261
Test: adb logcat
Flag: EXEMPT resource only update
Change-Id: Id227bd35fda97d5b0cbdfe9e4df39eff2e565b7d
2024-07-19 18:58:03 +00:00
Kangping Dong
6ec36922e1 Merge "Add ThreadNetworkDemoApp to Caiman, Komodo, and Tokay" into main 2024-07-19 02:56:45 +00:00
Kyle Hsiao
048b248c74 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I03119ef2438d8a01610787cb54c4173d5a5b9a29
2024-07-18 13:09:34 +00:00
Kangping Dong
0cad4284a5 Add ThreadNetworkDemoApp to Caiman, Komodo, and Tokay
Flag: EXEMPT userdebug-only change
Bug: 353883169

Change-Id: Ibaaa528d3d157952fcb6e00882f79720281cdc5d
2024-07-18 09:31:35 +00:00
Bao Do
a31f1241c9 Set system property for LEA multi-codec for P24 projects
Bug: 306225778
Test: Check system property value
Flag: NONE system property change only
Change-Id: I7a7d9363fb0168a9af876936cdf21c55e3aef96e
2024-07-16 11:35:21 +08:00
David Lin
4346aa77b5 [automerger skipped] Merge "Changed png to final version." into 24D1-dev am: 0b6ff5a7a3 -s ours
am skip reason: Merged-In I1307429ea089422b6a417bd19f617f191fd4756b with SHA-1 82f05a5baa is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28285301

Change-Id: I9dfacaa7ab258ad03693c419b019fe2b9bd57218
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 01:13:53 +00:00
Yuchen Sun
c3665d6bc9 [automerger skipped] Changed png to final version. am: b2925e7450 -s ours
am skip reason: Merged-In I1307429ea089422b6a417bd19f617f191fd4756b with SHA-1 82f05a5baa is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28285301

Change-Id: Iff3ac340cee3dca5ee19c1151c6ab2288ada1d4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 01:13:48 +00:00
David Lin
0b6ff5a7a3 Merge "Changed png to final version." into 24D1-dev 2024-07-16 00:53:34 +00:00
Paul Chen
b1394fecf6 Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork am: ec8cb9fc6f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28241532

Change-Id: If1f547fb02325d9cbde7f55bc4546941576f0339
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-15 04:29:48 +00:00
Lokesh Kumar Goel
d68d6de7c4 Merge "caimito: Use build_flags for SVN" into main 2024-07-12 18:00:40 +00:00
Paul Chen
ec8cb9fc6f Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
In JP, the device is not allowed to enable hotspot on W52 (5G band 1) outdoors unless the warning statement is present, and the original mechanism would violate regulations when the device connects to AP on W52 and enables the hotspot outdoors.

This CL disable config_wifiEnableStaIndoorChannelForPeerNetwork and make sure the device will not enable hotspot on Indoor Channel

Bug: 351981809
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
Change-Id: I8598e97b7d614ecc23ad19a86d209192903c4d3b
2024-07-12 07:04:32 +00:00
Zorah Chen
0495e5cffe Merge "Powerhint tuning for photo capture" into main 2024-07-12 05:54:56 +00:00
Yuchen Sun
b2925e7450 Changed png to final version.
Bug:318613060
Test: visual
Change-Id: I1307429ea089422b6a417bd19f617f191fd4756b
(cherry picked from commit 82f05a5baa)
Merged-In: I1307429ea089422b6a417bd19f617f191fd4756b
2024-07-12 05:40:22 +00:00
zorahchen
d68bded2d6 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.

Bug:345601796
Performance Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_retune_capture_enhanced/index.md?cl=alikz/1010
Kibble Power Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_kibble_capture_rt_enhanced/index.md?cl=alikz/1044
Flag: NONE powerhint change does not support flags
Change-Id: I8683b50b212d50b85b22b5cb48d712fc8eb43444
2024-07-12 02:03:49 +00:00
Lokesh Kumar Goel
dc64ebbb62 caimito: Use build_flags for SVN
Flag: build.RELEASE_SVN_CAIMAN
Flag: build.RELEASE_SVN_KOMODO
Flag: build.RELEASE_SVN_TOKAY
Bug: 332726030
Change-Id: I8e2a835fd2887c4e77d95bf0a3bc63a25161b080
2024-07-11 19:55:54 +00:00
Yuchen Sun
82f05a5baa Changed png to final version.
Bug: 351392115
Test: visual
Change-Id: I1307429ea089422b6a417bd19f617f191fd4756b
2024-07-11 05:50:14 +00:00
Yuchen Sun
fc56102b50 Merge "Fixxed the picture size." into main 2024-07-11 04:41:47 +00:00