sdm845-common: Update Neural networks from munch

Change-Id: I979efec786340d193fc3e703e4a882069ae7a712
This commit is contained in:
duckyduckG committed 2026-04-04 10:17:33 +05:00
1 parent 4b7927a0aa
commit bcf1992f9b
12 files changed
+123 -9

No files matched your search

+76 -7
View File
@@ -6589,6 +6589,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libhta_hexagon_runtime",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libhta_hexagon_runtime.so",
],
shared_libs: [
"liblog",
"libcdsprpc",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libhydra_common",
owner: "xiaomi",
@@ -8565,7 +8590,7 @@ cc_prebuilt_library_shared {
],
shared_libs: [
"liblog",
"libprotobuf-cpp-full-vendorcompat",
"libprotobuf-cpp-full-3.9.1-vendorcompat",
"libc++",
"libc",
"libm",
@@ -8594,7 +8619,6 @@ cc_prebuilt_library_shared {
"libhardware",
"libhidlbase",
"libhidlmemory",
"libhidltransport",
"libui",
"liblog",
"libnativewindow",
@@ -8604,6 +8628,7 @@ cc_prebuilt_library_shared {
"android.hardware.neuralnetworks@1.0",
"android.hardware.neuralnetworks@1.1",
"android.hardware.neuralnetworks@1.2",
"android.hardware.neuralnetworks@1.3",
"android.hidl.safe_union@1.0",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
@@ -8619,6 +8644,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "unnhal-acc-hta",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/unnhal-acc-hta.so",
],
shared_libs: [
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "unnhal-acc-hvx",
owner: "xiaomi",
@@ -8635,12 +8685,12 @@ cc_prebuilt_library_shared {
"libhardware",
"libhidlbase",
"libhidlmemory",
"libhidltransport",
"liblog",
"libutils",
"libcutils",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"libcdsprpc",
"libc++",
"libc",
"libm",
@@ -12867,6 +12917,24 @@ dex_import {
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti-hta.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
cc_prebuilt_binary {
name: "ATFWD-daemon",
owner: "xiaomi",
@@ -13236,19 +13304,18 @@ cc_prebuilt_binary {
}
cc_prebuilt_binary {
name: "android.hardware.neuralnetworks@1.2-service-qti",
name: "android.hardware.neuralnetworks@1.3-service-qti",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.neuralnetworks@1.2-service-qti",
"proprietary/vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti",
],
shared_libs: [
"libbase",
"libhardware",
"libhidlbase",
"libhidlmemory",
"libhidltransport",
"liblog",
"libutils",
"libcutils",
@@ -13257,10 +13324,12 @@ cc_prebuilt_binary {
"android.hardware.neuralnetworks@1.0",
"android.hardware.neuralnetworks@1.1",
"android.hardware.neuralnetworks@1.2",
"android.hardware.neuralnetworks@1.3",
"android.hidl.safe_union@1.0",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"libprotobuf-cpp-full-vendorcompat",
"libprotobuf-cpp-full-3.9.1-vendorcompat",
"libsync",
"libc++",
"libc",
"libm",
Binary file not shown.
@@ -0,0 +1,14 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
class hal
user system
group system
writepid /dev/stune/nnapi-hal/tasks
#Below changes moved from init.target.rc as part of go/FR53051
on post-fs-data
mkdir /data/vendor/nnhal 0700 system system
@@ -0,0 +1,13 @@
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
<transport>hwbinder</transport>
<fqname>@1.3::IDevice/qti-hta</fqname>
</hal>
</manifest>
@@ -0,0 +1,14 @@
<!--
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
<transport>hwbinder</transport>
<fqname>@1.3::IDevice/qti-default</fqname>
<fqname>@1.3::IDevice/qti-dsp</fqname>
<fqname>@1.3::IDevice/qti-gpu</fqname>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -2
View File
@@ -56,7 +56,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.2-service.widevine.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.2-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.2-service-qti.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/cnd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/cnd.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc \
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/dataadpl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dataadpl.rc \
@@ -316,6 +316,7 @@ PRODUCT_PACKAGES += \
libdsutils \
libhdr_tm \
libhexagon_nn_stub \
libhta_hexagon_runtime \
libhydra_common \
libkeymasterdeviceutils \
libkeymasterprovision \
@@ -383,6 +384,7 @@ PRODUCT_PACKAGES += \
qtimutex \
unnhal-acc-adreno \
unnhal-acc-common \
unnhal-acc-hta \
unnhal-acc-hvx \
vendor.display.color@1.0 \
vendor.display.color@1.1 \
@@ -535,6 +537,8 @@ PRODUCT_PACKAGES += \
com.qti.dpmframework \
dpmapi \
qcrilhook \
android.hardware.neuralnetworks@1.3-service-qti-hta.xml \
android.hardware.neuralnetworks@1.3-service-qti.xml \
ATFWD-daemon \
adpl \
adsprpcd \
@@ -546,7 +550,7 @@ PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0-service-qti \
android.hardware.drm@1.2-service.widevine \
android.hardware.gatekeeper@1.0-service-qti \
android.hardware.neuralnetworks@1.2-service-qti \
android.hardware.neuralnetworks@1.3-service-qti \
qcrild \
vendor.display.color@1.0-service \
vendor.qti.esepowermanager@1.0-service \