4 Commits

Author SHA1 Message Date
feiyuchen
0ea3b6ccd1 Allow edgetpu_tachyon_service to call mlock()
Tachyon AIDL service is the new Darwinn runtime v3. It needs mlock capability to support the GenAI effort, allowing file backed large models to be mlocked, satisfying the memory accounting on Android, similar to what we just did for edgetpu_app_service ag/26481028

Bug: 337949682
Test: On-device tested that tachyon service can now lock large memories.
Change-Id: I02e4d87adf8a459e88e35f7b965d65b2840adce5
2024-05-07 03:50:02 +00:00
Dinesh Yadav
e7cffe4da5 Allow edgetpu_tachyon_service to access GXP device & Dmabuf.
As gxp stack will be using Tachyon service to process kernels on aurora
dsp, these permissions will be needed.

Bug: 279655948
Change-Id: I04c11575208d0ca1a3dda68db1367804c4d7596d
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-11-23 05:35:08 +00:00
Yu-Chi Cheng
7232d53128 Added SELinux rules for vendor.darwinn.runtime. properties.
This allows DarwiNN runtime components to access related system
properties, including the ones that control host DMA-BUF allocation.

Bug: 297432189
Test: verified camera to work on local device
Change-Id: I4b3f566417445a2a0ef6eae64d9b0ed7d20ff26c
2023-09-26 20:49:42 +00:00
qinyiyan
33274eb576 Add tachyon service to the device.mk and sepolicy.
Bug: 299932913

Change-Id: Ifb8e55c07a9534ae49c96669c90357d04fb31f23
2023-09-11 14:01:16 -07:00