11.1Sriastrad# 21.3Sriastrad# Copyright 2017 Advanced Micro Devices, Inc. 31.3Sriastrad# 41.3Sriastrad# Permission is hereby granted, free of charge, to any person obtaining a 51.3Sriastrad# copy of this software and associated documentation files (the "Software"), 61.3Sriastrad# to deal in the Software without restriction, including without limitation 71.3Sriastrad# the rights to use, copy, modify, merge, publish, distribute, sublicense, 81.3Sriastrad# and/or sell copies of the Software, and to permit persons to whom the 91.3Sriastrad# Software is furnished to do so, subject to the following conditions: 101.3Sriastrad# 111.3Sriastrad# The above copyright notice and this permission notice shall be included in 121.3Sriastrad# all copies or substantial portions of the Software. 131.3Sriastrad# 141.3Sriastrad# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 151.3Sriastrad# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 161.3Sriastrad# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 171.3Sriastrad# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 181.3Sriastrad# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 191.3Sriastrad# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 201.3Sriastrad# OTHER DEALINGS IN THE SOFTWARE. 211.3Sriastrad# 221.3Sriastrad# 231.1Sriastrad# Makefile for Heterogenous System Architecture support for AMD GPU devices 241.1Sriastrad# 251.1Sriastrad 261.3SriastradAMDKFD_FILES := $(AMDKFD_PATH)/kfd_module.o \ 271.3Sriastrad $(AMDKFD_PATH)/kfd_device.o \ 281.3Sriastrad $(AMDKFD_PATH)/kfd_chardev.o \ 291.3Sriastrad $(AMDKFD_PATH)/kfd_topology.o \ 301.3Sriastrad $(AMDKFD_PATH)/kfd_pasid.o \ 311.3Sriastrad $(AMDKFD_PATH)/kfd_doorbell.o \ 321.3Sriastrad $(AMDKFD_PATH)/kfd_flat_memory.o \ 331.3Sriastrad $(AMDKFD_PATH)/kfd_process.o \ 341.3Sriastrad $(AMDKFD_PATH)/kfd_queue.o \ 351.3Sriastrad $(AMDKFD_PATH)/kfd_mqd_manager.o \ 361.3Sriastrad $(AMDKFD_PATH)/kfd_mqd_manager_cik.o \ 371.3Sriastrad $(AMDKFD_PATH)/kfd_mqd_manager_vi.o \ 381.3Sriastrad $(AMDKFD_PATH)/kfd_mqd_manager_v9.o \ 391.3Sriastrad $(AMDKFD_PATH)/kfd_mqd_manager_v10.o \ 401.3Sriastrad $(AMDKFD_PATH)/kfd_kernel_queue.o \ 411.3Sriastrad $(AMDKFD_PATH)/kfd_packet_manager.o \ 421.3Sriastrad $(AMDKFD_PATH)/kfd_packet_manager_vi.o \ 431.3Sriastrad $(AMDKFD_PATH)/kfd_packet_manager_v9.o \ 441.3Sriastrad $(AMDKFD_PATH)/kfd_process_queue_manager.o \ 451.3Sriastrad $(AMDKFD_PATH)/kfd_device_queue_manager.o \ 461.3Sriastrad $(AMDKFD_PATH)/kfd_device_queue_manager_cik.o \ 471.3Sriastrad $(AMDKFD_PATH)/kfd_device_queue_manager_vi.o \ 481.3Sriastrad $(AMDKFD_PATH)/kfd_device_queue_manager_v9.o \ 491.3Sriastrad $(AMDKFD_PATH)/kfd_device_queue_manager_v10.o \ 501.3Sriastrad $(AMDKFD_PATH)/kfd_interrupt.o \ 511.3Sriastrad $(AMDKFD_PATH)/kfd_events.o \ 521.3Sriastrad $(AMDKFD_PATH)/cik_event_interrupt.o \ 531.3Sriastrad $(AMDKFD_PATH)/kfd_int_process_v9.o \ 541.3Sriastrad $(AMDKFD_PATH)/kfd_dbgdev.o \ 551.3Sriastrad $(AMDKFD_PATH)/kfd_dbgmgr.o \ 561.3Sriastrad $(AMDKFD_PATH)/kfd_crat.o 571.1Sriastrad 581.3Sriastradifneq ($(CONFIG_AMD_IOMMU_V2),) 591.3SriastradAMDKFD_FILES += $(AMDKFD_PATH)/kfd_iommu.o 601.3Sriastradendif 611.1Sriastrad 621.3Sriastradifneq ($(CONFIG_DEBUG_FS),) 631.3SriastradAMDKFD_FILES += $(AMDKFD_PATH)/kfd_debugfs.o 641.3Sriastradendif 65