Commit graph

512 commits

Author SHA1 Message Date
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
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
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
Guibing Cai
58b1c75dc2 Merge "zumapro: init: port the zuma perf configurations to proto device init.zuma.rc." into main 2023-11-29 21:10:38 +00:00
guibing
4e71b9adf2 zumapro: init: port the zuma perf configurations to proto device init.zuma.rc.
Current zumapro proto devices are using init.zuma.rc which is a copy of
init.zumapro.rc. It won't work well for proto devices since it's based
on zuma soc. This change ports perf related configurations from zuma.

Also fix few perf configurations in current zumapro init rc file.

Bugs: 313501809
Test: build, flash and device boots
Change-Id: I3825f0b2e3fa8023ae6f953bb674cd32ddc53581
2023-11-29 00:45:04 +00:00
Sam Ou
7c8ae6703a Merge "pixelstats: Add Lastmeal csv path" into main 2023-11-28 12:20:13 +00:00
Zhibin Liu
bd2c88a8b4 Add Satellite Pointing UI configs for Zuma Pro
See the class at http://google3/java/com/google/android/apps/scone/satellite/pointingui/ui/AndroidManifest.xml;l=8;rcl=585803067

Test: config change
Bug: 313553794
Change-Id: I82db86eb34cf42d7f10423f4f3fc9bbef7ec7b67
2023-11-28 05:35:48 +00:00
Luis Delgado de Mendoza
c7323284f3 Add ueventd entries for new BT channel in AoC
Bug: 308452948
Test: Validated locally on husky.
Change-Id: If3b1741e09fbd9402c938d806e9673772da3973c
2023-11-27 18:10:08 +00:00
Zheng Pan
3e8822cb4d Remove the debug line
Debug line is not removed when merge ag/25455125

Bug: 311016628
Test: None
Change-Id: I61f7a7f62c177c969e2554b0eec0b70932342117
2023-11-27 09:48:31 -08:00
Tai Kuo
6484dddf01 Remove unused vibrator mk
Bug: 246459244
Test: n/a
Change-Id: Ia7259112416a5560ada27116eb02b964999ee26c
2023-11-27 14:32:37 +08:00
Treehugger Robot
8ea5df7cfc Merge "Rename init.p24.zuma.rc to init.zuma.rc" into main 2023-11-23 08:25:18 +00:00
Cyan Hsieh
644cdb70ae Merge changes from topic "ship_api_34_zumapro" into main
* changes:
  Upgrade PRODUCT_SHIPPING_API_LEVEL to 34
  Upgrade VINTF Target FCM level from 7 to 8
2023-11-23 08:21:05 +00:00
Treehugger Robot
74654d5111 Merge "Check dev_type violations" into main 2023-11-23 01:37:49 +00:00
Zheng Pan
5a86729634 Rename init.p24.zuma.rc to init.zuma.rc
Bug: 311016628
Test: make image and boot to home
Change-Id: I3240ce46a425150d7b87dd9ac0b3c38769d78be1
2023-11-22 15:10:59 -08:00
Donnie Pollitz
5b899a731f Merge "Fix ueventd for trusty_userdata" into main 2023-11-22 08:07:38 +00:00
Inseob Kim
a4e6032067 Check dev_type violations
This is to prepare dev_type test earlier. It checks whether /dev nodes
have labeles with dev_type or not.

Bug: 303367345
Test: build
Change-Id: I4feb079d4a3badc6362127a09f8d458755d7d2d2
2023-11-22 13:43:08 +09:00
Gary Jian
577b0794e2 Merge "Handle the network selection restoring in modem side" into main 2023-11-22 03:49:51 +00:00
George Lee
f1e552d48c pixelstats: Add Lastmeal csv path
Bug: 299700579
Test: Local test
Change-Id: I65bfc3e09277c58688bba80d7a5c59fda4cc5178
Signed-off-by: George Lee <geolee@google.com>
2023-11-22 01:14:00 +00:00