Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdf9093b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm:npu: Add npu virtualization support"

parents 73c021ac 03139b74
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -9,3 +9,10 @@ config MSM_NPU
	  This module serves as the common driver
	  for npu which provides acceleration for neural
	  network processing.

config VIRTIO_NPU
	tristate "Virtio MSM Neural Processing Unit support"
	depends on VIRTIO && MSM_NPU
	help
	  This is the virtual frontend driver for Neural Processing Unit
	  based on virtio. Say Y if you want to support virtual NPU.
+6 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

obj-$(CONFIG_MSM_NPU)      := msm_npu.o
ifneq ($(CONFIG_VIRTIO_NPU),)
obj-$(CONFIG_VIRTIO_NPU) := virtio_npu.o
else
msm_npu-objs := npu_dbg.o \
                npu_dev.o \
                npu_debugfs.o \
                npu_host_ipc.o \
                npu_hw_access.o \
                npu_mgr.o

obj-$(CONFIG_MSM_NPU) := msm_npu.o
endif
+2410 −0

File added.

Preview size limit exceeded, changes collapsed.