mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Oded Gabbay](/assets/img/avatar_default.png)
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>
29 lines
789 B
Text
29 lines
789 B
Text
# 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.
|