drm/amdgpu: add vega12 to dc support check
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 2 Sep 2017 06:05:29 +0000 (02:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:24:51 +0000 (14:24 -0500)
DC is used for modesetting on vega12.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 229ec63f043545369ea24c1d838751323adf9ccc..d7245c7949ac5cd9ffd899edaed15e12a34af872 100644 (file)
@@ -2095,6 +2095,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
                return amdgpu_dc != 0;
 #endif
        case CHIP_VEGA10:
+       case CHIP_VEGA12:
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
        case CHIP_RAVEN:
 #endif