Commit graph

6690 commits

Author SHA1 Message Date
Yi-Yo Chiang
7ff9bca803 init-display-sh: Allow writing to kmsg am: 6864f9f43b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3442471

Change-Id: I19231856243852a688eccb8a1b277e4c3fc39cda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:19:12 -08:00
Yi-Yo Chiang
6864f9f43b init-display-sh: Allow writing to kmsg
modprobe would log errors to /dev/kmsg, need to explicit allow this.

Bug: 388717752
Test: DeviceBootTest#SELinuxUncheckedDenialBootTest
Change-Id: Iecb9d45e5ef08edc04c87d8f1375803c1df11621
2025-01-09 18:42:06 +08:00
Xin Li
e8440982a7 [automerger skipped] Merge 24Q4 into AOSP main am: a96f3c7cd2 -s ours
am skip reason: Merged-In I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996 with SHA-1 b6da7df66e is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3413858

Change-Id: I5f287f6d0d7a3009d45531f38cddee26c0ea77bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 18:52:33 -08:00
Xin Li
a96f3c7cd2 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
Change-Id: If7556c897a8e8a3a42aee44002aa985805a1c9dd
2024-12-13 11:15:09 -08:00
Nelson Li
15b18e1536 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101 am: 1736bb0cd3
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3393999

Change-Id: I63feb7dda4c78b10f43abd112a8dfc3a87e2ff78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-06 01:35:49 +00:00
Nelson Li
1736bb0cd3 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
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: If65f320a32840a42f5b99ae22f7396cc048593ec
Change-Id: If65f320a32840a42f5b99ae22f7396cc048593ec
2024-12-05 03:36:47 +00:00
Xin Li
5244fcad04 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
Change-Id: I0a719e67f7b9a5fb35b6d7f29a02bf6912946a31
2024-11-06 10:31:19 -08:00
Bill Yang
528e9aeb31 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: ce576fa1be
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3287269

Change-Id: Iea03fb4b0569ced31e68a6109dfdcfa172e033c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:50:15 +00:00
Bill Yang
ce576fa1be 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_riole-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I67339b5420d523d9a61e0457d77a1412ae6b3582
2024-10-25 03:36:29 +00:00
Krzysztof Kosiński
d52fc5d79f Delete TARGET_CPU_VARIANT_RUNTIME. am: 60344f3e70 am: 161a602a62
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3275074

Change-Id: I3e2fadf317006f0e2e1aa4eeca222995a52d07e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 21:25:58 +00:00
Krzysztof Kosiński
161a602a62 Delete TARGET_CPU_VARIANT_RUNTIME. am: 60344f3e70
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3275074

Change-Id: I0179f9d89be6927bb0204d561cf83348635a5f2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:38:29 +00:00
Krzysztof Kosiński
60344f3e70 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: I77ae2cbd9fbe09e60db3ee89fc33f32cecb8bab6
2024-09-20 19:14:06 +00:00
Jerry Chang
b6da7df66e 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: I0c0a39e3fc03d8df4e9e87cf61fb8e1dafcfc996
2024-09-18 12:08:38 +00:00
Ryan Prichard
f0f9e291f8 gs101: avoid vector<const T> am: cbb28eab67 am: a368ab227e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3262401

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

Change-Id: I26183c8d354078b55329cf1f1600d613ba47f11f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-16 19:53:10 +00:00
Ryan Prichard
cbb28eab67 gs101: 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.gs101
Flag: EXEMPT, refactor to fix build failure
Change-Id: Ia66a69a9375971223b712d695f5ea5f2c1e26c19
2024-09-12 13:15:56 -07:00
Treehugger Robot
54ecd01c7b Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 6e5213ffd2 am: e8c638674e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258314

Change-Id: I931d1462c14814151bd916683a8ff3e68680410c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 03:01:21 +00:00
Treehugger Robot
e8c638674e Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main am: 6e5213ffd2
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258314

Change-Id: I97bd871e589cd396f1cafb0e935594733eb0b29a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 02:50:54 +00:00
Treehugger Robot
6e5213ffd2 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 02:46:24 +00:00
Xin Li
0377917368 [automerger skipped] Merge 24Q3 to AOSP main am: 5698c6c38e -s ours am: a82f5cfaec -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 ebddc4ff3f is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258552

Change-Id: I1b246ca1c53bc974ad957bc388a1934bc6a6ad3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:20:25 +00:00
Xin Li
a82f5cfaec [automerger skipped] Merge 24Q3 to AOSP main am: 5698c6c38e -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 ebddc4ff3f is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3258552

Change-Id: I4d1500a8ac8dc543fade1661c965bde24f52d6a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:42:30 +00:00
Krzysztof Kosiński
bf1f0fbcce Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial gs101 devices (Pixel 6)
launched with API level 31.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I3e3ef17f4a1d7101bbfdeb47c3072d0ede4af6e9
2024-09-06 22:19:59 +00:00
Xin Li
5698c6c38e Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: I80bb0e53c7af5d5f5b7c342ba8b3da915a124d3c
2024-09-05 17:02:37 -07:00
Ocean Chen
5c249e52ce 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: I9433d73e7ed4bfd5e72a0f8318e959373e76202e
Signed-off-by: Ocean Chen <oceanchen@google.com>
2024-09-05 13:00:16 +00:00
samou
e7603cd7a9 bcl: remove charging debugfs data logging
Flag: EXEMPT refactor
Bug: 362671589
Signed-off-by: samou <samou@google.com>
Change-Id: I389f4318f9fc62039d422e5c909576c0e6d5daf9
2024-09-05 10:02:25 +00:00
carmenyip
0c84b40b00 extended_log: update directory permissions for gs101
Bug: 336638376

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

Change-Id: Id6a76769e84f778e730cfcdffcd6779b5d8c89ce
2024-09-05 02:58:55 +00:00
Ankit Goyal
c38c1cc1a9 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: Iec298886a796f49145cf4400ef2e086a6312d572
2024-08-30 01:29:41 +00:00
Masha Chizhova
dc56b4d57b Define use_hwc2 variable
Bug: 340865092
Change-Id: I5e55034c5e5d03089453c843753af3419026d3cb
Flag: TEST_ONLY
2024-08-29 16:04:27 +00:00
Roy Luo
8d0a51e591 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: Idefd1a5d8154a51792c6cb52ee6d11cbb7f6df78
2024-08-27 23:39:18 +00:00
samou
6c2502279f bcl: revision for kernel6.1
- Migrate dump_gs101.sh to dump_power
- Enable battery_mitigation
- Correct ocp_cpu1 threshold

Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I7e7f155ba7722dc5c24c2795c2840395ed4f9043
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
Betty Zhou
e582d85720 Revert "Enable KUnit testing on raviole userdebug & eng build target."
This reverts commit c5b3375835.

Reason for revert: It's not need anymore for kunit testing

Change-Id: I8606bfb3cc375e97d78ff52cd4fe8b596c86d6fd
Bug: 337797668
2024-08-22 06:49:10 +00:00
Qais Yousef
9adfff45e2 BoardConfig-common.mk: Enable Lazy RCU
And sync other RCU paramters.

Bug: 340860065
Flag: EXEMPT boot time parameters
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Ia41a45341e988cddcfcf850afd8398a7dc1a91fe
2024-08-13 23:49:46 +00:00
Xin Li
9b60e7e840 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 5076337f3b -s ours
am skip reason: Merged-In Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec with SHA-1 45531bd711 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/28710570

Change-Id: I4e1e1ac23b9a8f424020343c4d7c88ce6e057bfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:02:06 +00:00
Xin Li
5076337f3b Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: Ic7c52e1a0b7db76af3857c67f502ba6de97a5825
2024-08-12 17:11:55 +00:00
samou
ad78871644 Remove BCL from thermal
Flag: EXEMPT tuning changes
Bug: 349935208
Change-Id: Id34dc3bb1895c28cf3c3a146ef9fc7a742a73044
Signed-off-by: samou <samou@google.com>
2024-08-12 12:32:21 +00:00
Cyan_Hsieh
44c8f95a60 Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 0da2a72457 am: f18667374f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3212451

Change-Id: If3a455861967ee0531252fc0069b4809c0dd3dc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
f18667374f Add FSTAB_OWNERS and update OWNERS to include Android.bp am: 0da2a72457
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3212451

Change-Id: I555f5fdd633108e2a4dfeea58faf2fb03dea3aff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:02 +00:00
Cyan_Hsieh
0da2a72457 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:bf13fdd5c229e61326dc1cba78c1309a16ac084e)
Merged-In: I8a15eb2401d41ac74988f3a5d8028fbeeb28cc2d
Change-Id: I8a15eb2401d41ac74988f3a5d8028fbeeb28cc2d
2024-08-09 08:33:31 +00:00
Jacky Liu
acf7138e36 Use modules.load for vendor ramdisk modules
vendor_boot.img is no longer built on 6.1 kernel codebase hence
vendor_boot.modules.load no longer exists. We can use modules.load
instead which is same as vendor_boot.modules.load but always exist.

Flag: EXEMPT build file update
Bug: 343042291
Test: build oriole-zvs1-userdebug
      build oriole-trunk_pixel_kernel_61-userdebug
Change-Id: I7e5028ca4cc710367ddc5b161e006b8e7c25de80
2024-08-05 05:06:51 +00:00
Chris Lu
79cb51273a Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: Ied129519d62103ea3f4a4a6bba132d263840ab58
2024-08-02 04:30:10 +00:00
Herbert Xue
e35cb696ca 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: I84e50ffeeec8aea8131cca07827324a2980ed9de
2024-07-26 02:57:15 +00:00
Robert Luo
0de9277226 [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: I78d3ff915ce12a8f4a32c7f5b824a249e0971fe9
2024-07-22 02:51:42 +00:00
Jerry Huang
51cd585c3b gs101: video: change to use c2 "default" AIDL service
Bug: 322920559
Change-Id: Ie9c22d21097bee190f05fa407f38ecd8ea918620
2024-07-18 07:08:49 +00:00
Jörg Wagner
89bd4486e5 Increase the max core index for protected TLS allocations to 4
Pixel 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: O6 atest CtsDeqpTestCases -- --module-arg 'CtsDeqpTestCases:include-filter:dEQP-VK.protected_memory.*'
Flag: EXEMPT bugfix
Change-Id: I9de8d05f9de50c034ef20690a53705fe208fb47f
2024-07-11 12:07:49 +00:00
Krzysztof Kosiński
8244f563e6 Delete PDX sockets for legacy VR services.
Remove irrelevant copy and paste content. None of the gs101
devices ever included these services and these sockets are
not doing anything.

Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I6fdab1e2232f83c0286d5f33773aaa17f9da3f7a
2024-07-11 04:41:53 +00:00
Roy Luo
b75e4b563c [automerger skipped] Use absolute path for udc device am: fd5ebe5436 am: a243c5e651 -s ours
am skip reason: Merged-In Iad74cae0d6ad6887d79d705dc8478f1b44532503 with SHA-1 2e1fd91321 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3165100

Change-Id: I303e3e12e90bb1336a4fda4e76fbedae1f15d06e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 20:12:58 +00:00
Roy Luo
a243c5e651 Use absolute path for udc device am: fd5ebe5436
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3165100

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

Bug: 339241080
Test: tested on gs101
Flag: EXEMPT bugfix
Change-Id: Iad74cae0d6ad6887d79d705dc8478f1b44532503
Merged-In: Iad74cae0d6ad6887d79d705dc8478f1b44532503
2024-07-10 18:13:57 +00:00
Qais Yousef
2340e91ebd init.gs101.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: I87b17dce903762b2c498d3631bf9b7e02cc2ebfe
2024-07-10 11:51:20 +00:00
Jeremy Kemp
7745a679a1 Add Mali OpenCL ICD to PRODUCT_PACKAGES
Bug: 324057328
Test: clpeak
Change-Id: I7b7de856d1bb090ace31d1938e69069e24e79d7f
2024-07-09 10:51:38 +00:00