fbeb661bfa
This patch adds the skeleton H/W debugger module support. This code enables registration and unregistration of a single HSA process at a time. The module saves the process's pasid and use it to verify that only the registered process is allowed to execute debugger operations through the kernel driver. v2: rename get_dbgmgr_mutex to kfd_get_dbgmgr_mutex to namespace it Signed-off-by: Yair Shachar <yair.shachar@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
19 lines
688 B
Makefile
19 lines
688 B
Makefile
#
|
|
# Makefile for Heterogenous System Architecture support for AMD GPU devices
|
|
#
|
|
|
|
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/
|
|
|
|
amdkfd-y := kfd_module.o kfd_device.o kfd_chardev.o kfd_topology.o \
|
|
kfd_pasid.o kfd_doorbell.o kfd_flat_memory.o \
|
|
kfd_process.o kfd_queue.o kfd_mqd_manager.o \
|
|
kfd_mqd_manager_cik.o kfd_mqd_manager_vi.o \
|
|
kfd_kernel_queue.o kfd_kernel_queue_cik.o \
|
|
kfd_kernel_queue_vi.o kfd_packet_manager.o \
|
|
kfd_process_queue_manager.o kfd_device_queue_manager.o \
|
|
kfd_device_queue_manager_cik.o kfd_device_queue_manager_vi.o \
|
|
kfd_interrupt.o kfd_events.o cik_event_interrupt.o \
|
|
kfd_dbgdev.o kfd_dbgmgr.o
|
|
|
|
obj-$(CONFIG_HSA_AMD) += amdkfd.o
|