Commit graph

1142 commits

Author SHA1 Message Date
Treehugger Robot
1dc4ea0e3e Merge "Move the system read only partitions to fstab.ro.system" into main 2024-08-06 19:10:55 +00:00
Treehugger Robot
30ccbc4612 Merge "16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices" into main 2024-08-06 18:14:20 +00:00
Qais Yousef
53d1176fe3 Merge "Revert "init.zumapro.board.rc: Disable util awareness completely"" into main 2024-08-06 08:11:19 +00:00
Juan Yescas
e7b5c5ba0b 16kb: Set PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO in zumapro devices
The PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO flag makes sure that the bionic's
PAGE_SIZE macro is not used.

Bug: 346873199
Test: Built targets
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Flag: EXEMPT bugfix
Change-Id: I267363a23c28edc564b61074f53f223fafdcc2b2
2024-08-06 03:55:20 +00:00
Treehugger Robot
3fb0bb199e Merge "DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zumapro devices" into main 2024-08-06 00:16:50 +00:00
Juan Yescas
ece41241bc Move the system read only partitions to fstab.ro.system
The system/vendor/product read only partitions will be moved
to fstab.ro.system file to easily identify them in the future.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I0402df991160e1fabdfdc5d4e4482320f671ae09
2024-08-05 14:27:20 -07:00
Qais Yousef
02180ccbb4 Revert "init.zumapro.board.rc: Disable util awareness completely"
Revert submission 28549770-disable-teo-util-threshold

Reason for revert: Causes increase in Late Present frames

Reverted changes: /q/submissionid:28549770-disable-teo-util-threshold

Bug: 356992601
Bug: 356967550
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I7dac74f137f0a9f96ad187172367aaffdbdaf102
2024-08-05 14:56:26 +00:00
Treehugger Robot
d20d618ee6 Merge "Upgrade IDisplay to V13" into main 2024-08-02 08:08:40 +00:00
Chris Lu
3bce045202 Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I253d4754e2321b888a92ed68a061fb2c7da33f13
2024-08-02 04:32:27 +00:00
Juan Yescas
82e7a82825 16kb: Config rw filesystem based on TARGET_RW_FILE_SYSTEM_TYPE
The TARGET_RW_FILE_SYSTEM_TYPE will contain the rw filesystem
to use. The rw filesystem for the devices can be f2fs or ext4.

If TARGET_RW_FILE_SYSTEM_TYPE is not defined, the default
fs will be f2fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ib087a06a98525ca449253dffce9df470a05432d3
2024-08-01 10:44:17 -07:00
Juan Yescas
a17b16ccbd 16kb: Move efs rw partitions to its own fstab file
The efs read/write partitions will be part of the fstab.rw.efs
file and will have their own RC file to mount them.

This change allows us to identify the different partitions and
their types. It will also make easier to select different
RC files depending on the page size.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I3eb877ecc3ccf435110ee0da4a949b44729b3bdb
2024-08-01 08:55:04 -07:00
Treehugger Robot
0ccc1836b2 Merge "Update display dim configuration" into main 2024-08-01 12:10:16 +00:00
Jeff Chang
84b13d5e27 Update display dim configuration
To extend battery life, modify the display dim configuration to
enter the dimming state more aggressively. The screen should dim at
minimum(20 seconds, timeout * 0.33) before the screen actually timing out.

     Screen timeout (secs) | Dim duration before | Dim duration After
              15                    3                      4.95
              30                    6                      9.9
              60                    7                     19.8
             120                    7                     20
             300                    7                     20
             600                    7                     20

Bug: 315246849
Flag: EXEMPT resource only update
Test: Build & Verify the dim duration with each setting.
Change-Id: I424ec169893f8ef42f3dd601f5f122eb160cc42c
2024-08-01 09:09:46 +00:00
Treehugger Robot
d606a584ec Merge "audio: set flag of speaker post-processing prebuilt" into main 2024-08-01 05:51:12 +00:00
Juan Yescas
0c2baf5190 Merge "Revert "16kb: Split fstab.zumapro.in to have f2fs partitions in one file"" into main 2024-07-31 18:21:41 +00:00
Juan Yescas
41a4342d7c Revert "16kb: Split fstab.zumapro.in to have f2fs partitions in one file"
This reverts commit f2e81aefe0.

Reason for revert: Need approval from Pixel team
Bug: 356425337
Change-Id: I39958c586a114370354559780d7784d32aaa6901
2024-07-31 18:21:28 +00:00
Qais Yousef
afdbb77157 init.zumapro.board.rc: Disable util awareness completely
Bug: 355085234
Flag: EXEMPT boot time init script configuration
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1d5d72a53c079e0f87626e46badf0250a92abbc5
2024-07-31 12:43:28 +00:00
Jasmine Cha
8011433e1c audio: set flag of speaker post-processing prebuilt
Flag: EXEMPT refactor
Bug: 352461861
Test: build pass

Change-Id: I85a2d2cfa58921d0c89cf31ead9dae82edb7a08f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-07-31 02:11:35 +00:00
Juan Yescas
f2e81aefe0 16kb: Split fstab.zumapro.in to have f2fs partitions in one file
fstab.zumapro.in is splitted in 2 files:

- One file will contain all the partitions that do not use f2fs fs.
- One file will contain all the partitions that use f2fs fs.

This will allow in the future to configure /data and /metadata
with ext4 fs.

Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I6923fdefadf9299df44e2ba550d5af10446e8a20
2024-07-30 15:31:35 -07:00
Treehugger Robot
9930142240 Merge "Add soong config variable for PowerAnomalySitril" into main 2024-07-26 02:57:19 +00:00
Daniel Chapin
edc32dadbf Merge "Revert "strorageproxyd: restart on checkpoint completion"" into main 2024-07-24 21:48:56 +00:00
Daniel Chapin
e96ffb356a Revert "strorageproxyd: restart on checkpoint completion"
Revert submission 28318041-rw_storage

Reason for revert: Droidfood blocking bug b/355163562

Reverted changes: /q/submissionid:28318041-rw_storage

Change-Id: Ia03a829d93d45047af844a9c7b4c4b5a14fa5f92
2024-07-24 20:17:30 +00:00
Carlos Rodriguez
580df2f54e DisplayPort: add DisplayPort Max Resolution and FEC/DSC stats paths for zumapro devices
Bug: 343602691
Flag: EXEMPT bugfix
Test: Built Android
Change-Id: Iaef6594798eef79cfec1148cea798b45c474f343
2024-07-23 22:36:33 +00:00
Juan Yescas
ecfc3d4541 16kb: Set compression algorithm based on the kernel page size
The zram compression algorithm will be set based on the
page size.

- 4kb kernels will use lz77eh
- 16kb kernels will use lzo-rle due Emerald Hill does not
  support 16kb page sizes.

Bug: 354960718
Test: # 4kb kernel
      zumapro:/ # getconf PAGE_SIZE
      4096
      zumapro:/ # cat /sys/block/zram0/comp_algorithm
      [lz77eh] zstd lz4 lzo-rle lzo

      # 16kb kernel
      zumapro:/ # getconf PAGE_SIZE
      16384
      zumapro:/ # cat /sys/block/zram0/comp_algorithm
      lz77eh zstd lz4 [lzo-rle] lzo
Flag: EXEMPT bugfix
Change-Id: I9630c6323860621a48ca9620fcf416372ccdf7f6
2024-07-23 18:05:29 +00:00
Mike McTernan
11ef97edd0 Merge "strorageproxyd: restart on checkpoint completion" into main 2024-07-23 10:02:28 +00:00
Vishvam Mazumdar
b4360283d7 Merge "Defaultly enable cpu idle histogram stats collection for dumpstate." into main 2024-07-18 18:45:14 +00:00
Robert Luo
53c11e07c1 Merge "[Pixel RR] Apply reviewed default permissions" into main 2024-07-18 07:58:16 +00:00
Jerry Huang
629562c19f Merge "zumapro: video: change to use c2 "default" AIDL service" into main 2024-07-18 07:08:55 +00:00
Mike McTernan
077ec5e4da strorageproxyd: restart on checkpoint completion
Flag: EXEMPT rc file change
Bug: 350362101
Test: ABDT
Change-Id: I8c6250155b65c773c657ff09f2a9644e57282f5f
2024-07-17 14:17:17 +01:00
Robert Luo
3d7e868fb4 [Pixel RR] Apply reviewed default permissions
Pregrantting below permissions:
READ_CONTACTS
WRITE_CONTACTS
READ_CALL_LOG

Flag: EXEMPT add pregranted permission in b/337725984, b/337802920
Bug: 337725984, 337802920
Test: presubmit
Change-Id: I76042e951ddba89914c5b347497d44ef0a7faf2e
2024-07-17 20:51:38 +08:00
Jerry Huang
7f27de7435 Merge "zumapro: update c2.exynos.hevc.encoder based on BD4A.240715.001" into main 2024-07-16 09:18:29 +00:00
Darren Hsu
807ab9bc7e powerstats: correct TPU clock for ZP
Bug: 335900447
Bug: 353411106
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Flag: EXEMPT bugfix
Change-Id: I585dd4256dd68f3af35222095a10d833c328f372
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-07-16 14:42:16 +08:00
Herbert Xue
9ada8fb5e4 Add soong config variable for PowerAnomalySitril
Set the variable is true when USE_LASSEN_OEMHOOK is true and
BOARD_WITHOUT_RADIO is not true.

Flag: EXEMPT bugfix
Bug: 325857852
Test: m ConnectivityMonitor
Change-Id: I3526c27ea9f48455891c2839fb37bf9a95bd78e0
2024-07-16 14:31:21 +08:00
Jerry Huang
e9fcb35a2c zumapro: update c2.exynos.hevc.encoder based on BD4A.240715.001
Flag: EXEMPT bugfix
Bug: 344508143
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Change-Id: If9ad3c718a77fb846057a43054ae94d18f1e6bea
2024-07-15 04:56:30 +00:00
Aaron Tsai
9b2b5a8cb0 Remove USE_WHI_GRIL_RECOVERY flag
- move to gril.mk

Bug: 343012301
Test: build pass
Flag: EXEMPT bugfix

Change-Id: I6882625c5bfde2d496eb844f7f08566cad89874c
2024-07-12 03:17:14 +00:00
Jeremy DeHaan
051807756c zumapro: HWC access to panel frame_rate node am: 3e8967723f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/27816038

Change-Id: I0c5e3277ce2cb6090eaf4db2315f66153ab2aad2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 17:44:58 +00:00
Vishvam Mazumdar
95dc4cb9ed 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: I3a670060048b620c9d20f1a4dedbd4d992e925ca
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-11 17:29:46 +00:00
Treehugger Robot
2dd209f31b Merge "Allow camera configurations with no flash light" into main 2024-07-11 15:48:03 +00:00
Joerg Wagner
b360d01a75 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
4618cbe15c 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: atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: Ie4f0b6427bc3cfbb6ab1e8b11910c88dab76eb9a
2024-07-11 11:20:01 +00:00
Krzysztof Kosiński
983acd7f5b Merge "Delete PDX sockets for legacy VR services." into main 2024-07-11 04:41:55 +00:00
Krzysztof Kosiński
1f009ad2ba Delete PDX sockets for legacy VR services.
Remove irrelevant copy and paste content. None of the zumapro
devices ever included these services and these sockets are
not doing anything.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I27fc7563f244b96ec75aac3ef929163257975933
2024-07-10 22:13:09 +00:00
Vishvam Mazumdar
20baf04a64 Merge "Add CPU Idle Histogram Stats to dumpstate board file." into main 2024-07-10 21:41:10 +00:00
Vishvam Mazumdar
cae96e4e50 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: I3b7b0d573bfd5f7e5e9f05c333b5a38940f3d8d6
Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
2024-07-10 21:40:39 +00:00
Wesley Lee
b3bcbac6f1 Merge "enable ZumaPro HDR editing" into main 2024-07-10 20:51:26 +00:00
Dmitry Skiba
a5dbb18179 Merge "Reland "Restrict kcompactd thread to middle/little cores."" into main 2024-07-09 20:52:17 +00:00
Jeremy DeHaan
3e8967723f zumapro: HWC access to panel frame_rate node
Flag: EXEMPT bugfix
Bug: 346461765
Change-Id: I2cdbd8126e5684891b6424d262aa505d2aa641b7
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
(cherry picked from commit b2427428e5)
2024-07-09 18:58:42 +00:00
Hyosun Kim
b78cf2c65f remove device config for supporting Android APIs for the Carrier NB-Satellite Provisioning
Bug: 348573493
Test: atest SatelliteManagerTest, SatelliteManagerTestOnMockService
Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn

Change-Id: Ic8f84f9879f5b59d14c6f835efaea495eecdb8b5
2024-07-09 17:56:06 +00:00
Wei Wang
1e0e88b6ba Merge "init.zumapro.board.rc: Improve max_load_balance_interval value" into main 2024-07-09 17:30:21 +00:00
Jeremy Kemp
0207cbbb83 Merge "Add Mali OpenCL ICD to PRODUCT_PACKAGES" into main 2024-07-09 10:51:44 +00:00