mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 02:05:31 +07:00
c216477363
This patch adds debugfs support to the driver. It allows the user-space to display information that is contained in the internal structures of the driver, such as: - active command submissions - active user virtual memory mappings - number of allocated command buffers It also enables the user to perform reads and writes through Goya's PCI bars. Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
356 B
Makefile
15 lines
356 B
Makefile
#
|
|
# Makefile for HabanaLabs AI accelerators driver
|
|
#
|
|
|
|
obj-m := habanalabs.o
|
|
|
|
habanalabs-y := habanalabs_drv.o device.o context.o asid.o habanalabs_ioctl.o \
|
|
command_buffer.o hw_queue.o irq.o sysfs.o hwmon.o memory.o \
|
|
command_submission.o mmu.o
|
|
|
|
habanalabs-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
|
|
include $(src)/goya/Makefile
|
|
habanalabs-y += $(HL_GOYA_FILES)
|