mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08:00
e65e175b07
Now that we have a subsystem for compute accelerators, move the habanalabs driver to it. This patch only moves the files and fixes the Makefiles. Future patches will change the existing code to register to the accel subsystem and expose the accel device char files instead of the habanalabs device char files. Update the MAINTAINERS file to reflect this change. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
30 lines
789 B
Plaintext
30 lines
789 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# HabanaLabs AI accelerators driver
|
|
#
|
|
|
|
config DRM_ACCEL_HABANALABS
|
|
tristate "HabanaLabs AI accelerators"
|
|
depends on DRM_ACCEL
|
|
depends on X86_64
|
|
depends on PCI && HAS_IOMEM
|
|
select GENERIC_ALLOCATOR
|
|
select HWMON
|
|
select DMA_SHARED_BUFFER
|
|
select CRC32
|
|
select FW_LOADER
|
|
help
|
|
Enables PCIe card driver for Habana's AI Processors (AIP) that are
|
|
designed to accelerate Deep Learning inference and training workloads.
|
|
|
|
The driver manages the PCIe devices and provides IOCTL interface for
|
|
the user to submit workloads to the devices.
|
|
|
|
The user-space interface is described in
|
|
include/uapi/drm/habanalabs_accel.h
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called habanalabs.
|