Commit graph

695 commits

Author SHA1 Message Date
Shijie (Jessie) Hu
4223660ea4 [Project11] Update Project11 powerhint
Bug: 328685643
Test: Power test show ~20mW CPU power increase. but cpu profiling show CPU operation frequency are lower than before, which will limit the impact when system level CPU throttle start.

- Project11 power hint reuse "streaming_standard" with extra MIF target tuning

Change-Id: If62e93032f9f4d69caa2f74e8a4cf4b2cf68be86
2024-03-25 22:12:47 +00:00
Wei Wang
ff342550fe Merge "thermal: use virutal-skin-legacy for proto devices" into 24D1-dev 2024-03-25 18:20:50 +00:00
Treehugger Robot
f46b1c3c25 Merge "Check in recording tuning table for EVT1.1 device" into 24D1-dev 2024-03-25 04:25:43 +00:00
Treehugger Robot
e0d2eae89d Merge "therma: disable LIGHT tier throttling when gaming" into 24D1-dev 2024-03-22 22:25:53 +00:00
TeYuan Wang
cbfd667718 therma: disable LIGHT tier throttling when gaming
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.

Bug: 329697728
Test: run genshin

Change-Id: Ib0d47b3de7b3550a3af4db37ef062f8c5d2ea262
2024-03-22 02:23:43 +00:00
Kamal Shafi
06501fef05 Merge "Revert "caimito: add system imu property"" into 24D1-dev 2024-03-21 22:10:02 +00:00
Treehugger Robot
d420e49217 Merge "thermal: update cdev ceiling for LITTLE cores" into 24D1-dev 2024-03-21 21:27:38 +00:00
Sayanna Chandula
5164e9f1e5 Merge "thermal: enable input data validation" into 24D1-dev 2024-03-21 14:36:09 +00:00
Joner Lin
d824ef3fdd Merge "Set the HW stage device with an old Bluetooth chip that is no longer supported by the BT firmware" into 24D1-dev 2024-03-21 13:51:53 +00:00
Sam Ou
62b78fd840 Merge "audio: enable battery mitigation" into 24D1-dev 2024-03-21 11:41:43 +00:00
Gil Liu
97b601b778 Merge "update ssc_en permission" into 24D1-dev 2024-03-21 11:18:20 +00:00
Kamal Shafi
5a9d9cb5f2 Revert "caimito: add system imu property"
This reverts commit f90e1873c4.

Reason for revert: b/330294678 device suspend caused probe stop halfway and device wastes power.

Bug: 330294678
Test: build
Change-Id: I937b6d3bf8c6b46dc460080b0c47aa8f139d9d25
2024-03-21 08:48:27 +00:00
William Huang
8bd45dd3c2 Merge "Spatializer: Update configs with latest tunings." into 24D1-dev 2024-03-21 07:57:01 +00:00
Sayanna Chandula
615a9b7b2f thermal: use virutal-skin-legacy for proto devices
Latest ML models have been trained for latest HW and are no longer
valid for proto devices. We can use legacy equation prepared for
proto devices and remove any stats upload to avoid polluting stats.

Bug: 320714468
Test: Build and boot on proto devices. Check Virtual Skin output

Change-Id: Ic80934f0df80a423d8ba2cb4d1ac4b45999803fe
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-03-20 11:59:08 -07:00
Sayanna Chandula
6f59876ad6 thermal: enable input data validation
Update tflite models with metadata containing input data ranges.
Enable input data validation and backup sesor.
Add offsets based off temperature ranges.

Bug: 319167815
Bug: 328789394
Test: Build and boot on device. Test backup sensor and offsets

Change-Id: Icdc0c1a1fe026613e4a1716747335e60aca4edf9
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-03-20 11:49:53 -07:00
Jikai Ma
ca43671583 thermal: update legacy and linear vs formula
- vs formulas generated from EVT 1.1 data

Bug: 320714468
Test: push to device and boot to home

Change-Id: Ife745ac7640ffd284404212706c9bdfdb0500f33
Signed-off-by: Jikai Ma <jikai@google.com>
(cherry picked from commit 859dc39412)
2024-03-20 11:49:46 -07:00
William Huang
a6761db65a Spatializer: Update configs with latest tunings.
Update Auxel configs to http://go/txcl/34322 (commit 974de25dbcc96ce834d251e55c28463c91082f03).

Bug: 307842941
Change-Id: I1749526260465bdcb2c9dc298c357073788864fb
Signed-off-by: William Huang <yushh@google.com>
2024-03-20 12:32:19 +00:00
jonerlin
ae00b706b3 Set the HW stage device with an old Bluetooth chip that is no longer
supported by the BT firmware

Bug: 330484474
Test: fake fw crash in Evt 1.0 device and check the log
Change-Id: I47161dfbad12c08f854f1d616d6251845dd001ad
2024-03-20 19:50:33 +08:00
Treehugger Robot
ed9aeb3356 Merge "wifi: disable FW roaming when in idle mode" into 24D1-dev 2024-03-20 09:00:59 +00:00
Isaac Chiou
fda6999555 wifi: disable FW roaming when in idle mode
When device is idle, disable FW roaming (LOW RSSI roam, high band roam) to save power

Bug: 321639511
Test: Manual
Test: Build pass
Change-Id: I85873b4c6ed1c851fe95e7116feac5197cc5f1d1
2024-03-20 06:37:14 +00:00
Barry
0913577abf Bluetooth: enable BtHalBqrEnable
Workaround Patch for BQRv6 enable

tldr:
  the actual fix in Bluetooth stack is still under prebuilt process (b/329049227), this workaround is to enable BQR for debug controller issue in CM4KM4TK4 in advance. and will be reverted when the actual fix submit.

Bug: 329589582

Test: Manual test on TK4EVT1.1 (bugreport:b/329589582#comment3)
Change-Id: I505893957d7f212b00c7e760905c7b548ddc5099
2024-03-20 02:14:01 +00:00
Jasmine Cha
f756048986 audio: enable battery mitigation
Bug: 330302105
Test: manual test
Change-Id: Ib6a8ac54fe7494c128d90a8600bbfa8ba041abc8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-03-19 12:01:11 +00:00
Treehugger Robot
f4efe5d49d Merge "display: tk4: don't apply overlay in low light" into 24D1-dev 2024-03-19 09:41:18 +00:00
Yixuan Jiang
bb724641c7 Check in recording tuning table for EVT1.1 device
Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling AZ2.2 post mixing on b/314894838 AoC CL gpar/836677
2. Enable SA-Lite on VR path
3. Update PGC highAOP gain table for improving volume

Bug: 330096787
Change-Id: I1033781ccd9dd0eedc531e268c60b3dcee5f2054
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-19 08:07:29 +00:00
Rios Kao
eb39f55e3a Merge "caimito: remove useless argument of speaker." into 24D1-dev 2024-03-19 01:44:53 +00:00
Treehugger Robot
379f287e9b Merge "powerhint: revert dvfs_headroom settings for camera" into 24D1-dev 2024-03-18 21:19:16 +00:00
Ramya Subramanian
33e139655f thermal: update cdev ceiling for LITTLE cores
Inefficient OPPs were removed for the LITTLE cores from em table.

This change is to update the cdev ceilings in thermal policy to reflect
the EM changes

Bug: 329876112
Test: Build and boot on device.

Change-Id: I8b9ce12fc22dce0374d2a68a947bd598fd26f936
Signed-off-by: Ramya Subramanian <rsubr@google.com>
2024-03-18 15:50:33 +00:00
Joner Lin
1ba4410104 Merge "bt: enable bthal recovery by restart" into 24D1-dev 2024-03-18 10:15:03 +00:00
Kamal Shafi
d61a8faf82 Merge "caimito: add system imu property" into 24D1-dev 2024-03-18 06:34:57 +00:00
Rios Kao
816bc81f42 caimito: remove useless argument of speaker.
note:
     Rotation is uses for tablet project only.

Test: build pass.
Bug: 330083943
Change-Id: I9ecc8d73b282c1aab15b90813c35376e54a4bdf0
2024-03-18 04:25:33 +00:00
Jiaming Liu
0b76d843ff Merge "Enable WM extensions on caiman and komomdo" into 24D1-dev 2024-03-18 03:43:43 +00:00
William Huang
83bdd0afef Merge "Move offload spatializer config to device-specific folder." into 24D1-dev 2024-03-18 02:50:16 +00:00
Jiaming Liu
95a2933e07 Enable WM extensions on caiman and komomdo
Bug: 325321407
Test: Build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:54eb81e993b3c2d9879eea91441251257ac3c4a5)
Merged-In: I1fc9e40f569c84641f5d1d714f24f11f391c9726
Change-Id: I1fc9e40f569c84641f5d1d714f24f11f391c9726
2024-03-17 13:51:14 +00:00
Yvonne Yip
f981fa4f81 powerhint: revert dvfs_headroom settings for camera
Bug: 329905546
Test: boot
Change-Id: Ieb0869ab6e57a163ead89469f426be2d3e2f76a8
Merged-In: Ieb0869ab6e57a163ead89469f426be2d3e2f76a8
2024-03-16 20:25:52 +00:00
Yabin Cui
63cd069bb8 tokay: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run tokay
Change-Id: I4419d8a2132231e9d9c3d2998e98f52da8475c24
Merged-In: I4419d8a2132231e9d9c3d2998e98f52da8475c24
2024-03-15 14:16:58 -07:00
Yabin Cui
b09ad5b9e7 komodo: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run komodo
Change-Id: Ida1044c1d997f19b9072af3da233d3a781cd9e89
Merged-In: Ida1044c1d997f19b9072af3da233d3a781cd9e89
2024-03-15 14:15:31 -07:00
Sam Ou
cc8d3a0783 Merge changes from topic "reapply_bm_condition" into 24D1-dev
* changes:
  bm: copy config file only for supported devices
  Reapply "bm: add mitigation config file for caimito"
2024-03-15 18:06:49 +00:00
William Huang
ee08a28ff2 Move offload spatializer config to device-specific folder.
Also update the configs to http://go/txcl/33962 (commit 3c51d9c2071f9adec5dbeb3f49f83b15e92247a7).

Bug: 307842941
Change-Id: I2f305441b7bc030f55318da52079a5a295e91ab1
Signed-off-by: William Huang <yushh@google.com>
2024-03-15 09:24:56 +00:00
Chaohui Wang
0b28e7cf25 Remove the COO only labels
Replaced by countryIfOriginLabel text.

Bug: 329378943
Test: manual - Regulatory labels
Change-Id: I76e3355d418f4d54ce34df4ce28cf968387bbe70
2024-03-15 09:21:00 +00:00
Kamal Shafi
f90e1873c4 caimito: add system imu property
Bug: 324008766
Test: build pass
Change-Id: I74a0b88556d1f1fcd2e4f06a28906e658046e777
Signed-off-by: Kamal Shafi <kamalshafi@google.com>
2024-03-15 09:17:50 +00:00
jonerlin
9cb2b4ec8d bt: enable bthal recovery by restart
Bug: 325998201
Test: Fake bt crash and check log
Change-Id: Ie3a68a7e43fec4f41dfc8f6f7768cf932d131c98
2024-03-15 07:01:52 +00:00
Ken Lin
4e8cf7bb83 display: tk4: don't apply overlay in low light
Bug: 320729940
Test: trigger AOD night mode
Change-Id: Icf6c02c2c98fd252721dc835dbc265851bfa882f
Signed-off-by: Ken Lin <lyenting@google.com>
2024-03-15 03:57:44 +00:00
Justin Chiu
f92e831c5e Merge "gps: Update gps.cfg for GNSS FW 4.15.0.150.P1" into 24D1-dev 2024-03-15 03:14:02 +00:00
Wei Wang
a5a799a6bb Merge "power_profile.xml: Update CPU Parameters for Caimito" into 24D1-dev 2024-03-14 23:35:33 +00:00
Jeremy DeHaan
ac841c5fd0 Merge changes I7d1e4018,Ib667b1fd into 24D1-dev
* changes:
  display: cm4: update AOD brightness
  display: km4: update AOD brightness
2024-03-14 22:55:53 +00:00
Kevin (Chung-Kai) Yang
e47c953824 power_profile.xml: Update CPU Parameters for Caimito
Test: manual test

Bug: 324079178
Change-Id: I397e30c91520ea6693f41724013ffc3cea5a33f0
Signed-off-by: Kevin (Chung-Kai) Yang <chungkaiyang@google.com>
2024-03-14 11:52:25 +00:00
samou
3f60d5db22 bm: copy config file only for supported devices
Bug: 329547607
Change-Id: Ib953a807bf66203eb76ef513aa34eb4ccddbbb39
Signed-off-by: samou <samou@google.com>
2024-03-14 09:48:07 +00:00
samou
21709594db Reapply "bm: add mitigation config file for caimito"
This reverts commit 43f80c6d44.

Change-Id: Iaf3f6c3ab3656ddb5b0ba51464eba19641d3ff26
2024-03-14 09:47:53 +00:00
gilliu
7c41b4950d update ssc_en permission
Bug: 322125172
Test: RIL can access the sysfs node
Change-Id: I970c7b8f96b02c0164d1d94e902072b31b47e0dd
2024-03-14 09:22:01 +00:00
James Huang
4df8efef7e gps: Update gps.cfg for GNSS FW 4.15.0.150.P1
Add ENABLE_CAPS_OTDOA=1 to enable OTDOA by default
Remove below two value and set default by code:
- Chip_Configuration_GNSSConstConstraintDef
- LocTech_Constraints

Bug: 329328103
Test: Do VTS/CTS and GNSS sanity test.
Change-Id: I8981604828a9a42bf619c57fd649e7391cd92f28
2024-03-14 16:31:35 +08:00