Commit Graph

615 Commits

Author SHA1 Message Date
Michael Bestas
95a7513af6 gs101: Drop kernel copy
We are using prebuilt boot.img. If we weren't using it, we would be
using the vendor/lineage kernel.mk rules to copy the kernel.

Change-Id: Ib8ab9416b96900f008dbce9d9f41f298a1b05f30
2025-08-28 16:27:45 +03:00
Michael Bestas
64760d59eb gs101: Bump SPL to 2025-08-05
Change-Id: I079629bc2b5bb728dac7fdab902ce53ffa336810
2025-08-13 03:35:15 +00:00
Michael Bestas
aaf7de8484 gs101: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:13:12 +03:00
Michael Bestas
bfb257ca9a gs101: Remove SystemUI dexpreopt speed compile flags
They are already defined in vendor

Change-Id: I27097e32091d0066fc3da1a1b786e5a6ae11bc86
2025-06-26 10:13:12 +03:00
Michael Bestas
9e4f6f83b6 gs101: Include missing NFC sepolicy
Change-Id: Ic93f74e25694f19cfc23a86203c17e6f1d9be0ea
2025-06-26 10:13:12 +03:00
Michael Bestas
664fd462d1 gs101: Include missing bt dump sepolicy
Change-Id: I7e16eba76b87db4c8fc45d9401ce4f2c143b6478
2025-06-26 10:13:11 +03:00
Michael Bestas
61f97072ca gs101: Move wfc-pkt-router to gs-common
Change-Id: I922b28e1bd8dc0baece89428c0032eabde5c13dc
2025-06-26 10:13:11 +03:00
Michael Bestas
23c4b461c1 gs101: Remove userdebug/eng configuration
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-26 10:13:11 +03:00
Michael Bestas
9ab8c53f67 gs101: Bump SPL to 2025-06-05
Change-Id: I8d3f5a9479d0fddd6fa79baa3e573f00ad125e9c
2025-06-23 06:18:39 +03:00
Michael Bestas
a7ada3bcea Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eE0jAJ9LUlDeVJV2JVbzsyWRdWRRhpFGkwCfbEbrFRYUgH7HHshxtjQlrRTLJ/U=
# =bAod
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Piotr Klasa (4) and others
# Via Android Build Coastguard Worker (9) and others
* tag 'aml_tz6_351400020': (21 commits)
  Enable usb state update via udc sysfs
  usb: fix usb state path in host mode
  usb: migrate UsbDataSessionMonitor to libpixelusb
  Use 2025-03-01 deqp level for GLES
  Use 2025-03-01 deqp levels for Vulkan
  Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
  Use 2025-03-01 deqp levels for GLES and Vulkan
  move common init perf settings to gs_common
  Revert "move common init perf settings to gs_common"
  move common init perf settings to gs_common
  Enable open source multi akm for specific Broadcom project
  pixelstats: gs101: remove firmware update path
  init-display-sh: Allow writing to kmsg
  Remove ResetUclamp profiles
  Update IDisplay to V13-V14
  display-dump: make display dump project-specific
  Refactor: Use googleDeviceConfig namespace in gs101 BoardConfig
  dump_power: add battery caretaker dump into bugreport
  Set initial value for foreground_window group
  Move all vendor_sched parameters and permissions to init.pixel.perf.rc
  ...

Change-Id: I296bc05a0b9bc48ee3ca478f305e7ab76f5941ee
2025-06-23 05:21:04 +03:00
Chirayu Desai
04140bb2f4 Freeze SPL to 2025-05-05
Change-Id: I3dfa3c342582d14c1b5b89061c8a58a72dc6cbcd
2025-06-03 19:57:53 +00:00
Michael Bestas
1382844ae3 Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo6wAKCRDorT+BmrEO
# eAiMAJwKoTVsPgds031Rdi11ZDZR0sHrUwCfQiM0q3/561pqrsmmLP9YPULFyzc=
# =YB0/
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:15 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Herbert Xue (3) and others
# Via Android Build Coastguard Worker (30) and others
* tag 'android-15.0.0_r20': (30 commits)
  dump_power: add battery caretaker dump into bugreport
  update health HAL dependency
  Add sched qos support
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
  Clean up unnecessary data_connection_5g_plus overlay
  init: gs101: move sched rate limit to late init
  Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
  Disable Wifi BugReport for subsystem restart
  init: make pmu_poll_enable node readable
  Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
  Switch to using gs101 instead of valhall for GPU UMD
  Update ldaf sensor device filename
  dump_power: gs101: correct dump path
  Move video_codec soong config variables into board config
  dumpstate: gs101: fix dump path
  Revert "Add IGoodixFingerprintDaemon aidl interface"
  Add IGoodixFingerprintDaemon aidl interface
  Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
  Add a soong config variable for CitadelProvision
  ...

Change-Id: Id9e92997364278af84bc79ca08631451f93c2123
2025-03-09 11:06:40 +02:00
Masha Chizhova
b70d478bfb Use 2025-03-01 deqp level for GLES
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: I474efd47391012424cba1e3e3549da00b23a4753
2025-02-03 11:24:38 +00:00
Masha Chizhova
9b7a38fb7b Use 2025-03-01 deqp levels for Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: Ib63b918fd1c67d4bfd751624f435d8a02798c2ac
2025-01-31 10:54:31 +00:00
Priyanka Advani (xWF)
2306f2cd7f Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
Revert submission 31488081-deqp-2025-03-01

Reason for revert: Droidmonitor created revert due to b/393355394. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:31488081-deqp-2025-03-01

Change-Id: I054aaf0583ab9d4976514ac46917b661a494e186
2025-01-30 10:53:08 -08:00
Masha Chizhova
ada24418c9 Use 2025-03-01 deqp levels for GLES and Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: Ib67709eee81a5519c3f0c0b42b4625472f54a881
2025-01-29 18:21:09 +00:00
Hung-Yeh Lee
1c69abb60d display-dump: make display dump project-specific
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7eefbaad93206fb249f26811398f756dabac7bea
2024-12-29 18:31:41 -08:00
Michael Bestas
36437719d2 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eGa9AJ9S393zD4Z4CQI9oOclVnRfCsHaLgCfbXxKi0MvtDq9g45UD8Ky0b+lJWU=
# =4D5T
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2484 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Krzysztof Kosiński (3) and others
# Via Android Build Coastguard Worker (31) and others
* tag 'android-15.0.0_r6': (30 commits)
  Delete TARGET_CPU_VARIANT_RUNTIME.
  Add input event profile to mitigate input latency of input threads
  gs101: avoid vector<const T>
  Delete PRODUCT_FULL_TREBLE_OVERRIDE.
  Switch from the BFQ to the mq-deadline I/O scheduler
  bcl: remove charging debugfs data logging
  extended_log: update directory permissions for gs101
  Delete mapper4 manifest
  Define use_hwc2 variable
  usb: correct sys.usb.controller sysprop
  bcl: revision for kernel6.1
  Revert "Enable KUnit testing on raviole userdebug & eng build target."
  BoardConfig-common.mk: Enable Lazy RCU
  Remove BCL from thermal
  Add FSTAB_OWNERS and update OWNERS to include Android.bp
  Use modules.load for vendor ramdisk modules
  Upgrade IDisplay to V13
  Add soong config variable for PowerAnomalySitril
  [Pixel RR] Apply reviewed default permissions
  gs101: video: change to use c2 "default" AIDL service
  ...

 Conflicts:
	BoardConfig-common.mk
	dumpstate/dump_gs101.sh

Change-Id: I765d41354f48b0ebd60411935d591da961e9167c
2024-12-11 03:57:49 +02:00
Vamsidhar reddy Gaddam
a32d414284 Switch to using gs101 instead of valhall for GPU UMD
Preparing for deviation of gs101 UMD from other devices.

This change has no on-device functional behavior impact. The change only picks
the UMD source from a new location, the actual driver should be the same
as earlier.

Flag: EXEMPT for switching where the UMD source is picked up.
Bug: 360830887
Test: Local build
Change-Id: I033c7553c94bed67fa6b6fc2d407b48e8b6d1a3e
2024-11-18 17:40:31 +00:00
Ethan Chen
30885811ec Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:01:11 +03:00
Neel Chauhan
899e4a029b Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
raviole/bluejay.

This reverts commit 2bfa6d3ba0.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 05:01:10 +03:00
Jim Tang
e471d73857 Relocate modem_svc_sit to proper places
Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: I526fa249612a18324bbdd9d4105d53519c23e075
2024-10-07 08:45:10 +00:00
Brian Norris
164d01e0d4 gs101: Copy insmod configs from kernel to vendor_dlkm
We're going to transition to using the kernel copy, not the HLOS copy.

Bug: 369686096
Test: build, flash, check /vendor_dlkm/etc/ (may or may not exist,
      depending on kernel contents)
Flag: build.RELEASE_KERNEL_BLUEJAY_DIR
Flag: build.RELEASE_KERNEL_ORIOLE_DIR
Flag: build.RELEASE_KERNEL_RAVEN_DIR
Change-Id: I40649b59dc0e18e5a9dc160e58815929a7150226
2024-10-04 18:37:23 +00:00
Nishant Panwar
583bb0245b Set dexpreopt and dexopt filter for SystemUI
Bug: 271887637
Test: Built and flashed on local device
Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE
Change-Id: Idafe8f8e72a7b50bd3d0baea8b736dd853943a09
2024-09-30 04:40:41 +00:00
Michael Bestas
5865285289 Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-09-29 19:37:13 +03:00
mydongistiny
6bf56e5e85 gs101: Use Google's wifi_ext service
* Use vendor.google.wifi_ext@1.0-service
  that is in the vendor partition instead
  of the AOSP WiFi service.

Change-Id: Ia0fff6ffc532cc6b5e41f8ac242d00e64627cee8
2024-09-29 19:37:11 +03:00
Zhengyuan Cui
5734db5acc Change any use case of folder name apis to tachyon_apis to avoid api review
Bug: 364390678

Change-Id: I40cc4d0d45be69c52c6fc17723c4535504476d47
Flag: EXEMPT refactor
2024-09-26 21:00:49 +00: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
Masha Chizhova
dc56b4d57b Define use_hwc2 variable
Bug: 340865092
Change-Id: I5e55034c5e5d03089453c843753af3419026d3cb
Flag: TEST_ONLY
2024-08-29 16:04:27 +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
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
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
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
Mike McTernan
966663c7fa APC/TUI: remove support for APC
Flag: EXEMPT build file change
Bug: 351151445
Test: m && test on a device
Change-Id: I845133b2057dbc43487155a44b22a8c2dc9489bc
2024-07-04 14:55:12 +00:00
liangjlee
ebddc4ff3f gs101: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b58898aee6694762f57077bac5626f7baa32a46)
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
2024-06-28 23:08:21 +00:00
liangjlee
7b58898aee gs101: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Change-Id: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Signed-off-by: liangjlee <liangjlee@google.com>
2024-06-27 02:11:20 +08:00
chenkris
6f6ad28270 gs101: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I5a3d508592e9fed10e429d57c6c7068e0ce0d918
2024-06-12 04:39:27 +00:00
Jim Tang
3af7f6c818 Make SUPPORT_MULTI_SIM recognizable in bp am: f34142e084 am: c9504aa1a6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3115519

Change-Id: Ice689a458558bf1cfc8dbdbf4d76101d76d26a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00
Jim Tang
c9504aa1a6 Make SUPPORT_MULTI_SIM recognizable in bp am: f34142e084
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3115519

Change-Id: Ie9a88d4f5265538e22b72382d042ecfe603f12ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:16:02 +00:00
Jim Tang
f34142e084 Make SUPPORT_MULTI_SIM recognizable in bp
This commit establishes a soong config variable `sim_count` for
easier converting Android.mk to Android.bp when dealing with multiple
SIMs.

Bug: 343823190
Test: presubmit
Change-Id: I8226003df3d9f669df6e2af12310ad73e5786a74
2024-06-06 14:58:28 +08:00
Jörg Wagner
64a2022282 Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: Ia9691ab42c7435bc2c4d5fb56bce9665f365cbd3
2024-05-14 08:55:03 +00:00
Xin Li
df949b6d9a Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I4ef71192ad2b2717c515164bd65463759320b32a
Change-Id: I92c47a5388ba62c9f9395553dbb65acb07ad525b
2024-05-06 12:09:15 -07:00
Treehugger Robot
cc53a465df Merge "Update USES_LASSEN_MODEM soong config settings for aosp projects." into main am: 1ba83c9b09 am: 700ae2e395
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3039355

Change-Id: I8c500c975ae717f1b4ecd4493da112f3f82a6f17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 09:59:33 +00:00
Herbert Xue
2c4ada3a40 Update USES_LASSEN_MODEM soong config settings for aosp projects.
Add the flag "use_lassen_modem" for bp to do the same checking like
"USES_LASSEN_MODEM" in mk.

Bug: 330654744
Test: 1. lunch aosp_cheetah-trunk_staging-userdebug
      2. m RilConfigService
Change-Id: Ic277823f330794f6ceff6d3ccc6a96bb75e82b94
2024-04-29 16:24:53 +08:00
Thomas Girardier
e20c4f7f8d Revert "[Bluetooth] Disable BT auto on feature"
Revert submission 26919210-BTAUTOOFF4389

Reason for revert: Auto On has been approved for 24Q3

Reverted changes: /q/submissionid:26919210-BTAUTOOFF4389

Change-Id: I7e817f7003ba96486791b87a6934dfd845244d17
2024-04-26 04:02:50 +00:00
SaiChand Duppala
8796579a5f Disable dumpstate strict-run flag in gs101
The change disables the dumpstate strict-run flag in gs101 devices, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 330400782

Test: Booted a gs101 device with the change. Then manually thermal throttled the device and captured bugreports. In some tests Incident report took a lot more more than 20s, and in all these cases it was succesfully captured.
Change-Id: I8c4ee4e4412c517822776a9b10bbdad7da1c1213
2024-04-25 01:11:50 +00:00
Sungtak Lee
1dfdc56738 Reapply "Enable AIDL media.c2"
This reverts commit c8575dabaa.

Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I9c7cc5e03fe35af1a69f114b84be97087b3ce602
2024-04-23 08:37:07 +00:00
Priyanka Advani
c8575dabaa Revert "Enable AIDL media.c2"
Revert submission 26384060-c2aidl-pixel-enable

Reason for revert: Culprit for b/335892284. Will be verifying through ABTD for confirmation and before submitting the revert.

Reverted changes: /q/submissionid:26384060-c2aidl-pixel-enable

Change-Id: I2f3473c028953db80791f8c2d4ff274379333fcd
2024-04-19 20:44:22 +00:00
Wonsik Kim
44d7a91524 Enable AIDL media.c2
Bug: 321808716
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default
Test: adb shell dumpsys android.hardware.media.c2.IComponentStore/default1
Change-Id: I1285da3e7a81570effa822d17e34d07737c91a72
2024-04-19 19:09:49 +00:00