Commit graph

3118 commits

Author SHA1 Message Date
Joerg Wagner
b75cadc54b Merge "Increase the max core index for protected TLS allocations to 4" into main 2024-07-11 12:07:57 +00:00
Jörg Wagner
86d54846b6 Increase the max core index for protected TLS allocations to 4
Pixel has removed unnecessary allocation padding, and we now pass
dEQP with a maximum physical core index setting of 4, which allows
the driver to utilize 2 GPU cores (1001b) in the extreme tests.

Bug: 221255664
Test: HK3 atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: I96a38a6070968100ce3adf01da7235a807bf31ab
2024-07-11 09:30:22 +00:00
Krzysztof Kosiński
edca08572b Merge "Delete PDX sockets for legacy VR services." into main 2024-07-11 04:41:55 +00:00
Android Build Coastguard Worker
9972c6b711 Snap for 12072601 from 8f5e900a88 to 24Q4-release
Change-Id: I5f6b9d4367a6b9d94337984bb48a0a144581983c
2024-07-11 01:03:38 +00:00
Krzysztof Kosiński
ca3e5096da Delete PDX sockets for legacy VR services.
Remove irrelevant copy and paste content. None of the zuma
devices ever included these services and these sockets are
not doing anything.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I8664262708b89016227d7df076e7c8d70a53de07
2024-07-10 22:13:23 +00:00
Vishvam Mazumdar
8f5e900a88 Merge "Add CPU Idle Histogram Stats to dumpstate board file." into main 2024-07-10 21:41:10 +00:00
Vishvam Mazumdar
5a0aedaec9 Add CPU Idle Histogram Stats to dumpstate board file.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: Build/Flash
Test: adb bugreport
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: I9c31b4fbaf8adb35df27f4d19a7bf87ac33b05d3
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:40:07 +00:00
Vishvam Mazumdar
569092bc54 Defaultly enable cpu idle histogram stats collection for dumpstate.
This change is to allow the CPU Idle Histogram Stats to be dumped in
bugreports so that there is more insight into the idle behavior of
devices in the field.

Test: Build/Flash
Test: Collect histogram log
Bug: 344908619
Flag: EXEMPT bugfix
Change-Id: Ib6e4772737a8c1f22ac8ba31c40099baeab43853
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:38:00 +00:00
Roy Luo
b386375b3c [automerger skipped] Use absolute path for udc device am: 0c18eacf8f am: b7c25ccbc3 -s ours
am skip reason: Merged-In Iad74cae0d6ad6887d79d705dc8478f1b44532503 with SHA-1 12f2e55257 is already in history

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3164638

Change-Id: Id46e979b5ca60952cadf16b596ed5227325339a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 20:12:41 +00:00
Roy Luo
b7c25ccbc3 Use absolute path for udc device am: 0c18eacf8f
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3164638

Change-Id: Ib83ba7a01082822e5eac2d9a311f8ad06b65a19f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 19:46:12 +00:00
Roy Luo
0c18eacf8f Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on Shiba
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
Merged-In: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-07-10 18:11:50 +00:00
Wesley Lee
b9defeca54 Merge "enable Zuma AV1 HDR editing" into main 2024-07-10 16:05:58 +00:00
Qais Yousef
a4caac8bdf Merge "init.zuma.rc: Apply sched tuning to improve sched latencies" into main 2024-07-10 11:49:55 +00:00
Android Build Coastguard Worker
5ac4bfe691 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27906354', 'googleplex-android-review.googlesource.com/27956012'] into 24Q3-release.
Change-Id: Ifa6c5d849423bf2cf03ad8a3bddb1a0a3ded8a87
2024-07-10 05:23:53 +00:00
Kelvin Zhang
2d0a254101 Mount persist partition in early-init
The graphics hal might need to access /persist early in the boot
process. So mount persist early for 4K devices.

Test: boot 4K device
Bug: 338504890
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:73a68dd6d3794ed8a4e791f2c86c4e55a61ea2aa)
Merged-In: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
Change-Id: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
2024-07-10 05:10:21 +00:00
Kelvin Zhang
9d0f747603 Only copy efs files to /data if device is 16K page size
Test: Boot device, test dev options
Bug: 341216848
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:763984677a0630a2100b150c057c3d128a8f6c3d)
Merged-In: I0bf328b8ff90e125dcbca5261fb8dd4e0ad458d8
Change-Id: I0bf328b8ff90e125dcbca5261fb8dd4e0ad458d8
2024-07-10 05:10:05 +00:00
Android Build Coastguard Worker
47cc7287e7 Snap for 12065372 from 846652c1b9 to 24Q4-release
Change-Id: Ia43fa3cdd2051d71b760dc9732aa04fd15632d39
2024-07-09 23:08:22 +00:00
Juan Yescas
846652c1b9 Merge "16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk" into main 2024-07-09 19:12:23 +00:00
Qais Yousef
a39d3b0832 init.zuma.rc: Apply sched tuning to improve sched latencies
Bug: 340860065
Flag: NONE not supported for init.rc scripts
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iac58746eba35820bab69ef742a1078b93e9bbad8
2024-07-09 14:04:00 +00:00
Jeremy Kemp
29e4c4c53a Merge "Add Mali OpenCL ICD to PRODUCT_PACKAGES" into main 2024-07-09 10:51:44 +00:00
Roy Luo
9601e0f266 Merge "Use absolute path for udc device" into main 2024-07-09 03:03:37 +00:00
Vilas Bhat
354b984c0d 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 349877551
Test: $ lunch shiba-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb
      $ get_build_var BOARD_KERNEL_PATH_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb/Image.lz4
      $ get_build_var BOARD_16K_OTA_USE_INCREMENTAL
      true
      $ get_build_var BOARD_16K_OTA_MOVE_VENDOR
      true
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-07-09 00:15:38 +00:00
Dmitry Skiba
4caa08f2cc Reland "Restrict kcompactd thread to middle/little cores."
This reverts commit 721a8358c6.

Reason for revert: 24Q3 has been cut, relanding the original commit ef68e9b578.

Change-Id: I7882ebafd66d126df9ccbe2124617fbf4ed73eb5
Bug: 347272991
2024-07-08 23:30:54 +00:00
Android Build Coastguard Worker
84a074ca3b Snap for 12058995 from 1744a12bc4 to 24Q4-release
Change-Id: I2198d5a2e5a8c669dada13f7cd6181e1ad2b7268
2024-07-08 23:08:35 +00:00
Daniel Rosenberg
3f3e5d37cf Merge "Run fsck in CopyEfsTest" into main 2024-07-08 20:50:13 +00:00
Daniel Rosenberg
044dead5b6 Run fsck in CopyEfsTest
We're copying from a live r/w image, so the picture we get may be a bit
distorted. Running fsck over the image first should help with
reliability, but f2fs does some fixes on mount as well, so we mount and
unmount the image before running dump.f2fs.

Change-Id: Ibb15388c55b6f909a1d1b849f9760f248644d9e9
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 349120101
Test: atest CopyEfsTest
Flag: TEST_ONLY
2024-07-08 20:49:57 +00:00
Jeremy Kemp
f1eb38d169 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: I4ca9b0d9854d6b94e128d40eba0910a1303a0a96
2024-07-08 17:10:56 +01:00
Treehugger Robot
1744a12bc4 Merge "APC/TUI: remove support for APC" into main 2024-07-08 15:34:38 +00:00
Shikha Panwar
21f55b92ea Zuma: Disable Secretkeeper HAL for aosp build am: 91d8fcccea am: 696ed20840
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3161976

Change-Id: Iba7300b26e100b1ac5e26a0d44c93e1a064e8e0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-08 13:38:54 +00:00
Shikha Panwar
696ed20840 Zuma: Disable Secretkeeper HAL for aosp build am: 91d8fcccea
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3161976

Change-Id: I335c38558c0ea53476e5d077ccb249086aff1161
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-08 13:21:34 +00:00
Shikha Panwar
91d8fcccea Zuma: Disable Secretkeeper HAL for aosp build
The AOSP builds do not have a compatible BL for Secretkeeper (24Q3+).
This leads the crashing of HAL since the backing trusty is not updated
with the TA.

Test: lunch aosp & non-aosp targets -> get_build_var SECRETKEEPER_ENABLED
Bug: 350482613
Change-Id: I49d30914bc7a4b2b752a6d9eb7db0e7959638d98
2024-07-08 10:26:16 +00:00
Mike McTernan
84d0877511 APC/TUI: remove support for APC
Flag: EXEMPT build file change
Bug: 351151445
Test: m && test on device
Change-Id: I927fd5063cd12b94d63fff3057ae54cee75e908d
2024-07-04 14:55:39 +00:00
Android Build Coastguard Worker
7eabd98af6 Snap for 12048319 from bf9f082f67 to 24Q4-release
Change-Id: I65bc18d29c6510d9eb6466b6461564ada93451ec
2024-07-03 23:03:39 +00:00
Juan Yescas
bf9f082f67 16kb: Use TARGET_BOOTS_16K to select the efs config files
Test: Build and test pgagnostic targets
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: I1e0bea52de09fe3c9ee2f52b0803882456943833
2024-07-03 03:00:32 +00:00
Android Build Coastguard Worker
78eb115a94 Snap for 12042346 from bb51950bad to 24Q4-release
Change-Id: I87496aebd9a9ea014264a2c63dd469ce1f6fc46f
2024-07-02 23:04:22 +00:00
liangjlee
bb51950bad zuma: Include power/power.mk am: 94babd7bcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/28060256

Change-Id: I0d8850ec9ce7e2519f87c1455429a0e139d1568c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:36:37 +00:00
Android Build Coastguard Worker
07dde346f1 Snap for 12032182 from 2fa3c6b55d to 24Q4-release
Change-Id: I42b3215834e5d4a00705e849244742af700d928f
2024-06-29 03:03:32 +00:00
Treehugger Robot
2fa3c6b55d Merge "16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab" into main 2024-06-28 23:29:29 +00:00
Android Build Coastguard Worker
4b4d45dee1 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28051077'] into 24Q3-release.
Change-Id: Iae0bff35c67755063410c2758d47c13229fc864a
2024-06-28 23:16:37 +00:00
liangjlee
3e96ca1dcf zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:48c79683bcac4b697cfa08949dfa4c4c7daed683)
Merged-In: I370cd115855b43d890dd488de65572593b238efb
Change-Id: I370cd115855b43d890dd488de65572593b238efb
2024-06-28 23:08:36 +00:00
Juan Yescas
98f2222e27 16kb: Use PRODUCT_BOOTS_16K to select the proper rc file and fstab
The build flag PRODUCT_BOOTS_16K will be used to select
the proper efs rc file and fstab:

- When PRODUCT_BOOTS_16K := true, 16k rc files and fstab will be used.
- When PRODUCT_BOOTS_16K := false, 4k rc files and fstab will be used.

Bug: 346868433
Test: Built Pixel 8 targets
      $ source build/envsetup.sh
      $ lunch husky_pgagnostic-trunk_staging-userdebug
      $ get_build_var DEVICE_PAGE_AGNOSTIC
      $ get_build_var TARGET_KERNEL_DIR
      device/google/shusky-kernels/6.1/trunk-12010727/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/shusky-kernels/6.1/trunk-12010727/kernel-headers
      $ get_build_var PRODUCT_BOOTS_16K
      true
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: I4dba20518925a176f1e1e66596e2bb1e8ade7c26
2024-06-28 18:50:20 +00:00
Android Build Coastguard Worker
5ae5ce3bb7 Snap for 12025384 from 48c79683bc to 24Q4-release
Change-Id: If5430ff8135e97903252053e3d4526eeb05f4e5b
2024-06-27 23:03:36 +00:00
liangjlee
94babd7bcc zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: I370cd115855b43d890dd488de65572593b238efb
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:27:19 +00:00
Roy Luo
12f2e55257 Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on Shiba
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-06-26 22:59:30 +00:00
liangjlee
48c79683bc zuma: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: I370cd115855b43d890dd488de65572593b238efb
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:16:51 +08:00
Roy Luo
92d50a76d3 Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Shiba
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I203e06e4416c5811ded7b7aaccbe7680693f2080
2024-06-25 23:46:10 +00:00
Android Build Coastguard Worker
753f41a586 Snap for 12014005 from c42244bfb6 to 24Q4-release
Change-Id: I986362f4c3ab83e5abcd69dccd45367157214f06
2024-06-25 23:03:51 +00:00
Juan Yescas
c42244bfb6 Merge "Change CopyEfsTest to test contents" into main 2024-06-25 16:37:46 +00:00
Julien Desprez
dca09aa056 Tag CopyEfsTest as device-pixel-tests
This will allow to run the tests out of the pixel tests set rather than the super large device-tests set. Which will save build resources.

Flag: TEST_ONLY
Change-Id: I7d902662dff05dfdc88808c5647793ff5bde6107
Test: presubmit
Bug: 342232954
2024-06-25 14:55:06 +00:00
Daniel Rosenberg
3319a13fee Change CopyEfsTest to test contents
4k mode devices no longer set up redirection, so the old test would fail
now. Instead, this tests that the contents of the copied partitions will
match. Since the partitions are mounted and could change, we work off of
a copy.

Change-Id: Ia98517bb4ede9cb3416132e815da9b87728423a6
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Flag: TEST_ONLY
Bug: 347744178
Test: atest CopyEfsTest
2024-06-24 17:20:54 -07:00