Browse Source

drm/amdgpu: add vega12 to dc support check

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>
Alex Deucher 8 years ago
parent
commit
dca7b4015c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

+ 1 - 0
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

@@ -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