mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-24 20:40:47 -04:00
VPU stands for Versatile Processing Unit and it's a CPU-integrated
inference accelerator for Computer Vision and Deep Learning
applications.
The VPU device consist of following components:
- Buttress - provides CPU to VPU integration, interrupt, frequency and
power management.
- Memory Management Unit (based on ARM MMU-600) - translates VPU to
host DMA addresses, isolates user workloads.
- RISC based microcontroller - executes firmware that provides job
execution API for the kernel-mode driver
- Neural Compute Subsystem (NCS) - does the actual work, provides
Compute and Copy engines.
- Network on Chip (NoC) - network fabric connecting all the components
This driver supports VPU IP v2.7 integrated into Intel Meteor Lake
client CPUs (14th generation).
Module sources are at drivers/accel/ivpu and module name is
"intel_vpu.ko".
This patch includes only very besic functionality:
- module, PCI device and IRQ initialization
- register definitions and low level register manipulation functions
- SET/GET_PARAM ioctls
- power up without firmware
Co-developed-by: Krystian Pradzynski <krystian.pradzynski@linux.intel.com>
Signed-off-by: Krystian Pradzynski <krystian.pradzynski@linux.intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-2-jacek.lawrynowicz@linux.intel.com
27 lines
1017 B
Plaintext
27 lines
1017 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Compute Acceleration device configuration
|
|
#
|
|
# This framework provides support for compute acceleration devices, such
|
|
# as, but not limited to, Machine-Learning and Deep-Learning acceleration
|
|
# devices
|
|
#
|
|
menuconfig DRM_ACCEL
|
|
bool "Compute Acceleration Framework"
|
|
depends on DRM
|
|
help
|
|
Framework for device drivers of compute acceleration devices, such
|
|
as, but not limited to, Machine-Learning and Deep-Learning
|
|
acceleration devices.
|
|
If you say Y here, you need to select the module that's right for
|
|
your acceleration device from the list below.
|
|
This framework is integrated with the DRM subsystem as compute
|
|
accelerators and GPUs share a lot in common and can use almost the
|
|
same infrastructure code.
|
|
Having said that, acceleration devices will have a different
|
|
major number than GPUs, and will be exposed to user-space using
|
|
different device files, called accel/accel* (in /dev, sysfs
|
|
and debugfs).
|
|
|
|
source "drivers/accel/ivpu/Kconfig"
|