drm/amd/display: Enable Vega by default.
authorHarry Wentland <harry.wentland@amd.com>
Fri, 15 Sep 2017 18:07:30 +0000 (14:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:48 +0000 (18:16 -0400)
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index add0032977f370253c100cab21821dc77f45cc9b..3c0885ed5db715d70443c59f4b47b6f21afa1213 100644 (file)
@@ -1988,16 +1988,16 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
        case CHIP_POLARIS12:
        case CHIP_TONGA:
        case CHIP_FIJI:
-       case CHIP_VEGA10:
 #if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)
                return amdgpu_dc != 0;
 #endif
        case CHIP_KABINI:
        case CHIP_MULLINS:
                return amdgpu_dc > 0;
-#endif
-#if defined(CONFIG_DRM_AMD_DC) && defined(CONFIG_DRM_AMD_DC_DCN1_0)
+       case CHIP_VEGA10:
+#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
        case CHIP_RAVEN:
+#endif
                return amdgpu_dc != 0;
 #endif
        default: