Makefile (11c3a249ff7a1c710011bd06a451956f2a40c30c) Makefile (04d5e2765802241b54ee93d1e655123c39fa7385)
1#
2# Copyright 2017 Advanced Micro Devices, Inc.
3#
4# Permission is hereby granted, free of charge, to any person obtaining a
5# copy of this software and associated documentation files (the "Software"),
6# to deal in the Software without restriction, including without limitation
7# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8# and/or sell copies of the Software, and to permit persons to whom the

--- 21 unchanged lines hidden (view full) ---

30ccflags-y := -I$(FULL_AMD_PATH)/include/asic_reg \
31 -I$(FULL_AMD_PATH)/include \
32 -I$(FULL_AMD_PATH)/amdgpu \
33 -I$(FULL_AMD_PATH)/powerplay/inc \
34 -I$(FULL_AMD_PATH)/acp/include \
35 -I$(FULL_AMD_DISPLAY_PATH) \
36 -I$(FULL_AMD_DISPLAY_PATH)/include \
37 -I$(FULL_AMD_DISPLAY_PATH)/dc \
1#
2# Copyright 2017 Advanced Micro Devices, Inc.
3#
4# Permission is hereby granted, free of charge, to any person obtaining a
5# copy of this software and associated documentation files (the "Software"),
6# to deal in the Software without restriction, including without limitation
7# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8# and/or sell copies of the Software, and to permit persons to whom the

--- 21 unchanged lines hidden (view full) ---

30ccflags-y := -I$(FULL_AMD_PATH)/include/asic_reg \
31 -I$(FULL_AMD_PATH)/include \
32 -I$(FULL_AMD_PATH)/amdgpu \
33 -I$(FULL_AMD_PATH)/powerplay/inc \
34 -I$(FULL_AMD_PATH)/acp/include \
35 -I$(FULL_AMD_DISPLAY_PATH) \
36 -I$(FULL_AMD_DISPLAY_PATH)/include \
37 -I$(FULL_AMD_DISPLAY_PATH)/dc \
38 -I$(FULL_AMD_DISPLAY_PATH)/amdgpu_dm
38 -I$(FULL_AMD_DISPLAY_PATH)/amdgpu_dm \
39 -I$(FULL_AMD_PATH)/amdkfd
39
40amdgpu-y := amdgpu_drv.o
41
42# add KMS driver
43amdgpu-y += amdgpu_device.o amdgpu_kms.o \
44 amdgpu_atombios.o atombios_crtc.o amdgpu_connectors.o \
45 atom.o amdgpu_fence.o amdgpu_ttm.o amdgpu_object.o amdgpu_gart.o \
46 amdgpu_encoders.o amdgpu_display.o amdgpu_i2c.o \

--- 84 unchanged lines hidden (view full) ---

131amdgpu-y += \
132 amdgpu_vcn.o \
133 vcn_v1_0.o
134
135# add amdkfd interfaces
136amdgpu-y += amdgpu_amdkfd.o
137
138ifneq ($(CONFIG_HSA_AMD),)
40
41amdgpu-y := amdgpu_drv.o
42
43# add KMS driver
44amdgpu-y += amdgpu_device.o amdgpu_kms.o \
45 amdgpu_atombios.o atombios_crtc.o amdgpu_connectors.o \
46 atom.o amdgpu_fence.o amdgpu_ttm.o amdgpu_object.o amdgpu_gart.o \
47 amdgpu_encoders.o amdgpu_display.o amdgpu_i2c.o \

--- 84 unchanged lines hidden (view full) ---

132amdgpu-y += \
133 amdgpu_vcn.o \
134 vcn_v1_0.o
135
136# add amdkfd interfaces
137amdgpu-y += amdgpu_amdkfd.o
138
139ifneq ($(CONFIG_HSA_AMD),)
140AMDKFD_PATH := ../amdkfd
141include $(FULL_AMD_PATH)/amdkfd/Makefile
142amdgpu-y += $(AMDKFD_FILES)
139amdgpu-y += \
140 amdgpu_amdkfd_fence.o \
141 amdgpu_amdkfd_gpuvm.o \
142 amdgpu_amdkfd_gfx_v8.o \
143 amdgpu_amdkfd_gfx_v9.o
144
145ifneq ($(CONFIG_DRM_AMDGPU_CIK),)
146amdgpu-y += amdgpu_amdkfd_gfx_v7.o

--- 39 unchanged lines hidden ---
143amdgpu-y += \
144 amdgpu_amdkfd_fence.o \
145 amdgpu_amdkfd_gpuvm.o \
146 amdgpu_amdkfd_gfx_v8.o \
147 amdgpu_amdkfd_gfx_v9.o
148
149ifneq ($(CONFIG_DRM_AMDGPU_CIK),)
150amdgpu-y += amdgpu_amdkfd_gfx_v7.o

--- 39 unchanged lines hidden ---