Commit graph

1300 commits

Author SHA1 Message Date
Juan Yescas
a1d5c9b4f3 Rename fstab.postinstall to fstab.ro.postinstall for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I762f8d757739e8c9685df73b7e39f10b4ce25d34
2024-08-06 23:41:48 +00:00
Treehugger Robot
0e6653cecc Merge "Rename fstab.modem to fstab.ro.modem for zumapro devices" into main 2024-08-06 20:43:48 +00:00
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
Kuen-Han Tsai
5cfc68b55b Limit hub tuning when enable_hub is enabled
Some external hubs have the same VID and PID as the internal hub,
causing unintended hub tuning and compatibility issues.

This patch restricts hub tuning to only the internal hub located on
bus 1, port 1 when enable_hub is set to 1.

Bug: 353650207
Test: Verified an external GL852G speakerphone dock works when docked.
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd <hex wValue> <hex wIndex>
Flag: EXEMPT bugfix
Change-Id: I381f3883c90628753f0e5e9c11eb546fb15ce679
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-08-06 09:45:05 +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
Paulsu Su
fe3d0dbbfe init.zumapro.soc.rc: Set little core min freq to 820MHz
Test: boot to home
Bug: 348088963
Flag: NONE init.rc do not support flag

Change-Id: I68f3ceaa17559aa27ef8daac98ef69dece39c361
2024-08-06 07:08:30 +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
970dfcb4ee Rename fstab.modem to fstab.ro.modem for zumapro devices
Bug: 356425337
Test: $ source build/envsetup.sh
      $ lunch [zumapro]-trunk_staging-userdebug
      $ m
      $ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I72d7d4138b23457ba23422e59d7745ab2e2017e0
2024-08-05 23:57:59 +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
Kyle Tso
b616d05cca dumpstate: Dump manual_disable_vbus in TCPC
Bug: 335368150
Bug: 344686002
Bug: 352490157
Flag: EXEMPT bugfix
Change-Id: I1f6cc8bc830d4e23e86b0fc93fa49f2944835cda
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:25:27 +00:00
Kyle Tso
c0e32b0bea dumpstate: Modify dumpTcpc path and content
Ported from I248fb250b94cbd4078e7f3c44da83f62002b53fb with some
modifications.

Bug: 357543284
Test: checked the content in dumpstate
Flag: EXEMPT bugfix
Change-Id: I35502167baedb96b58f214cb6842fb1ea4dee3e0
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-08-05 11:07:36 +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
Gary Jian
80a5a81d07 Use new format of sit_net_radio_access_specifier
Bug: 353545247
Test: manual
Flag: NONE, Vendor change does not support flags
Change-Id: I50c5aad2f414d2cef9cb0ead9fd7374bd7639705
2024-08-01 13:10:47 +00: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
Wei-Hong Hsu
c9e1a34260 [NFC] Add permission for the st33spi
add permission for the st33spi

Bug: 326345756
Test: build pass
Flag: NONE <no need>
Change-Id: Ie3f3e6300c7d3551c641e0d1d3985f355ec1ab76
2024-08-01 06:00:28 +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
Android Build Coastguard Worker
0c136391ea Merge cherrypicks of ['googleplex-android-review.googlesource.com/28411012'] into 24Q3-release.
Change-Id: Ief207b39775ddd14d092db5bd1ede8f77097224f
2024-07-23 00:22:33 +00:00
Jeremy DeHaan
9c87f41357 zumapro: HWC access to panel frame_rate node
Flag: EXEMPT bugfix
Bug: 346461765
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
(cherry picked from commit b2427428e5)
(cherry picked from commit 3e8967723f)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85254d6dee1d216dde7b1a23fc76594c422fcecd)
Merged-In: I2cdbd8126e5684891b6424d262aa505d2aa641b7
Change-Id: I2cdbd8126e5684891b6424d262aa505d2aa641b7
2024-07-23 00:13: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
Android Build Coastguard Worker
d8b63ef99c Merge cherrypicks of ['googleplex-android-review.googlesource.com/28376161'] into 24Q3-release.
Change-Id: I3af3c24d7a52883aee33727ac42e267100d6d1c3
2024-07-18 06:53:45 +00:00
Neha Jain
1f04d18836 Revert "zumapro: HWC access to panel frame_rate node"
This reverts commit eba9ea1ebb.

Reason for revert: build break
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cee98f8a2aaa7708ba41bfdeae6e029c299fed60)
Merged-In: Ia66bb6862384fc94901a19526249657a25414fda
Change-Id: Ia66bb6862384fc94901a19526249657a25414fda
2024-07-18 06:53:00 +00:00
Android Build Coastguard Worker
96aa711ebc Merge cherrypicks of ['googleplex-android-review.googlesource.com/28180922'] into 24Q3-release.
Change-Id: I5617d75754d1bf3ad338176deffef6610c0c7beb
2024-07-18 03:50:59 +00:00
Jeremy DeHaan
eba9ea1ebb zumapro: HWC access to panel frame_rate node
Flag: EXEMPT bugfix
Bug: 346461765
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b2427428e58fbd59bd5cbb484be4badf62a3fa19)
Merged-In: I2cdbd8126e5684891b6424d262aa505d2aa641b7
Change-Id: I2cdbd8126e5684891b6424d262aa505d2aa641b7
2024-07-18 03:43:42 +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