Quinn Yan
f447e01b61
Merge "Update device.mk and .rc for TPU(Rio/edgetpu-soc)."
2022-07-13 17:48:57 +00:00
qinyiyan
4ab329ed98
Update device.mk and .rc for TPU(Rio/edgetpu-soc).
...
bug: 236041918
Change-Id: I3e0294e2e8378b9a12fa9c3b9395b0b94472bc71
2022-07-12 15:33:16 -07:00
qinyiyan
b11f8d2103
Add edgetpu contexts and sepolicies.
...
bug: 236041918
Change-Id: Ie3d2833c3c297dad7304dca307778d2f6a155180
2022-07-12 15:24:20 -07:00
Ivan Zaitsev
b947d56804
Merge "[Bringup] Disable EdgeTPU related services until the driver is ready."
2022-07-07 22:46:29 +00:00
Jaegeuk Kim
a4281c5eb0
Add edgetpu_device
...
Fix the build error.
vendor/google/biometrics/face/tuscany_new/assets/sepolicy/hal_face_default.te:12:ERROR 'unknown type edgetpu_device' at token ';' on line 81526:
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I527c0d33e949a42131c3f35d09304de07afeb39c
2022-07-07 14:49:13 -07:00
TreeHugger Robot
6de977c9ba
Merge "HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te"
2022-07-06 01:24:09 +00:00
Ruofei Ma
e8ae2061fb
Access permission for /dev/bigwave
...
Bug: 195687338
Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I7a3e591eae75eba039e327e50f8225650c32a4ef
2022-07-05 22:28:51 +00:00
Ruofei Ma
f85ab24233
Merge "Add bigwave sepolicy"
2022-07-05 22:25:05 +00:00
Ruofei Ma
1afbff1320
Add bigwave sepolicy
...
Bug: 195687338
Change-Id: I8dae1b62b0516e173381893af3c90ae24b6b9b87
2022-07-05 22:24:35 +00:00
Denny cy Lee
d05407421d
HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te
...
Bug: 208909060
Test: not avc log for hardware_info_app
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I0678da7b9495e87130553fd967fc26015c3161e4
2022-07-04 03:18:06 +00:00
TreeHugger Robot
8619c4701a
Merge "changes to bring up homescreen on Ripcurrent"
2022-07-03 23:52:40 +00:00
Hyunki00.koo
96cc5bffd8
changes to bring up homescreen on Ripcurrent
...
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I492063c4b0c2c1ba4cebb659014edd731b8b10c6
2022-07-01 16:46:27 -07:00
Richard Hsu
38dc0c2182
[Bringup] Disable EdgeTPU related services until the driver is ready.
...
Disables:
EdgeTPU App Service
EdgeTPU Vendor Service
EdgeTPU Logging Service
DarwiNN NNAPI HAL
EdgeTPU Firmware
The edgetpu_config will be left as janeiro. Will update to RIO when ready.
Bug: 237719390
Test:
Tried building for rip current but has other unrelated build failure.
Change-Id: I1d82009a55ae609dd82f4adf4ddcaaa061c9b510
2022-07-01 13:45:18 -07:00
Jaegeuk Kim
1f7770e593
Fix missing fstab rule for SW encryption
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I5ec4364d3c4d53bcf4f675291e04acd9071e0dcb
2022-07-01 11:24:30 -07:00
Hyunki00.koo
47c4e6c965
edgetpu/file_contexts
...
Signed-off-by: Hyunki00.koo <hyunki00.koo@samsung.com>
Change-Id: I6dfa880a0d4ceb80a54de24e3817b6c880fea7ba
2022-06-30 19:59:41 -07:00
Jaegeuk Kim
776a3b6586
Use SW-based FBE
...
Should jump to use HW encryption
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I1e9f5f26d7ba368adf20aa9bd0b1345a932a2d27
2022-06-30 17:29:17 -07:00
Kenny Root
c301a51973
Disable GSC and Trusty for bringup
...
The GSC and Trusty images aren't currently flashed or available.
Test: Boot with changes
Signed-off-by: Kenny Root <kroot@google.com>
Change-Id: Ic8325ed6e0a25950a265e6c078ea3b791ede263b
2022-06-29 18:49:59 -07:00
Ivan Zaitsev
39439fa068
Merge "switch to swiftshaders for bring up"
2022-06-29 19:04:42 +00:00
Hyunki Koo
29d767172e
switch to swiftshaders for bring up
...
Stay with SW rendering until GPU is working.
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I8db4c1ced46aba612ac5a1728374279bf4ad8831
2022-06-29 11:28:00 -07:00
Daniel Mentz
824ac7faef
Merge "Revert "Enable load kernel modules in parallel""
2022-06-29 03:56:00 +00:00
Daniel Mentz
4c3d39677e
Revert "Enable load kernel modules in parallel"
...
Bug: 237455007
Change-Id: I20adc617efcba1eb81577d26a8f951308f97f479
2022-06-28 17:52:03 -07:00
Siddharth Kapoor
c60d44cca3
gralloc: Deprecate allocator 4.0 in favor of AIDL V1
...
Bug: 237042941
Change-Id: I8c0a0972fcd4e68897d04e14f69e1664083f1f3f
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-06-28 11:06:37 -07:00
Siddharth Kapoor
31077b6882
gpu: update gpu firmware target name
...
Bug: 237319349
Test: GPU firmware can build correctly into vendor image
Change-Id: Ida3dc743ce11190ca08c467b4bced3b8dd9df3c0
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-06-27 15:49:46 -07:00
Jaegeuk Kim
39e4495509
Use ext4 for RO and f2fs w/o HW encryption
...
TODO: enable inline encryption later.
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8557afebebfacf1b04a68e7310837c0ef950b843
2022-06-24 11:49:53 -07:00
Jaegeuk Kim
5fe10163cb
Update ufs path
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I58fd3772ce87040df334d7d16bc5c0e4e8d0c392
2022-06-24 10:37:56 -07:00
Jaegeuk Kim
c36c283704
Update ufs path
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8ea66435e131c7718ea5d2740fa8165d452f68f9
2022-06-24 00:03:00 -07:00
Darren Hsu
bfc6563cca
powerstats: set AoC clock for timestamp calculations
...
Bug: 233923713
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I05639346ef89eb9540518e4d28f336634e293d48
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-17 20:55:04 +08:00
Nucca Chen
7ad5cc4d73
Remove clatd tracking_denial
...
Bug: 210363983
Change-Id: I5ee6763d73a82cc4ffe21270544eb68810be626c
Test: boot with no relevant error log
2022-06-13 07:19:36 +00:00
Lucas Wei
bac1bc53ac
Enable vendor_kernel_boot partition for zuma
...
- Disable dlkm ramdisk fragment from vendor_boot
- Enable vendor_kernel_boot and OTA support
- Set partition size to 64MB
Bug: 234181909
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: If56483b31831b0cf161a9f78f228ef43620efaf5
2022-06-09 17:17:30 +08:00
Stephane Lee
39997d722c
Add device-specific support for GoogleBattery AIDL V1
...
Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: Iaafb463ce077a8cefe7a612ecf73fbcf8495bd79
2022-06-02 14:59:45 -07:00
Aaron Ding
cbd9d0184e
fix FCM error by updating IDisplay HAL to V6
...
Bug: 229340586
Bug: 228113713
Change-Id: Ia00b35237a2ff0b72b1821f356e5844363d8d4f9
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-06-02 01:16:57 +08:00
Aaron Ding
05f824b8bb
fix FCM error by updating IDisplay HAL to V5
...
Bug: 229340586
Bug: 232963473
Change-Id: Ia58a146703874c68d8aad936be9b24e1bbbd9fe8
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-05-27 14:24:09 +00:00
Jaegeuk Kim
28cec159fb
Allow sysfs_devices_block to f2fs-tools
...
The fsck.f2fs checks the sysfs entries of block devices to get disk
information. Note that, the block device entries are device-specific.
1. fsck.f2fs
avc: denied { search } for comm="fsck.f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="fsck.f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda7/partition" dev="sysfs" ino=60672 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0
2. mkfs.f2fs
avc: denied { search } for comm="make_f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="make_f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda8/partition" dev="sysfs" ino=61046 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0
Bug: 172377740
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I409feec84565f965baa96b06a5b08bcfc1a8db02
2022-05-24 17:46:40 -07:00
Ankit Goyal
b2882a97af
gralloc: Remove conditional namespace for pixel gralloc
...
Bug: 207450311
Test: Boot to home on R4
Change-Id: I5424575593c36c7979f3df17a47e42880723062e
2022-05-18 15:29:40 -07:00
Aaron Ding
3d63c9d44e
disable BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE
...
blocklist is not needed for ripcurrent yet
Bug: 229340586
Change-Id: I4f0042b82e0ec4b04e858eec0d80e079bce4148a
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-05-16 18:52:38 +08:00
Sarah Chin
a35a5f464b
Remove config_tcp_buffers
...
Moved to default values
Test: build
Bug: 222323543
Change-Id: I3041b271b3d66fdd0967dcdeece0ceacbdf6ced2
2022-05-12 01:15:38 -07:00
Tommy Kardach
f4bb589360
Enable LWIS fences for P22 devices
...
Bug: 229015502
Bug: 229024993
Test: Presubmit Tests
Change-Id: I70c244021308262ff9dd9781c58e16f1a3fba91d
2022-05-05 22:38:04 +00:00
Ivan Zaitsev
b4558f75bd
zuma: Fix zuma-zebu build with swiftshader
...
Build system was complaining about ro.hardware.vulkan
being assigned to different values(pastel and mali)
if swiftshader is active for zuma-zebu device.
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I7f6c8223b9e83e0365ffce36d03edb88bc06499e
2022-04-27 08:57:59 -07:00
Aaron Ding
3f3c678ff3
Enable ALLOW_MISSING_DEPENDENCIES
...
Bug: 229340586
Change-Id: I192c6df73808f932b3385a21596af93639b69222
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:21 +08:00
Aaron Ding
6b9a1e0d39
Enable ARMNN_COMPUTE_CL_ENABLE
...
Bug: 229340586
Change-Id: Ic0746f6e2e2d8108c4a9bd2d603fad8a93938bbf
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:20 +08:00
Aaron Ding
7ef21cb046
Enable mali builds
...
Bug 229340586
Change-Id: I0ade4222d91eadf26ef2cc592ecbc93225080c3a
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:20 +08:00
Aaron Ding
49b1bde678
zuma: Enable pixel_mali_soc config var
...
Bug: 229340586
Change-Id: I1ccb1569b21025e4d70a50cc0295767fee57e81d
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:20 +08:00
Aaron Ding
c5512e248f
Enable camera builds
...
Bug: 229340586
Change-Id: Ib08750b89d7ad0a61cf00a650db75fb68cf027ca
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:20 +08:00
Aaron Ding
e7fa12e468
Revert "powerstats: set time limit as timeout for AoC"
...
This reverts commit e630cfaaa9
.
Reason for revert: align with ag/17935513 and ag/17935512
Change-Id: Ie2fff80785a0c7acee75d30cac9bf3b4f31699d2
2022-04-25 06:53:59 +00:00
Darren Hsu
e630cfaaa9
powerstats: set time limit as timeout for AoC
...
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I725c00745890350f4227fc9408d926abc783ea66
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-04-22 11:16:17 +08:00
Jason Macnak
d14bd06f34
Remove sysfs_gpu type definition
...
... as it has moved to system/sepolicy.
Bug: b/161819018
Test: presubmit
Change-Id: I107f92617bea56590b5af351341cc1c3b2844360
2022-04-19 18:03:57 +08:00
Aaron Ding
7b5994afd8
Create device Ripcurrent on Zuma platform
...
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent
Bug: 229340586
Change-Id: If94759d6d555f3f9c8ee80331a31ef85082f03c7
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 14:11:17 +08:00
Aaron Ding
e47b3d9991
Branch zuma from gs201
...
Branch zuma from gs201 sha1 63751751aa91275b083797278d638078b3a0bf7a
cp/pantah/ripcurrent
cp/gs201/zuma
Bug: 229340586
Change-Id: Ie692d8dbbf0fc4d3b376dc9fe3e930bd3955a88e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 14:10:58 +08:00
Aaron Ding
7444ee1555
Disable camera builds
...
Bug: 229340586
Change-Id: Iaa8c6a4a6c62df9786b3da73e4b4f0ec75a60c10
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 13:05:52 +08:00
Aaron Ding
28c30c0a6e
Disalbe mali builds
...
Bug: 229340586
Change-Id: I883ea7b9f64edd0fd04e27a2c25307abea75809b
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 13:03:41 +08:00