Commit graph

1388 commits

Author SHA1 Message Date
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
Android Build Coastguard Worker
c1109ec286 Snap for 12110738 from b4360283d7 to 24Q4-release
Change-Id: Ic6cb9c457782d60d6fb28f00d00b6356990d1f61
2024-07-18 23:03:04 +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
Android Build Coastguard Worker
b7ffe9b33f Snap for 12098010 from 7f27de7435 to 24Q4-release
Change-Id: I30ab44c6b8e3cb1112fe2c731a3bafeb477977ea
2024-07-16 23:03:39 +00: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
Android Build Coastguard Worker
5e2f6ffab9 Snap for 12091711 from 9b2b5a8cb0 to 24Q4-release
Change-Id: Ic4a444a2ca176eb7d12810c22c5a4bdaf33cb3e0
2024-07-15 23:03:02 +00: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
Android Build Coastguard Worker
69a9060323 Snap for 12078078 from 051807756c to 24Q4-release
Change-Id: Ibc7d4066d6c64174e0dfa0026bf6d074fceaa9df
2024-07-11 23:03:19 +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
Android Build Coastguard Worker
345d65fc7a Snap for 12072601 from 20baf04a64 to 24Q4-release
Change-Id: Ie92b3a6d59d55fcaffec3a2329dffc1a3970c464
2024-07-11 01:03:39 +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
Android Build Coastguard Worker
0d5595e5fe Snap for 12065372 from b78cf2c65f to 24Q4-release
Change-Id: I8d44a2b8bbf6ca074a216cdc752d26fc972ca3fb
2024-07-09 23:08:23 +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
Roy Luo
c698aa6618 Merge "Use absolute path for udc device" into main 2024-07-09 03:03:37 +00:00
Android Build Coastguard Worker
b0a88cd04a Merge cherrypicks of ['googleplex-android-review.googlesource.com/27069623', 'googleplex-android-review.googlesource.com/27069622'] into 24Q3-release.
Change-Id: I33ededfa83214605e11c837da352a69a07ec52ad
2024-07-09 03:01:07 +00:00
Qais Yousef
7798172e8f init.zumapro.soc.rc: Match sched_pixel settings to powerhint's
We now default to 500us down_rate_limit_us. Boot with these defaults
too. powerhint can still modify these to whatever setting required by
the specific hint.

Only difference is that down_rate_limit_scale_pow for little is now the
default 1 instead of 2.

Bug: 336169796
Test: PTE A/B test
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4336a77fe65de3becebbe06c91adf9a743a3e300)
Merged-In: I4f0712faaad87afbb0fc7627c45a61081f91e1e6
Change-Id: I4f0712faaad87afbb0fc7627c45a61081f91e1e6
2024-07-09 02:38:51 +00:00
Qais Yousef
1f282b3900 init.zumapro.soc.rc: Disable rampup for most groups except top-app and adpf
When auto margins are enabled busy tasks will get more appropriate and
coherent rampup time when they get busy. But for most groups, this can
lead to unnecessary power consumption. Disable it except for top-app, sf
and camera group.

For ADPF, a faster rampup is desired as these tasks are usually
sensitive to all sources of latencies. So try to give them more
performance faster.

Bug: 336169796
Test: PTE A/B test
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c364c7aba08e3b5fc5aecf0c0e673d8d8544e92)
Merged-In: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0
Change-Id: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0
2024-07-09 02:38:38 +00:00
Dmitry Skiba
e49f89d3a2 Reland "Restrict kcompactd thread to middle/little cores."
This reverts commit e252dc733c.

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

Change-Id: I6bcd2c7277c689201c8bf17ea9d6211b4ee35c8f
Bug: 347272991
2024-07-09 00:36:10 +00:00
Android Build Coastguard Worker
13a69df8d9 Snap for 12058995 from 7bd484ad3e to 24Q4-release
Change-Id: I9d7fce24c43313a4b9cc6255aca100e615fa46b3
2024-07-08 23:08:36 +00:00
Treehugger Robot
7bd484ad3e Merge "APC/TUI: remove support for APC" into main 2024-07-08 15:34:38 +00:00
Qais Yousef
fe92c2de44 init.zumapro.board.rc: Improve max_load_balance_interval value
This value is in jiffies, setting it to 4 doesn't mean it is 4ms, but it
is 4 ticks or 16ms. Set it to the intended 1 TICK/4ms.

Bug: 351817090
Flag: NONE, init scripts don't support flags
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I23b8eacd13bd12cbab5272e7c72c38ab9ea44719
2024-07-08 15:34:13 +00:00
Jeremy Kemp
9b61db2e86 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: I864331b449315d53f8da11a374f2816c599e4e6d
2024-07-08 15:39:50 +01:00
Boon Jun
bef0cb7c8d Allow camera configurations with no flash light
Let clients determine the configuration of camera flash
features. Copy the rule by conditions:
- android.hardware.camera.autofocus.xml for devices with no flash
- android.hardware.camera.flash-autofocus.xml for devices with flash

Bug: 350371742
Test: adb shell pm list features
Flag: EXEMPT build file change
Change-Id: If4c9b73f2ca934374c4870db3954702f3522b9a0
2024-07-05 02:56:33 +00:00