summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/Makefile
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-08-01 00:20:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 23:50:23 +0300
commit41548ef78bbf26994546ea5225ad4b4c1bf96d1f (patch)
tree7f76c1744bcee6825dbe361363aea3de5c17c3ac /drivers/gpu/drm/amd/amdgpu/Makefile
parente60b344f6c0eff03362b5083db746ef5442c4b36 (diff)
downloadlinux-41548ef78bbf26994546ea5225ad4b4c1bf96d1f.tar.xz
drm/amdgpu: handle conditional support for CIK properly
gfx7 support is not necessary or available if CIK support is not enabled. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/Makefile')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile
index 733f77520eee..4e1c07d0f01c 100644
--- a/drivers/gpu/drm/amd/amdgpu/Makefile
+++ b/drivers/gpu/drm/amd/amdgpu/Makefile
@@ -22,7 +22,8 @@ amdgpu-y += amdgpu_device.o amdgpu_kms.o \
# add asic specific block
amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o gmc_v7_0.o cik_ih.o kv_smc.o kv_dpm.o \
- ci_smc.o ci_dpm.o dce_v8_0.o gfx_v7_0.o cik_sdma.o uvd_v4_2.o vce_v2_0.o
+ ci_smc.o ci_dpm.o dce_v8_0.o gfx_v7_0.o cik_sdma.o uvd_v4_2.o vce_v2_0.o \
+ amdgpu_amdkfd_gfx_v7.o
amdgpu-y += \
vi.o
@@ -75,7 +76,6 @@ amdgpu-y += \
# add amdkfd interfaces
amdgpu-y += \
amdgpu_amdkfd.o \
- amdgpu_amdkfd_gfx_v7.o \
amdgpu_amdkfd_gfx_v8.o
# add cgs