aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-09-29 23:20:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-10-04 11:16:01 -0400
commit8cb619d82ef9668cb820311904391bc493872b67 (patch)
tree46e0c93dd0b3c7f23ad1284d0599e4a1d3cd0955 /drivers/gpu
parent5eeda8a4813459d6d9bb108ac42b1c8acda50cf9 (diff)
drm/amdgpu/virtual_dce: adjust config ifdef
Include the CIK asics in the ifdef. Reviewed-By: Emily Deng <Emily.Deng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_virtual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
index a754f2522ba2..c2bd9f045532 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
@@ -99,15 +99,15 @@ static void dce_virtual_stop_mc_access(struct amdgpu_device *adev,
99 struct amdgpu_mode_mc_save *save) 99 struct amdgpu_mode_mc_save *save)
100{ 100{
101 switch (adev->asic_type) { 101 switch (adev->asic_type) {
102#ifdef CONFIG_DRM_AMDGPU_CIK
102 case CHIP_BONAIRE: 103 case CHIP_BONAIRE:
103 case CHIP_HAWAII: 104 case CHIP_HAWAII:
104 case CHIP_KAVERI: 105 case CHIP_KAVERI:
105 case CHIP_KABINI: 106 case CHIP_KABINI:
106 case CHIP_MULLINS: 107 case CHIP_MULLINS:
107#ifdef CONFIG_DRM_AMDGPU_CIK
108 dce_v8_0_disable_dce(adev); 108 dce_v8_0_disable_dce(adev);
109#endif
110 break; 109 break;
110#endif
111 case CHIP_FIJI: 111 case CHIP_FIJI:
112 case CHIP_TONGA: 112 case CHIP_TONGA:
113 dce_v10_0_disable_dce(adev); 113 dce_v10_0_disable_dce(adev);