aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wang <Qingqing.Wang@amd.com>2016-01-19 01:19:53 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-08-31 12:11:20 -0400
commita036db18c61d9a8ae6619cbb3dca8b1f2df68103 (patch)
treea03d3f9beb71db7152433441a4ede9fc8296ecdd
parent36b9a952bbf6881eef9e0f1920d6ce354c195553 (diff)
drm/amdgpu: add all the components for si into Makefile/kconfig v3
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/Kconfig7
-rw-r--r--drivers/gpu/drm/amd/amdgpu/Makefile2
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig
index f3cb69de0c44..53cf3971dfc3 100644
--- a/drivers/gpu/drm/amd/amdgpu/Kconfig
+++ b/drivers/gpu/drm/amd/amdgpu/Kconfig
@@ -1,3 +1,10 @@
1config DRM_AMDGPU_SI
2 bool "Enable amdgpu support for SI parts"
3 depends on DRM_AMDGPU
4 help
5 Choose this option if you want to enable experimental support
6 for SI asics.
7
1config DRM_AMDGPU_CIK 8config DRM_AMDGPU_CIK
2 bool "Enable amdgpu support for CIK parts" 9 bool "Enable amdgpu support for CIK parts"
3 depends on DRM_AMDGPU 10 depends on DRM_AMDGPU
diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile
index 21dd7c00da15..5ebea9dcc6bf 100644
--- a/drivers/gpu/drm/amd/amdgpu/Makefile
+++ b/drivers/gpu/drm/amd/amdgpu/Makefile
@@ -30,6 +30,8 @@ amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o cik_ih.o kv_smc.o kv_dpm.o \
30 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 \ 30 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 \
31 amdgpu_amdkfd_gfx_v7.o 31 amdgpu_amdkfd_gfx_v7.o
32 32
33amdgpu-$(CONFIG_DRM_AMDGPU_SI)+= si.o gmc_v6_0.o gfx_v6_0.o si_ih.o si_dma.o dce_v6_0.o
34
33amdgpu-y += \ 35amdgpu-y += \
34 vi.o 36 vi.o
35 37