Commit Graph

455 Commits

Author SHA1 Message Date
Ian Elliott
ac76fcf025 Revert "gs201: Enable SkiaVk as RenderEngine backend"
This reverts commit db1a72ccdb.

Reason for revert: Increased jank reported, especially on the Pixel tablet

Bug: 301846142
Bug: 298975477
Change-Id: I81726fdd164b48dc72756e35e4dadd755909cb91
2023-09-26 17:41:07 +00:00
Klines Jiang
45b53c05d0 [SELinux] Add gyotaku_app doamin to Pixel 2022.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I39a8aea20281f83f90657306b8de0233054cb60a
Merged-In: I39a8aea20281f83f90657306b8de0233054cb60a
2023-09-20 18:03:39 +00:00
Martin Liu
f7a71debb7 gs201: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

This tweak also aligns the policy with P23.

Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Jorim Jaggi
679cf27ac4 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I1d21a42726ba36f7f21a56bbc28c40befa7a5270
2023-09-07 17:48:31 +00:00
Arthur Hung
7b31924b74 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:22:06 +00:00
Krzysztof Kosiński
9f82f3b251 Set USF SoC from board makefile.
Bug: 296943650
Test: presubmit
Change-Id: I020eec4f355b4977ff1194a7f146f814874aeb55
2023-08-25 02:52:20 +00:00
Alec Mouri
11e675bb97 Enable dimming in gamma space in screenshots for adaptive mode
This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33171da4fbae416c9243dc6d036988418dd4f4fd)
Merged-In: I30cc2373acc089bac066c731bdd48632a7a79da3
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
2023-08-18 20:48:23 +00:00
Kelly Rossmoyer
6ea9de413c suspend: enable adaptive suspend
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s.  This is the same configuration that
was deployed on the previous generation of devices.

The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.

Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior

Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
2023-08-16 23:17:16 +00:00
Renato Grottesi
e711587192 Disable armnn nnapi backend am: e33182147a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24342934

Change-Id: I2eee7a6407a2720f4c113b77d93ae53b488b17fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 14:56:15 +00:00
Renato Grottesi
e33182147a Disable armnn nnapi backend
Discontinue maintenance and active support of ArmNN on Pixel phones.

Bug: 294459623
Test: Local nnapi_info
Merged-In: Ic0db64d2eec0cb955ae710fa0ac89de3d7136db6
Change-Id: Idfa020dc46070764ccfff148b1fdfc72ccd16442
2023-08-08 06:15:55 +00:00
Ian Elliott
db1a72ccdb gs201: Enable SkiaVk as RenderEngine backend
This changes RenderEngine from using the SkiaGL backend to using the
SkiaVk backend.

Bug: 290248072
Test: Manual testing
Change-Id: I2e9c9fe01c84ad06116435567bb1b02b54677cef
2023-07-28 18:34:30 +00:00
Akilesh Kailash
06b17a25e1 Use lz4 compression instead of gz.
Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4

Test: OTA
Bug: 291594891
Signed-off-by: Akilesh Kailash <akailash@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:62afad0252b57c00847d4942504c6435105b8ccb)
Merged-In: I0a6b164432e16f531c0cc1157814411960915539
Change-Id: I0a6b164432e16f531c0cc1157814411960915539
2023-07-25 03:52:08 +00:00
Renato Grottesi
0d5fddfe8d Remove settings for old ArmNN HIDL backend am: c0baa17abe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24059470

Change-Id: If0ea12a125a6cc44dc157fb66c35884105ca34d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 07:28:19 +00:00
Renato Grottesi
c0baa17abe Remove settings for old ArmNN HIDL backend
Compile ArmNN shim over the support library.

Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Merged-In: I3652eceb14d06a3e909444edc21ad86d9378bc6c
Change-Id: If26928b13cdd9f3342026af95b9446f2918784fa
2023-07-20 06:37:06 +00:00
Cody Northrop
49f3b66b3a EGL: Reduce multifile blobcache limit to 32MB am: 5c4cbe4023 am: 66f9fff138
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24044691

Change-Id: I4044651f9399423d294548773e40b3fa9f181cfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 23:02:52 +00:00
Cody Northrop
66f9fff138 EGL: Reduce multifile blobcache limit to 32MB am: 5c4cbe4023
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24044691

Change-Id: I8f8b2b82e2c79ecb541d3a46cb21ec62cbc9e146
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 22:14:03 +00:00
Cody Northrop
5c4cbe4023 EGL: Reduce multifile blobcache limit to 32MB
Loading the larger limit is taking too long in the field for
apps that are filling the cache.

Test: Ran app until it exceeded cache, watched it reset to 50%
Bug: 290249239
Change-Id: I1b80b8ad427d8a0d2a6d967b98b89d808c549527
2023-07-14 20:52:43 +00:00
ChengYou Ho
99f7374ba0 device.mk: add misc_writer am: 1d66ee690b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23844835

Change-Id: I7c71a5303fb8d5c2c00b51593518627e05cd7b46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-05 02:13:47 +00:00
ChengYou Ho
1d66ee690b device.mk: add misc_writer
Bug: 285803498
Bug: 271950369
Change-Id: I4974f32fe49d218f7954568db4c585896b29f4f4
2023-07-05 01:32:06 +00:00
Luis Delgado de Mendoza Garcia
03df275b45 Add chre dedicated channel and start using them in chre_daemon.
Adding the necessary entries to ueventd for gs201 and newer and
enable the flag for chre_daemon to start using the channel.

Bug: 241960170
Test: in-device verification.
Change-Id: Ie53e3c21e6c83f9e184d31fd189cff3e5602bb2b
2023-07-03 02:57:05 +00:00
joeshih
7c1bd9d937 [SEPolicy]Change to gs-common.
Bug: 28716739
Test: Forrest build to verify pass.
Change-Id: I9f0de576e5ab9ec800dfff132fc9ab1ba3b6f7e2
2023-06-19 06:21:18 +00:00
Salmax Chang
66f67c848e device: Support to build prebuilt modem_svc_sit am: 142fe0d50b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23123001

Change-Id: Ia5c63a1f46705176e4777d91b379892cdb795672
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-15 04:46:25 +00:00
Salmax Chang
142fe0d50b device: Support to build prebuilt modem_svc_sit
Bug: 275954131
Change-Id: I5b927c27d9a8df00b3f0438b6e1a24a4fde70fa4
2023-05-15 03:54:01 +00:00
Peiyong Lin
26c96dd3d7 Update device.mk. am: 45dc0d098a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/22872833

Change-Id: Idea9954fccb1bb8f0e1106a7478bbd036045790a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 16:54:27 +00:00
Peiyong Lin
45dc0d098a Update device.mk.
USE_ANGLE in moved to core.mk across platform, this patch updated the
usage of it in device.mk.

Bug: 270994705
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: I58d57cd5e58d0a4706e8771ffb5e903795954f19
2023-05-05 16:24:14 +00:00
Ian Elliott
0cd344bc5e Revert "gs201: Use SkiaVk as RenderEngine backend" am: b5cd401830
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23051992

Change-Id: I38195ed3eace825c51ae7dd75f20722352bbdb0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 05:07:49 +00:00
Ian Elliott
b5cd401830 Revert "gs201: Use SkiaVk as RenderEngine backend"
This reverts commit adb2d7a0bd.

Reason for revert: Blocking Droidfood: b/280568588

Bug: 280568588
Change-Id: I0ad1c3eb057122f3b38fdf197c80d379b021960e
2023-05-05 04:18:33 +00:00
Adam Shih
11011ecfd9 include gs201 dump am: 4462a42c56
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23019800

Change-Id: I5d9bf7ddbb6560871aa1e18e95c1e81a37e89910
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 09:48:30 +00:00
Adam Shih
4462a42c56 include gs201 dump
Bug: 280700265
Test: adb bugreport
Change-Id: Iaaa4fbffb87796fa0e32a460eab961fa7f5f371b
2023-05-04 15:07:24 +08:00
Krzysztof Kosiński
bd7200ed15 Update SoC-specific Lyric config.
Bug: 280124102
Test: presubmit
Change-Id: Id7c494f62a0029badd290612b034e2411fb61565
2023-05-03 02:23:56 +00:00
Ian Elliott
adb2d7a0bd gs201: Use SkiaVk as RenderEngine backend
This fixes some P1 and P2 jank and memory defects

Test: Manual testing
Bug: 278787003
Bug: 278811091
Bug: 279090906
Change-Id: I995dfeff5d313d8b32cf4d8ce9d1e5dd1c54aa19
2023-05-02 03:20:41 +00:00
Kyle Zhang
67a21afc77 Move Widevine drm to gs-common
Bug: 277764729
Change-Id: I5ddd1153cdeb68d2ee9b0f4cda2080f55c9c008b
2023-04-27 21:21:06 +00:00
Bruno BELANYI
cd581af956 Define mali configuration path explicitly
This avoids mali trying to read `/data/data/com.mali.testjava` for its
debug config.

Bug: 205779871
Bug: 264489188
Test: manual - reboot device and check the absence of AVC denials
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa5b1036db7f53d253d533cded53654974f773c2)
Merged-In: Id168e9ce380eb6d3657a83e74ec8afd52bbd584e
Change-Id: Id168e9ce380eb6d3657a83e74ec8afd52bbd584e
2023-04-27 08:06:38 +00:00
Ian Elliott
fefb1abd94 gs201: Use SkiaGL as RenderEngine backend
Test: none needed--reverting to previous RenderEngine backend
Bug: 236390072
Change-Id: I38a99a971b614fd508754d1da81f22d18dc0fae4
2023-04-18 17:02:09 +00:00
Leo Liou
8329190a5c gs201: conf: run ufs ffu script after boot complete
The ufs script is to work for ffu preparing. If device's ufs has an
old firmware, the script will copy the valid firmware into disk and
wait for ffu update on bootloader.

Bug: 273305212
Test: full build and test ffu update
Change-Id: Ic5069561b67e2773cd87edb31bfa3d682867b838
Signed-off-by: Leo Liou <leoliou@google.com>
2023-04-17 09:58:11 +00:00
Adam Shih
f50f869a70 use dumpsate from gs-common
Bug: 273380985
Test: adb bugreport
Change-Id: I9ff3f7212c0821e5e880563ed503ea1d883a7a87
2023-04-10 01:11:14 +00:00
Armelle Laine
dba3d2f31c Add metrics to the gs201 makefile
Bug: 276821220
Test: /vendor/bin/trusty-ut-ctrl -D /dev/trusty-ipc-dev0 "com.android.trusty.crashtest"
Change-Id: I516129e1edd537f47d35e54834fdcdc96bab5354
(cherry picked from commit e573bfd11f)
2023-04-08 00:13:33 +00:00
Armelle Laine
93d9ad928b trusty: Add trusty_stats_test
Test: /data/nativetest64/vendor/trusty_stats_test/trusty_stats_test
Bug: 276821220
Change-Id: If3ad0e5eec831a8f5632504453994f29f350224c
(cherry picked from commit 1e26affe87)
2023-04-08 00:13:33 +00:00
Adam Shih
fbb7175244 use radio dump in gs-common
Bug: 273380509
Test: adb bugreport
Change-Id: Id60eefa3a78186f2bf093295490fb7d2524bf80b
Merged-In: Id60eefa3a78186f2bf093295490fb7d2524bf80b
2023-03-27 06:18:09 +00:00
Adam Shih
a3c81a57ad use gs-common gps dump
Bug: 273380509
Test: adb bugreport
Change-Id: I97ac88eb9b5ade2d5bfa262b00a2818bbbb789bb
2023-03-23 02:30:07 +00:00
Jörg Wagner
94cca488d3 Update Mali DDK to r40 : Sysprop configuration settings
Expose DDK's dynamic configuration options through the Android Sysprop
interface, following recommendations from Arm's Android Integration
Manual.

Bug: 261718474
Bug: 272740524

(cherry picked from commit 923c100ba6)
Merged-In: Ie2135862c61fada85c4e9cfa97aecbf635768721
Change-Id: I4de0dbe802663193031ce5b77a2179e0caa476bb
2023-03-21 10:30:22 +00:00
Adam Shih
1b92506c4d use gxp dump in gs-common
The function is introduced in ag/21644929
Bug: 273380509
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content

Change-Id: Ife6e7dc1c399150b149f5fbd14c902da6cdeefcf
2023-03-21 05:26:25 +00:00
Adam Shih
b578bc8a0e use gs-common camera dump
Bug: 273380509
Test: adb bugreport
Change-Id: I1312a62bd65ec8804bb967d98d1f231f6798b5c3
2023-03-20 11:09:26 +08:00
Ian Elliott
84e9cd6016 gs201: Use SkiaVk as RenderEngine backend
After 2 days, I see no issues after enabling on Pixel 7 Pro.  Time to
enable across gs101 and gs201.

Test: no issues seen after enabling on Pixel 7 Pro
Bug: 236390072
Change-Id: I1795b1e9a0b2e04e2a592bc0eeb02b333aff1ff8
2023-03-18 00:08:59 +00:00
Ian Elliott
9d9461e28f Pixel 7 Pro: Use SkiaVk as RenderEngine backend
Test: make, flash, and run applications/tests
Bug: 236390072
Change-Id: I047b827a585776cfd759fa000cd2c7d1a3842ff0
2023-03-16 00:31:55 +00:00
Adam Shih
256fe971e4 use gs-common soc dump
Bug: 273380509
Test: adb bugreport
Change-Id: Icb6eb7b67a3d258c2a6bc72368df92c7fbdb2f66
2023-03-15 05:59:09 +00:00
Jasmine Cha
e345714375 audio: move audio hal hidl mk to gs-common.
Bug: 259161622
Test: build pass and check audio function with HIDL service

Change-Id: I4a72f00be1c9eafc92cab5ff7ef93a688f82eb75
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-10 02:05:58 +00:00
Erik Staats
63080f5452 Add UmfwStat
Bug: 272323547
Test: Verified UmfwStat tables are dumped in bug report.
Change-Id: Ia2848a3893ce20a8bf02629e6ee4fbee6f8651fb
2023-03-09 20:38:02 +00:00
Adam Shih
fe0605b2b1 Move display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: I7b17d4d54e90429d07b545e3d53c3f528155dab5
2023-03-09 05:09:19 +00:00
Daniel Chapin
9f413fc11b Revert "Pixel 7 Pro: Use SkiaVk as RenderEngine backend"
This reverts commit 2fa6ce1ba2.

Reason for revert: Droidfood blocking bug: b/271968787

Change-Id: I62b475b01732f4a285c020fcaab3103ef972d248
2023-03-07 21:08:31 +00:00