blob: be85336107f9fad731dfe317a58dc0c449ae2060 [file] [log] [blame]
# 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.