Commit graph

527 commits

Author SHA1 Message Date
samou
44465c41c6 bm: add build flag for battery_mitigation
Bug: 313831851
Change-Id: I44dae04e86e8fe34f5d2aa17dc72882a19a2810f
Signed-off-by: samou <samou@google.com>
2023-12-20 05:04:58 +00:00
Treehugger Robot
703018eaa2 Merge "Remove unused init.zuma.rc" into main 2023-12-19 20:38:53 +00:00
Mike McTernan
884cc6ff19 Merge "APC/TUI: remove confirmationui HAL and support packages" into main 2023-12-19 16:27:35 +00:00
Wilson Sung
dc84962c84 Remove unknown sepolicy source
Bug: 312322769
Test: make sepolicy
Change-Id: I357d014aaca9748f1e104ebffd05ced036bd108f
2023-12-19 03:09:44 +00:00
Mike McTernan
bcd94dd67c APC/TUI: remove confirmationui HAL and support packages
Test: lunch aosp_ak*-trunk_staging-eng && m
Bug: 316160738
Change-Id: Ib940112ef5fc270c1220a33c1a7f95df2f2225bc
2023-12-18 14:38:35 +00:00
Sam Ou
59814a3dae Merge "bcl: add lastmeal.csv into dumpstate" into main 2023-12-18 01:50:06 +00:00
Kieran Cyphus
7e16abe767 Merge "logmasklibrary: update version info and freeze api" into main 2023-12-15 22:46:21 +00:00
samou
e4ceff9023 bcl: add lastmeal.csv into dumpstate
Test: ./dump_power
Bug: 293899466
Change-Id: I0ff03baf459fe4a2ae57a2837f4181b04d764e7b
Signed-off-by: samou <samou@google.com>
2023-12-15 14:39:17 +00:00
Darren Hsu
37ab4eee9e powerstats: update CPU core configurations
Bug: 316437592
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ia49f8aec7c6ec208583414a80d4e852081435c0a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-15 11:18:02 +08:00
Zheng Pan
64ac4b2c86 Remove unused init.zuma.rc
init.zuma.soc.rc is added

Bug: 311016628
Test: Flash and boot on KM4
Change-Id: I3b5e3e3a879c8745f7eb5e60ce4aa4f9cea77de3
2023-12-14 12:05:49 -08:00
Zheng Pan
433c009161 Merge "Refactor init.rc for zuma/zumapro" into main 2023-12-13 23:40:52 +00:00
Treehugger Robot
be2ec75ef0 Merge "powerstats: change TPU DVFS data source from ACPM to TPU kernel" into main 2023-12-13 07:10:57 +00:00
Zheng Pan
0ae0381c75 Refactor init.rc for zuma/zumapro
init.zuma.soc.rc and init.zumapro.soc.rc only contain SOC related settings.
init.zumapro.board.rc contain board related settings

Bug: 311016628
Test: Build image and flash on KM4
Change-Id: I8f805a58a146009f301b9cb0da9d781c0f2245d9
2023-12-12 19:09:50 -08:00
Treehugger Robot
30577df54a Merge "audio: enable audio framework sounddose" into main 2023-12-13 01:18:23 +00:00
Peiyong Lin
8442034c2c Merge "Switch RenderEngine back to GL on zumapro" into main 2023-12-12 23:05:47 +00:00
Hiroshi Akiyama
3c1bfe0c61 Merge "bcl: update heavy gpu and heavy tpu mitigation" into main 2023-12-12 22:59:50 +00:00
Darren Hsu
573f0586dd powerstats: change TPU DVFS data source from ACPM to TPU kernel
ACPM has an issue b/315079424 that reports incorrect TPU DVFS
residency. So change the data source from ACPM to TPU kernel.

Bug: 310094590
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: Ifc7ee18a7e891eb79e53affeab81c9d497db9e9f
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-12 23:34:27 +08:00
YK Hung
98f078519f Merge "Grant the post notification permission to Turbo" into main 2023-12-12 09:05:39 +00:00
vincenttew
762f4bf612 audio: enable audio framework sounddose
Test: build pass
Bug: 315915954
Change-Id: Ie156c016371c76728db89a16f90aaba6795eaf1b
Signed-off-by: vincenttew <vincenttew@google.com>
2023-12-12 16:15:35 +08:00
Wesley Wang
2b198c6ebc Grant the post notification permission to Turbo
- grant the permission on zumapro

Bug: 293813663
Test: manual and local build verify
Change-Id: I8a427c712b096c112b46ba796378e1f69f6a97f1
2023-12-12 15:26:51 +08:00
Kuen-Han Tsai
9fa4ab5163 usb: enable media-presence polling for SD cards
After USB enumeration, some SD card readers do not send signals to the
device when the SD card is inserted or removed.

To support SD card hotplugging, this patch enables in-kernel
media-presence polling, which will check the SD card status every 2
seconds after a SD card reader is attached.

Bug: 186479576
Test: SD card insertion/removal and data copy (see b/301566595)
Change-Id: I46ebaa4321d0e7bfbc048910ff8cc72e8e4f9a92
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-12-12 14:14:40 +08:00
Nolan Scobie
edb6d95afc Switch RenderEngine back to GL on zumapro
zumapro inherited 'skiavkthreaded' when the config was initialized from
zuma, which had RE-SkiaVk enabled at the time. RE is currently reverted
back to SkiaGL on all other Pixel devices, so switching zumapro back
to SkiaGL for parity, since it's enabled by accident.

Bug: b/301846142
Change-Id: Ib07c7c7512c0a70de8831ed8afaaa4dfcd93d594
2023-12-11 22:06:41 +00:00
Bart Van Assche
8a15203216 Switch from the BFQ to the mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. Hence this CL.

Bug: 186902601
Change-Id: I3db5f132ca3485af9a84a3df63c8b0881c5fbdc8
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-12-11 12:50:16 -08:00
Hiroshi Akiyama
5404418614 bcl: update heavy gpu and heavy tpu mitigation
For tuning gpu and tpu heavy mitigation, update divider to /4 instead of
/8. For triggering level, update TPU to 13.5A from 12A and update GPU
from 8A to 9A.

Bug: 315520392
Bug: 315519863
Bug: 315522696
Test: build and readback changes
Change-Id: If0b459ccc071ee9d25884e0c830b829f12eca314
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-12-11 19:42:43 +00:00
Aaron Tsai
17b40f0246 Enable WHI GRIL recovery feature
Bug: 203824024
Test: build pass

Change-Id: I5db569080ad77f70a2c46895dbbe26341b0aea97
2023-12-11 09:50:57 +00:00
kierancyphus
19bfdcde75 logmasklibrary: update version info and freeze api
The versions were originally not specified in the device manifest and
compatibility matrices. This is changed here to fix the broken vts
tests.

Bug: 310109332
Test: atest vts_treble_vintf_vendor_test -- --abi arm64-v8a
Change-Id: Ie9edde4d0b8c430f730f14cf90d39ad98cd8e5d7
2023-12-11 01:48:04 +00:00
Roy Luo
8d477e449c Merge "Revert^2 "usb: introduce UsbDataSessionMonitor class"" into main 2023-12-09 00:22:05 +00:00
Roy Luo
8bd5335437 Revert^2 "usb: introduce UsbDataSessionMonitor class"
e2db6dd90c

Bug: 297224564
Bug: 296119135
Change-Id: Ib25bd56744dfb6a8d357f988bda60422f6e3f00f
2023-12-08 20:14:49 +00:00
Treehugger Robot
a2a6c2e04d Merge "Remove dump_wlan.sh" into main 2023-12-06 23:09:15 +00:00
George Lee
794070c9d7 Merge "Revert "bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A"" into main 2023-12-06 15:52:20 +00:00
Wilson Sung
2dd6ea4c83 Remove dump_wlan.sh
Bug: 312143882
Test: make selinux_policy
Change-Id: Idebcb5bcd81647927b324372b3ec0ffefd5f72b6
2023-12-06 09:13:20 +00:00
TeYuan Wang
9fd35059c2 thermal: modify the permission for batoilo2 thermal trip point
Bug: 313014721
Test: ls -al dev/thermal/tz-by-name/batoilo2/
Change-Id: I4784935cc7e404028c1301f69f9c9fee40488305
2023-12-06 01:12:24 +00:00
Hiroshi Akiyama
6ad6f3218e Revert "bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A"
This reverts commit 47fcb7d7b4.

Reason for revert: Observing large number of soft_ocp_gpu events

Change-Id: I40772e115fad8e285e9f3726a7dc8c521becd7f6
2023-12-05 18:01:58 +00:00
Roy Luo
6b3d0751d4 Merge "Revert "usb: introduce UsbDataSessionMonitor class"" into main 2023-12-05 17:13:33 +00:00
Rios Kao
24afc789f7 Merge "aidl: enable AIDL AudioHal for zumapro by RELEASE_PIXEL_AIDL_AUDIO_HAL" into main 2023-12-05 11:31:10 +00:00
Qian-Hao Huang
e2db6dd90c Revert "usb: introduce UsbDataSessionMonitor class"
Revert submission 25524752-usbDataSessionMonitor

Reason for revert: Test for gs101/gs201 boot blocking issue (b/314904288)

Reverted changes: /q/submissionid:25524752-usbDataSessionMonitor

Change-Id: Iba9e6a4c1e98db742e3c8691313166c2cd229554
2023-12-05 09:36:22 +00:00
Jason Chiu
fef0819046 zumapro: use android.hardware.boot aidl interface
Bug: 312128471
Change-Id: I6afe73fa3c8a557c8bbd46aeecc46b6269db3448
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 11:11:20 +08:00
Jason Chiu
ab487d8619 zumapro: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
Bug: 312128471
Change-Id: I80458c29c62e7657bac2866ddc336c2ecb8f19f9
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 11:11:08 +08:00
Treehugger Robot
98803da5a0 Merge changes from topic "gs-common_bootctrl-hidl_1.2" into main
* changes:
  zumapro: include bootctrl_hidl_1.2.mk from gs-common
  zumapro: move bootctrl service declaration to gs-common
  zumapro: move bootctrl hal to gs-common
2023-12-05 02:30:58 +00:00
Zhibin Liu
2b7f369684 Merge "Add Satellite Pointing UI configs for Zuma Pro" into main 2023-12-04 22:06:20 +00:00
Jason Chiu
693c7152a9 zumapro: include bootctrl_hidl_1.2.mk from gs-common
Bug: 265063384
Change-Id: I2db38ec8e43753353ec5d19f5c9d456b74f764e5
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 01:25:04 +08:00
Jason Chiu
af1613968c zumapro: move bootctrl service declaration to gs-common
Bug: 265063384
Change-Id: I59e98214e59170d8411cbae4b751f2f834b127b6
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 01:25:03 +08:00
Jason Chiu
3f7389e0ad zumapro: move bootctrl hal to gs-common
Bug: 265063384
Change-Id: I64c6dbe1ec7cf7c259156dddb59dd07b32ffc37a
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 01:25:03 +08:00
Hiroshi Akiyama
73bb11fccb Merge "bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A" into main 2023-12-01 19:14:04 +00:00
Roy Luo
a8a384a001 Merge "usb: introduce UsbDataSessionMonitor class" into main 2023-12-01 16:43:44 +00:00
Roy Luo
0c1deb532f usb: introduce UsbDataSessionMonitor class
Migrate the usb data session event functions to the class with the
following additional functionalities;
- Support detecting gadget soft pulldown (usually done during configfs
  function switch) and report usb data session correctly.
- Support reporting usb data compliance warnings to the class USB
  by providing getDataComplianceWarnings call.
- Use boot_clock instead of steady_clock to measure time correctly in
  the case of system suspend.

UsbDataSessionMonitor is self-contained and can be migrated to pixel usb
library after feature maturation.

Bug: 297224564
Bug: 296119135
Test: usb data session upload in device and host mode
Change-Id: Iba001933e193935d64cf5fd0a1257d02a4274fb1
(cherry picked from commit ea65ca11f6fbb6f13b89ef9ed03015f47ec1cedb)
2023-12-01 01:00:23 +00:00
Rios Kao
4ccd2f0dd3 aidl: enable AIDL AudioHal for zumapro by RELEASE_PIXEL_AIDL_AUDIO_HAL
Bug: 301180586
Test: build with flag enable
Change-Id: I7c1f04c574a0cd1a2eb39baf4afb64e6bd1ee3dd
2023-11-30 08:03:28 +00:00
Peter Lin
148b65c7a9 Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: I7806379f61be774dc5dcde2bd931828f1ed92fb6
2023-11-30 07:52:49 +00:00
Treehugger Robot
aff12f912d Merge "Add ueventd entries for new BT channel in AoC" into main 2023-11-30 00:32:17 +00:00
Hiroshi Akiyama
47fcb7d7b4 bcl: Update soft_ocp_gpu to 5A and ocp_gpu to 8A
Presently the SOFT_OCP_GPU setting is very close to the actual OCP_GPU
level. Lower to 5A to separate the trigger levels. Update OCP_GPU to 8A
from 12A which exceeds programmable threshold.

Bug: 311832771
Test: boot device and check sysfs node readout for triggered_lvl
Change-Id: I27f9834200af1a85a1cf1abee2d9b58374cbb321
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-11-30 00:17:31 +00:00