Commit graph

1565 commits

Author SHA1 Message Date
Treehugger Robot
51096b8699 Merge "tz: Enable userdata partition and nsp chown fix" into main 2023-09-16 08:23:41 +00:00
RD Babiera
fa0f973777 Merge changes from topic "zumapro-dp-userspace" into main
* changes:
  usb: dp: add exynos_drm:dp_enabled toggling
  usb: populate USB aidl hal AltModeData
  Usb: shutdown old displayport poll thread when multiple start up
  Usb: Check for displayport when booting
  Usb: Signal irq_hpd to drm stack
  usb: Fix HAL build warnings related to DisplayPort
  usb: provide usb reference to DisplayPort shutdown thread
  usb: Expose persistent vendor property for USB-C Dp Alt Mode
  Port dp changes to drm sysfs
2023-09-15 21:20:51 +00:00
Quinn Yan
c3a60c38b8 Merge "Add Edgetpu Tachyon service to the device_framework_matrix_product.xml." into main 2023-09-15 19:25:34 +00:00
Treehugger Robot
adac8776b6 Merge "Disable display dimming by default" into main 2023-09-15 01:50:22 +00:00
Donnie Pollitz
c696083030 tz: Enable userdata partition and nsp chown fix
Background:
* ZumaPro+ will be using a dedicated userdata partition

Bug: 300382887
Test: Trusty storage port tests pass
Change-Id: I943a05735858e41ae30f6207fdde7a21eca45351
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-09-14 15:38:09 +02:00
Jack Wu
e5cdef56e4 dumpstate: fix pps-dc logbuffer missing
Bug: 300284266
Test: data is correct in dumpstate
Change-Id: I325ed2acf7e329f599b2792ef2682f7ccc225722
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-14 08:18:14 +00:00
Chris Lu
a1412a2569 Disable display dimming by default
Bug: 286062799
Bug: 286062851
Test: check value of property
Change-Id: I41b7d1d0ccb0c08e23321cd440fbb5148e8857d0
2023-09-14 07:15:00 +00:00
Treehugger Robot
5d09550534 Merge "Cleanup: Remove wait_for_strongbox source code" into main 2023-09-13 06:03:54 +00:00
Treehugger Robot
36f817e9de Merge "Set platform info to zumapro for mali" into main 2023-09-12 23:20:46 +00:00
Ankit Goyal
249d2f9254 Set platform info to zumapro for mali
Bug: 299213317
Change-Id: I72692110b7a13333052409ffc6da090ad205878f
2023-09-12 10:24:20 -07:00
Bethany Barrientos
322393d426 Grant default permissions to PCS for camera connectivity am: ac11a6cebd am: d2e32a192d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24666276

Change-Id: I7d88709a488d0151054b5d553acda4fa6d30e38c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 17:01:54 +00:00
Bethany Barrientos
d2e32a192d Grant default permissions to PCS for camera connectivity am: ac11a6cebd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24666276

Change-Id: Ic8bab3bc1e0bd810e7b6628388dac8ac65007258
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 16:09:37 +00:00
Tommy Chiu
67efd2f690 Cleanup: Remove wait_for_strongbox source code
Bug: None
Test: Build pass
Change-Id: I37edb790ded8122b1cddc0e2f28f55bf041ed11b
2023-09-12 10:25:35 +00:00
RD Babiera
1926e974c3 usb: dp: add exynos_drm:dp_enabled toggling
Test: manual verification on device
Bug: 297286558
Change-Id: If4a6e71bc3ce342af8a0201b4727bdc4666cf8f0
(cherry picked from commit c8abdf6bb7577dd3a6a6e408eb7968c1cf2dd0de)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:22:13 +00:00
RD Babiera
2323e69cf4 usb: populate USB aidl hal AltModeData
Populates AltModeData within PortStatus with DisplayPort
Alt Mode statuses for pin assignment, hpd, link training
status, and port partner capability.

Test: manual test on device
Bug: 297286558
Change-Id: I52a56f7090ed6dbef6211f19d6350cecac58e4fa
(cherry picked from commit c2c37bf3a81e4138bd2c0e82275d363dce2220ec)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:22:05 +00:00
RD Babiera
d14e37d77d Usb: shutdown old displayport poll thread when multiple start up
Better enforces that only one DisplayPort poll thread should be
active at once. If a new call to setup is made from additional
bind uevents before a disconnect occurs, tells the old thread
to shutdown and awaits signaling before a new worker thread spins
up.

Test: manual testing on device
Bug: 286593610
Change-Id: I1707970c500915fd4abb161d0b3a424bbb2bddca
(cherrypicked from commit 78f6294e381ca4df70b28d1d0f07aff77b73574c)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:22:01 +00:00
Badhri Jagan Sridharan
8e5daebb44 Usb: Check for displayport when booting
When booting check whether displayport driver has been probed and
signal hpd events as needed. Pin config and orientation needs to
be queried before signalling hpd.

Test: Manual verification on device
Bug: 297286558
Change-Id: Iddb0921b363e49c41c0f6f635887b4daf4d19561
(cherry picked from commit 574d046bd7c3a2d81f48caf3881a61ad0d283e9a)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:57 +00:00
Badhri Jagan Sridharan
9df9887bd1 Usb: Signal irq_hpd to drm stack
Monitor typec stack for irq_hpd events and signal irq_hpd when the
irq_hpd counter value read is not the same as the previously cached
value.

Test: Manual verification on device
Bug: 297286558
Change-Id: Id4a72afcf85550cabbc2f9469bb0ccb92cd02ad2
(cherry picked from commit 412f31194c8b169806a2c0df85ef6bf69cf7af0b)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:53 +00:00
RD Babiera
667ff0cf59 usb: Fix HAL build warnings related to DisplayPort
Adds proper error handling go-to points to remove warnings arising
from uninitialized variables, and removes unused
queryDisplayPortStatus() method.

Test: manual test on device, verify compiler warnings
Bug: 297286558
Change-Id: I54f7b710a0805b32c894d741e473d64814200134
(cherry picked from commit 4e29924d3d5ef1e9e13df46bf249f91593c73946)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:50 +00:00
RD Babiera
94dac0240c usb: provide usb reference to DisplayPort shutdown thread
Passes usb object reference to thread creation of
mDisplayPortShutdownHelper so that it can properly call DisplayPort
shutdown method instead of calling on NULL reference.

Test: manual test on device
Bug: 297286558
Change-Id: Ie4dabb5e3ae9065f57cc0fbf2593fbe399097472
(cherry picked from commit cc50d9950807280653973a0dd9cd3b22e323bcd5)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:43 +00:00
RD Babiera
652ddfaf39 usb: Expose persistent vendor property for USB-C Dp Alt Mode
The change exposes persist.vendor.usb.displayport.enabled
to enable/disable USB-C Dp Alt Mode i.e. DisplayPort over USB-C.

By default persist.vendor.usb.displayport.enabled is to 0 in
user builds and 1 in all other build variants.

Test: manual verification on device
Bug: 297286558
Change-Id: I596d3af52f2a813f5f78c4f9b77b6ae3dd8a161b
(cherry picked from commit 2173dc37da793599239a974d8f7bc40b2bf1ee80)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-11 21:21:13 +00:00
Bethany Barrientos
ac11a6cebd Grant default permissions to PCS for camera connectivity
- android.permission.POST_NOTIFICATIONS
- android.permission.BLUETOOTH_CONNECT
- android.permission.BLUETOOTH_SCAN

Test: make and install.
Bug: 287069860
Change-Id: Iaeea489af9e1063352e4ed9b0031346040d2919c
2023-09-11 13:51:48 -05:00
qinyiyan
2a3fe13b11 Add Edgetpu Tachyon service to the device_framework_matrix_product.xml.
Bug: 299932913
Change-Id: Iec3d68374fa2d099079eb962e84f50d2750513f5
2023-09-11 10:12:32 -07:00
Klines Jiang
f9144db260 [SELinux] Add gyotaku_app doamin to Pixel 2023.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: Ie996586ea19ce1b0b700a0192b613d2769dd0291
Merged-In: Ie996586ea19ce1b0b700a0192b613d2769dd0291
2023-09-11 09:21:24 +00:00
RD Babiera
fe0c40802e Port dp changes to drm sysfs
Write pin assignment, hpd, and orientation from type-c class to
drmdp platform device attributes using epoll when displayport
driver binds to device, and determine whether or not to shut down
epoll on displayport driver change uevents.

Test: manual testing with form factor device
Bug: 297286558
(cherry picked from commit de0fc9d2201685b5eb4c3905e652911b192a542f)
Change-Id: Iec9fc76166481a4611bb2fc023aea044b497f2c0
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-08 22:46:43 +00:00
Florian Mayer
01a8b2ec59 Merge "Do not default to SYNC mode on zumapro" into main 2023-09-08 22:01:24 +00:00
Treehugger Robot
242eece701 Merge "Revert "Disable confirmationui to fix build."" into udc-qpr-dev am: 58fa66637d am: f02841bb68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24685880

Change-Id: Id378a2fe38ea3274af13ee8c1bea9a2789a21eb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 09:22:02 +00:00
Treehugger Robot
f02841bb68 Merge "Revert "Disable confirmationui to fix build."" into udc-qpr-dev am: 58fa66637d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24685880

Change-Id: Ib359803a658dcea554a9b0eb46b4a0721ffa0386
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 08:29:27 +00:00
Treehugger Robot
58fa66637d Merge "Revert "Disable confirmationui to fix build."" into udc-qpr-dev 2023-09-08 08:00:03 +00:00
Mike McTernan
73258ad104 Revert "Disable confirmationui to fix build."
This reverts commit 6aac6d1df9.

Reason for revert: breaks Android Protected Confirmation / TUI on ZumaPro

Bug: 299047458
Test: trusty-ut-ctrl com.android.trusty.secure_fb.test
Change-Id: I6ee8bf235c3442f9e5dadef6e8394b5bfb809094
2023-09-08 06:19:02 +00:00
Treehugger Robot
5609b66819 Merge "dumpstate: fix incorrect maxfg_secondary path" into main 2023-09-08 01:59:29 +00:00
Florian Mayer
99f3812f3d Do not default to SYNC mode on zumapro
Change-Id: Ib3838e3470dd38a81a4de2b358cf3a80754fdee6
2023-09-08 01:24:11 +00:00
Yong Zhang
600b6e04ab Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev am: 0137f09e58 am: c0e3e93a3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24679216

Change-Id: I359666c19a0909d6e41cf4b233e3eba63181904c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 20:32:46 +00:00
Yong Zhang
c0e3e93a3f Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev am: 0137f09e58
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24679216

Change-Id: I0db958a3767e239650aedc2b853e09f93687a01d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 19:43:43 +00:00
Yong Zhang
0137f09e58 Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev 2023-09-07 17:50:03 +00:00
Jack Wu
ad27baa842 dumpstate: fix incorrect maxfg_secondary path
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: Ie304342def837b580b07ebdde9ce042fba897b9b
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:09:00 +08:00
Jorim Jaggi
a4f94adb0c Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: b/299131033

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

Change-Id: I0cb42b6e402e741ec22dcb1667e070081987584d
2023-09-07 11:09:12 +00:00
Klines Jiang
701d590713 [SELinux] Add gyotaku_app doamin to Pixel 2023.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: Ie996586ea19ce1b0b700a0192b613d2769dd0291
2023-09-07 07:50:40 +00:00
Scott Wiest
9044621b72 Adding camera to the default permissions for Pixel Camera Services am: 31bf2812bc am: 31463317ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24669634

Change-Id: Ib6f7cd919a509f6ff751cf9a41f926acacb268e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 02:54:04 +00:00
Scott Wiest
31463317ed Adding camera to the default permissions for Pixel Camera Services am: 31bf2812bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24669634

Change-Id: If9bd687e06e8f437a96eaf814c245b6d9a67510e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 02:01:37 +00:00
Scott Wiest
31bf2812bc Adding camera to the default permissions for Pixel Camera Services
Test: m
Bug: 298098187
Change-Id: I6cf8dc51bf37c4c0c0ab9a58f95ecb9ca1a9de0e
2023-09-07 00:39:29 +00:00
Treehugger Robot
445bf10428 Merge "conf: Add the haptics init rc for the same platform" into main 2023-09-06 05:59:54 +00:00
Treehugger Robot
d78fc4512d Merge "Remove IRilExt on modem-less projects" into main 2023-09-06 01:42:58 +00:00
Jason Chiu
aef55a53db Merge "fix configuration for SWIFTSHADER" into main 2023-09-05 23:15:04 +00:00
Taeyang Choi
e96fad89d1 fix configuration for SWIFTSHADER
Bug: 295365113
Change-Id: I5f48147f1df5bb76dfd2c3bff686fd9d4cb565a1
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Taeyang Choi <taeyang.choi@samsung.com>
2023-09-05 22:43:06 +00:00
Edmond Chung
c6ccf654cb Camera: Remove unused soong variable kernel_version
Fix: 299156419
Test: Build
Change-Id: I9c9a0556e2f512d6087bbc03000bf88aff0cd229
2023-09-05 13:26:06 -07:00
Tai Kuo
993192a58d conf: Add the haptics init rc for the same platform
Bug: 285343932
Test: No permission error logs on the HAL init.
Change-Id: I41cf0e9bb105e05bc269e404af3878379dd649f0
2023-09-05 19:22:48 +08:00
Treehugger Robot
680322aaef Merge "init: disable dock-defend in charger mode" into main 2023-09-05 11:16:33 +00:00
Arthur Hung
76ed54383b Enable small dirty detection for variable refresh rate am: c3799c397b am: 0fdc01474d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24427087

Change-Id: I8a8682606fd786caf3e4ef36f92b1c567421da30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 07:08:06 +00:00
Arthur Hung
0fdc01474d Enable small dirty detection for variable refresh rate am: c3799c397b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24427087

Change-Id: I2bb879384a5e202b0d3f10ee637a274bf3295ba2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 06:14:02 +00:00