Commit graph

440 commits

Author SHA1 Message Date
Darren Hsu
033e0f615b powerstats: update NFC sysfs path for ZumaPro
Bug: 291862254
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I12d3d5601776e0e130d55e3078d2024a363599d1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-11-15 16:51:12 +08:00
Jack Lee
a9b726427b Merge "Disable zone DMA32 and swiotlb" into main 2023-11-15 05:47:33 +00:00
Hiroshi Akiyama
dd488a57b5 Merge "bcl: change SMPL_WARN voltage to 3.0V from 3.1V" into main 2023-11-14 22:40:49 +00:00
Guibing Cai
cba7aafcef Merge "zumapro: init: update vendor_sched procfs paths." into main 2023-11-14 20:17:36 +00:00
guibing
dce82707ac zumapro: init: pmu_poll_enable node readable
This is from zuma change: ag/23020748
Bug: 309473644
Test: Manual check on device

Change-Id: I4d319550d74e74cbfe7364ef1306f61b3bacc945
2023-11-14 19:04:47 +00:00
guibing
30adf5098f zumapro: init: update vendor_sched procfs paths.
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in init rc file and task profiles to match the change.

Bug: 289151587
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
      -t com.google.android.perfwbs.pts.SchedulerTest
Change-Id: I22a97a08a87a402fb661a90a1e1c7a7a7f8536b3
2023-11-14 18:44:52 +00:00
Yvonne Yip
ff36b058f5 init: copy over perf related settings from zuma
Test: boot on device
Bug: b/309473644
Change-Id: I526c4d771a0580a75afa661026e932558b97a543
2023-11-13 21:31:26 -08:00
Carter Hsu
bc591e53c8 Merge "Revert "audio: add CCA property"" into main 2023-11-13 08:02:22 +00:00
Carter Hsu
95a344a388 Revert "audio: add CCA property"
This reverts commit c52a4b28f6.

Reason for revert: build break

Change-Id: I544d53f9a1189501d781aebfb60f735555849ec4
2023-11-13 07:57:53 +00:00
Carter Hsu
1cc08d5928 Merge "audio: add CCA property" into main 2023-11-13 07:34:05 +00:00
Carter Hsu
c52a4b28f6 audio: add CCA property
Bug: 310485392
Test: build pass
Change-Id: Idc0b28e0dd5dfaf893ea747766f42f51484009cc
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 00:41:29 +00:00
Jack Wu
e0295bbb59 zumapro: update AIDL IGoogleBattery manifest version to 3
Bug: 309518527
Test: TH
Change-Id: I2ef65e11c81d4130baf7317a0d98a6806547ac6f
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-11 03:51:53 +00:00
Ken Yang
289af8fccf [automerger skipped] RESTRICT AUTOMERGE : dump_power: correct the section header am: 07714c957b am: 2b861612c7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9389cde7424e5d1fbc6f5f2e0e6736665864c36d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 08:34:28 +00:00
Ken Yang
2b861612c7 RESTRICT AUTOMERGE : dump_power: correct the section header am: 07714c957b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/25305712

Change-Id: If8fa77d8b13df8278f918231cd7db11042770af2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 07:46:36 +00:00
Ken Yang
07714c957b RESTRICT AUTOMERGE : dump_power: correct the section header
Bug: 309571002
Change-Id: I89549f4429f6f019f3e7fb70aba9e9d4b275d390
Signed-off-by: Ken Yang <yangken@google.com>
2023-11-10 02:16:10 +00:00
Karuna Ramkumar
7026f5c0f6 Merge "display: Update adaptive color profile" into main 2023-11-09 18:49:49 +00:00
Darren Hsu
b9772a849a powerstats: update CPU cluster energy consumer
Bug: 308902661
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ic2e33239b1c5ac9d04817d49a8a9d8ef8901dafb
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-11-09 14:28:00 +08:00
Devika Krishnadas
3ff7268808 Merge "Revert^2 "Use graphics allocator 2"" into main 2023-11-08 23:21:09 +00:00
Karuna Ramkumar
e344ca3ec8 display: Update adaptive color profile
Updating the adaptive color profile to the new LUT decided during zuma.
The initialized code seems to based out of an older version of the file

Bug: 308931183
Change-Id: I48bfeab5b1658c0a3001153a9d4dce02053a28e2
2023-11-08 11:51:36 -08:00
Zheng Pan
18a6ecd42c Merge "Enable thermal hal for factory ROM" into main 2023-11-08 03:44:22 +00:00
Midas Chien
18f0596840 Merge "display: allow hwcomposer to access DRM module debug file" into main 2023-11-08 02:57:49 +00:00
Zheng Pan
010a883939 Enable thermal hal for factory ROM
thermal hal is disabled during ripcurrent bringup.
It is better to enable thermal hal for thermal control.
And test stations can disable it based on test requests.

Bug: 309164764
Test: getprop vendor.disable.thermal.control
Change-Id: I3ec257b8263ff0141a83bfc14b1d530a5551f908
2023-11-07 14:23:37 -08:00
Jikai Ma
90412ee6ab Merge "thermal: update access permissions for rfpa therm" into main 2023-11-07 20:46:27 +00:00
Midas Chien
cf1dcfd3cb display: allow hwcomposer to access DRM module debug file
Change the owner and group of the DRM module debug file to system to
grant permission for hwcomposer.

Bug: 301599195
Bug: 305948305
Test: check HWC can access it
Change-Id: Ib7ef46173bae350da85521f1baf19a0498481c10
2023-11-07 13:46:07 +00:00
liangjlee
226460fcdf Disable zone DMA32 and swiotlb
As HW doesn't have 32-bit address limitation, we would like to disable
zone DMA32 to simplify memory management and improve performance.

Change-Id: I8454282b208b3226c0497f1e5abd02009238c1a6
Signed-off-by: liangjlee <liangjlee@google.com>
2023-11-07 08:44:12 +00:00
Devika Krishnadas
60257881ad Revert^2 "Use graphics allocator 2"
2b6ac8eeee

Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I708f86280ff7d94aba9d4ad4c3574b0d6d61ae2e
2023-11-07 06:47:22 +00:00
Jikai Ma
c164ec40d2 thermal: update access permissions for rfpa therm
allow ThermalHAL to overwrite trip point of rfpa_therm

Bug: 296476775
Test: adb shell ls -al dev/thermal/tz-by-name/rfpa_therm/trip_point_*
      to validate permissions
Change-Id: Ib74e21d1c18f4e59f10cea3b52473e6935deed33
2023-11-07 06:35:15 +00:00
Hiroshi Akiyama
a9506fbf2a dumpstate: add evt count logging
Add capability for dump_power to log event counter logging

Bug: 299668264
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I1fdf6214dc9b333044e395a8148349b26c0d5653
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-11-06 21:52:17 +00:00
Treehugger Robot
6113111eea Merge "dump_power: fix the problem of not being able to dump properties" into main 2023-11-06 15:48:43 +00:00
Jack Wu
4f407e7b15 dump_power: fix the problem of not being able to dump properties
Bug: 309011602
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I2b1cb98fad154511fe55c84ecf85272f58f634ee
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06 20:27:25 +08:00
Sam Ou
c3b88feb88 Merge changes from topic "thismeal_enhancement" into main
* changes:
  bcl: support thismeal binary parsing
  Revert "bcl: add parser for thismeal.bin and lastmeal.bin"
2023-11-06 10:36:49 +00:00
Guibing Cai
5d1ffb5897 Merge "zumapro: Enable kunit test for eng and userdebug build." into main 2023-11-03 21:45:30 +00:00
Aaron Tsai
35f9398dec Enable Early Send Device Info for Pixel 2024
This is for supporting Softbank requirement OTR-CORE_GEN-000305,
  UE shall delete the GUTI when performing software update.

Bug: 307247050
Test: build pass
Change-Id: I4a17676abb958ff24552ffab44771f25450fb08f
2023-11-03 06:53:31 +00:00
guibing
e0cec65aa3 zumapro: Enable kunit test for eng and userdebug build.
Bug: 308859761
Test: Manual
Change-Id: I37ac5f630cd5a7950496fd8a38554e6d68cb848f
2023-11-02 23:54:36 +00:00
samou
505f0b8308 bcl: support thismeal binary parsing
Test: ./dump_power and adb bugreport
Bug: 293899466
Change-Id: I4ba2ee96a02573993cd4de132db9095f73253041
Signed-off-by: samou <samou@google.com>
2023-11-02 11:49:05 +00:00
Jeff Chang
51fca5b2ab Merge "Update default allow list for VRR small dirty detection" into main 2023-11-02 10:48:23 +00:00
Jeff Chang
dc0c60dc35 Update default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 308742727
Test: Build
Change-Id: I2839f09c36c2d97a572e671d05292c07f5ddadd8
2023-11-01 10:34:50 +00:00
Jasmine Cha
c3f56df02b Merge "audio: remove prescale for BT absolute volume" into main 2023-11-01 06:02:07 +00:00
Jack Wu
e1951fac79 health: add suspend support for charger mode
Override ChargerEnableSuspend() function to true to support
suspend and resume in charger mode.

Bug: 298909246
Test: Confirm the device enter suspend in charger mode
Change-Id: I16f03da67a8830bf4130d67948601e0534d8aa27
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-01 01:45:05 +00:00
Hiroshi Akiyama
ac23e2b6c8 bcl: change SMPL_WARN voltage to 3.0V from 3.1V
SMPL_WARN will trigger heavy mitigation while UVLO1 will trigger lighter
mitigation. This change will lower SMPL_WARN's voltage trigger threshold
to 3.0V and increase UVLO1's voltage trigger to 3.1V.

Bug: 308670320
Test: Read sysfs node for correct value
Change-Id: I7b179c442ee54df1971ffe882a363a45826a3f5b
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-31 22:10:30 +00:00
Sam Ou
ce8c8e9bb8 Revert "bcl: add parser for thismeal.bin and lastmeal.bin"
This reverts commit fa0ee1521c.

Reason for revert: migrate binary parser to battery_mitigation

Change-Id: I7c97c3cb91924cdc19f61c8b7ea85e6c49813c42
2023-10-31 16:56:47 +00:00
Treehugger Robot
50751f0529 Merge "zumapro: HWC access to panel refresh_ctrl node" into main 2023-10-31 04:05:09 +00:00
Sam Ou
61a1d02c32 Merge "bcl: add parser for thismeal.bin and lastmeal.bin" into main 2023-10-31 02:22:51 +00:00
Ramya Subramanian
6558812653 Merge "thermal: update access permissions for charge therm" into main 2023-10-30 18:48:30 +00:00
Ramya Subramanian
17c6bd6ec5 thermal: update access permissions for charge therm
Bug: 306307541
Test: Tested on p1.0 and observed genl trip events in log

Change-Id: If9c65e6baf2b623202408562a635ad60fa0e7a70
Signed-off-by: Ramya Subramanian <rsubr@google.com>
2023-10-30 18:48:24 +00:00
samou
fa0ee1521c bcl: add parser for thismeal.bin and lastmeal.bin
Test: ./dump_power
Bug: 293899466
Change-Id: I648a4a0b205cbebd681613505bc5f91a848a3deb
Signed-off-by: samou <samou@google.com>
2023-10-30 07:04:25 +00:00
Treehugger Robot
56d4e2dba3 Merge "dump_power: adding defender logs for charger and active time" into main 2023-10-30 03:26:42 +00:00
Will Song
1209801632 PREUPLOAD: Enforce jsonlint in preupload
Checks syntax and simple brace balances for all JSON files.

Test: Edit any json file and try upload
Bug: 127794899
Change-Id: I6320bba629e79ccc3e2244a72501f7d28bef0af4
2023-10-29 06:02:45 +00:00
Daniel Okazaki
7fb00c91c3 dump_power: adding defender logs for charger and active time
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: If9bf3e6ab1c6008cbefd4b09a8bb2802ff196207
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:47:43 +00:00
Wei Wang
34d496919a Merge changes I1378fe11,I2286a94c into main
* changes:
  zumapro: Disable kmem cgroup accounting
  zumapro: Set PELT HALFLIFE to 8ms before early init boot stage
2023-10-26 17:47:43 +00:00