2 # Makefile for Heterogenous System Architecture support for AMD GPU devices
5 ccflags-y
:= -Iinclude
/drm
-Idrivers
/gpu
/drm
/amd
/include/ \
6 -Idrivers
/gpu
/drm
/amd
/include/asic_reg
8 amdkfd-y
:= kfd_module.o kfd_device.o kfd_chardev.o kfd_topology.o \
9 kfd_pasid.o kfd_doorbell.o kfd_flat_memory.o \
10 kfd_process.o kfd_queue.o kfd_mqd_manager.o \
11 kfd_mqd_manager_cik.o kfd_mqd_manager_vi.o \
12 kfd_kernel_queue.o kfd_kernel_queue_cik.o \
13 kfd_kernel_queue_vi.o kfd_packet_manager.o \
14 kfd_process_queue_manager.o kfd_device_queue_manager.o \
15 kfd_device_queue_manager_cik.o kfd_device_queue_manager_vi.o \
16 kfd_interrupt.o kfd_events.o cik_event_interrupt.o \
17 kfd_dbgdev.o kfd_dbgmgr.o
19 obj-
$(CONFIG_HSA_AMD
) += amdkfd.o