drm/amdgpu/virtual_dce: adjust config ifdef
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Sep 2016 03:20:29 +0000 (23:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Oct 2016 15:16:01 +0000 (11:16 -0400)
Include the CIK asics in the ifdef.

Reviewed-By: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_virtual.c

index a754f2522ba2fe760b9b73127ec0ff768c7e1815..c2bd9f045532b3f24b6f34004233ec9ed4e70614 100644 (file)
@@ -99,15 +99,15 @@ static void dce_virtual_stop_mc_access(struct amdgpu_device *adev,
                              struct amdgpu_mode_mc_save *save)
 {
        switch (adev->asic_type) {
+#ifdef CONFIG_DRM_AMDGPU_CIK
        case CHIP_BONAIRE:
        case CHIP_HAWAII:
        case CHIP_KAVERI:
        case CHIP_KABINI:
        case CHIP_MULLINS:
-#ifdef CONFIG_DRM_AMDGPU_CIK
                dce_v8_0_disable_dce(adev);
-#endif
                break;
+#endif
        case CHIP_FIJI:
        case CHIP_TONGA:
                dce_v10_0_disable_dce(adev);