1 1.1 riastrad # 2 1.3 riastrad # Copyright 2017 Advanced Micro Devices, Inc. 3 1.3 riastrad # 4 1.3 riastrad # Permission is hereby granted, free of charge, to any person obtaining a 5 1.3 riastrad # copy of this software and associated documentation files (the "Software"), 6 1.3 riastrad # to deal in the Software without restriction, including without limitation 7 1.3 riastrad # the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 1.3 riastrad # and/or sell copies of the Software, and to permit persons to whom the 9 1.3 riastrad # Software is furnished to do so, subject to the following conditions: 10 1.3 riastrad # 11 1.3 riastrad # The above copyright notice and this permission notice shall be included in 12 1.3 riastrad # all copies or substantial portions of the Software. 13 1.3 riastrad # 14 1.3 riastrad # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 1.3 riastrad # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 1.3 riastrad # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 1.3 riastrad # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 1.3 riastrad # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 1.3 riastrad # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 1.3 riastrad # OTHER DEALINGS IN THE SOFTWARE. 21 1.3 riastrad # 22 1.3 riastrad # 23 1.1 riastrad # Makefile for Heterogenous System Architecture support for AMD GPU devices 24 1.1 riastrad # 25 1.1 riastrad 26 1.3 riastrad AMDKFD_FILES := $(AMDKFD_PATH)/kfd_module.o \ 27 1.3 riastrad $(AMDKFD_PATH)/kfd_device.o \ 28 1.3 riastrad $(AMDKFD_PATH)/kfd_chardev.o \ 29 1.3 riastrad $(AMDKFD_PATH)/kfd_topology.o \ 30 1.3 riastrad $(AMDKFD_PATH)/kfd_pasid.o \ 31 1.3 riastrad $(AMDKFD_PATH)/kfd_doorbell.o \ 32 1.3 riastrad $(AMDKFD_PATH)/kfd_flat_memory.o \ 33 1.3 riastrad $(AMDKFD_PATH)/kfd_process.o \ 34 1.3 riastrad $(AMDKFD_PATH)/kfd_queue.o \ 35 1.3 riastrad $(AMDKFD_PATH)/kfd_mqd_manager.o \ 36 1.3 riastrad $(AMDKFD_PATH)/kfd_mqd_manager_cik.o \ 37 1.3 riastrad $(AMDKFD_PATH)/kfd_mqd_manager_vi.o \ 38 1.3 riastrad $(AMDKFD_PATH)/kfd_mqd_manager_v9.o \ 39 1.3 riastrad $(AMDKFD_PATH)/kfd_mqd_manager_v10.o \ 40 1.3 riastrad $(AMDKFD_PATH)/kfd_kernel_queue.o \ 41 1.3 riastrad $(AMDKFD_PATH)/kfd_packet_manager.o \ 42 1.3 riastrad $(AMDKFD_PATH)/kfd_packet_manager_vi.o \ 43 1.3 riastrad $(AMDKFD_PATH)/kfd_packet_manager_v9.o \ 44 1.3 riastrad $(AMDKFD_PATH)/kfd_process_queue_manager.o \ 45 1.3 riastrad $(AMDKFD_PATH)/kfd_device_queue_manager.o \ 46 1.3 riastrad $(AMDKFD_PATH)/kfd_device_queue_manager_cik.o \ 47 1.3 riastrad $(AMDKFD_PATH)/kfd_device_queue_manager_vi.o \ 48 1.3 riastrad $(AMDKFD_PATH)/kfd_device_queue_manager_v9.o \ 49 1.3 riastrad $(AMDKFD_PATH)/kfd_device_queue_manager_v10.o \ 50 1.3 riastrad $(AMDKFD_PATH)/kfd_interrupt.o \ 51 1.3 riastrad $(AMDKFD_PATH)/kfd_events.o \ 52 1.3 riastrad $(AMDKFD_PATH)/cik_event_interrupt.o \ 53 1.3 riastrad $(AMDKFD_PATH)/kfd_int_process_v9.o \ 54 1.3 riastrad $(AMDKFD_PATH)/kfd_dbgdev.o \ 55 1.3 riastrad $(AMDKFD_PATH)/kfd_dbgmgr.o \ 56 1.3 riastrad $(AMDKFD_PATH)/kfd_crat.o 57 1.1 riastrad 58 1.3 riastrad ifneq ($(CONFIG_AMD_IOMMU_V2),) 59 1.3 riastrad AMDKFD_FILES += $(AMDKFD_PATH)/kfd_iommu.o 60 1.3 riastrad endif 61 1.1 riastrad 62 1.3 riastrad ifneq ($(CONFIG_DEBUG_FS),) 63 1.3 riastrad AMDKFD_FILES += $(AMDKFD_PATH)/kfd_debugfs.o 64 1.3 riastrad endif 65