Commit graph

4982 commits

Author SHA1 Message Date
Xin Li
aa57c8b0a1 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
Change-Id: I5e5c73eceaec0ce6c3cfca299ed43ede43b8f3e6
2024-12-13 11:15:09 -08:00
Nelson Li
33da5a379e Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201 am: 81a804eab6
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3393979

Change-Id: I588cbdcf4795cfe47273cab32b9cf0dada96c5cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:35:50 +00:00
Nelson Li
81a804eab6 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext

Merged-In: I1a41a48feb26771127f9603ae5ae226d2de61065
Change-Id: I1a41a48feb26771127f9603ae5ae226d2de61065
2024-12-05 03:34:41 +00:00
Xin Li
c6c5aa6608 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
Change-Id: I856c6cb88142711f2d8d25240c3176b05f8edfdb
2024-11-06 10:31:19 -08:00
Bill Yang
196e62305c Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: d764715871
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3286784

Change-Id: I3e2adec627e78596f0499e5e8dd0a37abf11220b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Bill Yang
d764715871 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_panther-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I77d3e23d2c8fd956d7207e2aa486577646a18763
2024-10-25 03:31:42 +00:00
Krzysztof Kosiński
0caaaaedd7 Delete TARGET_CPU_VARIANT_RUNTIME. am: b22dab1117 am: e5d3affa5b
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3272802

Change-Id: I7907de98ca4a7b865cec807dfb33d50a9b3898af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 21:26:13 +00:00
Krzysztof Kosiński
e5d3affa5b Delete TARGET_CPU_VARIANT_RUNTIME. am: b22dab1117
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3272802

Change-Id: I258a124649dd33a8828438e46308bdcbd50036fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:43:52 +00:00
Krzysztof Kosiński
b22dab1117 Delete TARGET_CPU_VARIANT_RUNTIME.
This variable only does something when it differs from
TARGET_CPU_VARIANT. Setting it to the same values doesn't do
anything.

Bug: 368635026
Test: presubmit
Change-Id: I15a3b367df0a5be2de23f535f9f9df0866dd306a
2024-09-20 19:19:24 +00:00
Jerry Chang
f0733782af Add input event profile to mitigate input latency of input threads
Bug: 347122505
Test: check the priority and latency of input thread in Perffeto
Flag: NONE early device setting updates
Change-Id: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
2024-09-18 12:09:37 +00:00
Ryan Prichard
6328876ea2 gs201: avoid vector<const T> am: c92b81622d am: d1604426b8
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3265798

Change-Id: I58e87d471346b565d1e5b1bcfc77dcb7673c0c22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 20:13:39 +00:00
Ryan Prichard
d1604426b8 gs201: avoid vector<const T> am: c92b81622d
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3265798

Change-Id: I0a4ac942083232e6065ce746a1d26b5f0c5dee01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 19:53:10 +00:00
Ryan Prichard
c92b81622d gs201: avoid vector<const T>
std::vector<const T> uses std::allocator<const T>, which is an
undocumented libc++ extension to the C++ standard library. The extension
was removed in llvm.org/PR96319. Use an ordinary non-const T instead.

Bug: http://b/349681543
Test: m android.hardware.power.stats-impl.gs201
Flag: EXEMPT, refactor to fix build failure
Change-Id: Ic355f68c4ebb09e204ea3fb4822940aad07ccd7b
2024-09-12 13:18:03 -07:00
Treehugger Robot
7cb22ac5f6 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 5d21fda779 am: 933ef530c9
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3258674

Change-Id: I78b26aa9cd31ef542ad14526f678a7653cdb3ff7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 03:01:06 +00:00
Treehugger Robot
933ef530c9 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 5d21fda779
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3258674

Change-Id: Ib802235d264813831cac53cc25cd02841c811ca1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 02:51:06 +00:00
Treehugger Robot
5d21fda779 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 02:46:24 +00:00
Xin Li
03644ec631 [automerger skipped] Merge 24Q3 to AOSP main am: 1096924af1 -s ours am: 58665d84e8 -s ours
am skip reason: Merged-In Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78 with SHA-1 cb51a640f4 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3258434

Change-Id: Iace0355cab3fa84d65aa835aecb5cc2c7b528d50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:40:51 +00:00
Xin Li
58665d84e8 [automerger skipped] Merge 24Q3 to AOSP main am: 1096924af1 -s ours
am skip reason: Merged-In Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78 with SHA-1 cb51a640f4 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3258434

Change-Id: Ifaed61f09391c67f23f8bf0d4a15bdf2e9177644
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:14:09 +00:00
Krzysztof Kosiński
2a814d7aab Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial gs201 devices (Pixel 7)
launched with API level 33.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I35bdec5d9e21abb25f12c0ad9681d3dee01aee67
2024-09-06 22:27:24 +00:00
Xin Li
1096924af1 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78
Change-Id: Icc7a517d0cb2b6688ecc25d5af3a3c11e16e7c09
2024-09-05 17:02:37 -07:00
samou
8d194cb38c bcl: remove charging debugfs data logging
Flag: EXEMPT refactor
Bug: 362322242
Change-Id: Ibdd3df9c7a2dfeab36a43d32dc092fefdec9d77d
Signed-off-by: samou <samou@google.com>
2024-09-05 10:02:21 +00:00
Ocean Chen
a664dadaa8 Switch from the BFQ to the mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel.

Bug: 186902601
Test: forrest build

Change-Id: I5d336b3f146ca673c83c03304773d0ccf4c01e77
Signed-off-by: Ocean Chen <oceanchen@google.com>
2024-09-05 06:37:21 +00:00
carmenyip
541efd2ce2 extended_log: update directory permissions for gs201
Bug: 336638376

Test: $ cd data/vendor/radio
$ ls -la
Flag: NONE changing directory permissions only

Change-Id: I972634ab85eb8416b43183712394c27d4d0340ee
2024-09-05 04:02:07 +00:00
Charlie Yang
fcc8f3875f Revert "Add soong config use_google_qns in device/google/gs201/d..."
Revert submission 28947244-grilservice

Reason for revert: b/363911795

Reverted changes: /q/submissionid:28947244-grilservice

Change-Id: I81e58d0f1190a592f388ab1031275e6f2656217b
2024-09-04 11:03:21 +00:00
kellyhung
646cc8fdcf Add soong config use_google_qns in device/google/gs201/device.mk
Bug: 360757079
Test: lunch r11-trunk_staging-userdebug; m grilservice
Flag: EXEMPT bugfix

Change-Id: Ia10d6d73f7349b6a5de5046236c8498f54962036
2024-08-30 07:22:52 +00:00
Ankit Goyal
fe86e10394 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I828ee34e1de2fb0ac228688517d4be89e43247d1
2024-08-28 22:54:00 -07:00
Roy Luo
f13115f44c usb: correct sys.usb.controller sysprop
system/core/init/init.cpp SetUsbController picks the first udc device if
there're multiple udc devices present on the system to populate
sys.usb.controller system property.
CONFIG_USB_DUMMY_HCD enabled in kernel-5.10 GKI would introduce a
dummy udc device named "dummy_udc.0". Depends on timing, the dummy
device might be picked up by the init process and incorrectly populate
sys.usb.controller.
This issue only applies to devices on kernel-5.10 GKI, the WAR is to
overwrite the sysprop if it's incorrectly populated by the dummy udc.

Bug: 333778731
Test: tested on Cheetah
Flag: EXEMPT bugfix
Change-Id: I7555dda7f0bb436200ef7cd8a46b785232187cfd
2024-08-27 23:39:24 +00:00
Elliott Hughes
6afa4bc6d1 The "messaging" package is being removed. am: 69bd3c07ab am: 053f552fae
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3241482

Change-Id: I4ef97d4b9a979aa5e242f34d7bf4b459c0b730b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 16:15:47 +00:00
Elliott Hughes
053f552fae The "messaging" package is being removed. am: 69bd3c07ab
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3241482

Change-Id: Iab4c5f6f9b720ae5147025644b22766e2291fe7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-27 15:39:41 +00:00
Elliott Hughes
69bd3c07ab The "messaging" package is being removed.
Change-Id: Ibbd134ec0f695ac9fbdb2831e81a6502729c96db
2024-08-26 16:03:18 +00:00
samou
11938381ec Migrate dump_power_gs201.sh contents into cpp for improved speed
Flag: EXEMPT refactor
Bug: 349935208
Test: ./dump_power
Change-Id: I7799487b0f88cf59cb46f050d87528d535f7e788
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
samou
c62a6b812d Remove BCL from thermal
Flag: EXEMPT tuning changes
Bug: 349935208
Change-Id: I43b37dc596c799927868c0c546d30ed8e51c17c5
Signed-off-by: samou <samou@google.com>
2024-08-12 12:32:21 +00:00
Cyan_Hsieh
44ae6ffad2 Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 8c9f1f1663 am: 874a2b07cb
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3214297

Change-Id: Ie37ab68bca27259034f34d009463111caaeb2f36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
874a2b07cb Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 8c9f1f1663
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3214297

Change-Id: Ie0461f7ba8bbaf4f747fa9b82ec4bc567af38d9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:03 +00:00
Cyan_Hsieh
8c9f1f1663 Add FSTAB_OWNERS and update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b3b56408e146d323e55767be770a5b37cb1c298f)
Merged-In: I2a5813f8436dd2d36b35b790aaebc00df13c5196
Change-Id: I2a5813f8436dd2d36b35b790aaebc00df13c5196
2024-08-09 08:33:39 +00:00
Kuen-Han Tsai
0c1f69415f 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: If2cfe6684e4f5fafaab34bf7a4e4b4cd464d6575
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-08-07 12:27:59 +08:00
George Lee
fa514f6781 init: gs201: Mask VDROOP1 for GPU CLK Divider
Bug: 337613046
Test: Confirm divider is configured
Flag: EXEMPT bugfix
Change-Id: Id143431a6d63c4915ab0c0e97207eca1be4ea171
Signed-off-by: George Lee <geolee@google.com>
2024-08-05 15:06:01 +00:00
Chris Lu
0386e9b22f Upgrade IDisplay to V13
Bug: 315496839
Test: build pass
Change-Id: I9bf92af08fd21d834ca538d79bd906ca9e4fab2a
2024-08-02 08:08:26 +00:00
Qais Yousef
6566e47574 BoardConfig-common.mk: Enable Lazy RCU
Bug: 340860065
Flag: EXEMPT this is a boot time parameter
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Id8ce33fac746f3a873c69461f7f9054b274603d9
2024-07-30 18:04:04 +00:00
Herbert Xue
01383d9603 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: I10d1b9b198db960d1d6af0a69044907c8043c4e6
2024-07-26 02:57:15 +00:00
Robert Luo
06118f1b53 [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: I611bedf6f05acc3f80ccc021fb534869e131dba1
2024-07-19 06:25:00 +00:00
Jerry Huang
338008193e gs201: video: change to use c2 "default" AIDL service
Bug: 322920559
Change-Id: Ia2e6cac052bc0ee417e179f61804eada9ae87bf5
2024-07-18 07:08:49 +00:00
Jörg Wagner
9bbd539930 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 4 GPU cores (1111b) in the extreme tests.

Bug: 221255664
Test: L10 atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: Iee15ed0d929f648ad45f7d5fe708e8cb14296e6f
2024-07-11 12:07:49 +00:00
Krzysztof Kosiński
a1ad16fd77 Delete PDX sockets for legacy VR services.
Remove irrelevant copy and paste content. None of the gs201
devices ever included these services and these sockets are
not doing anything.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I60698b026c2e456296943adc8c2a2f03fe3dd867
2024-07-11 04:41:53 +00:00
Roy Luo
22e3c7a721 [automerger skipped] Use absolute path for udc device am: 57f74afaf7 am: 748e2c804a -s ours
am skip reason: Merged-In Iad74cae0d6ad6887d79d705dc8478f1b44532503 with SHA-1 7c074a6c3c is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3164468

Change-Id: I4a8458dd98dc1760be8cc18ded776fe5c37eb7d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 20:12:23 +00:00
Roy Luo
748e2c804a Use absolute path for udc device am: 57f74afaf7
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3164468

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

Bug: 339241080
Test: tested on gs201
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
Merged-In: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-07-10 18:16:53 +00:00
Qais Yousef
082d87f959 init.gs201.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: Iea2a75de69815c5fd812f2e65b8a018a9c396d9e
2024-07-10 11:51:11 +00:00
Jeremy Kemp
7136214409 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: Ied865d4149569b90b400b876ab29441ea2d09c06
2024-07-09 10:51:38 +00:00
Roy Luo
7c074a6c3c Use absolute path for udc device
Avoid search in /sys/class/udc directory

Bug: 339241080
Test: tested on gs201
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-07-09 03:03:33 +00:00