Browse Source

drm/amdgpu: enable dcn1.0 dc support on raven

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Hawking Zhang 8 năm trước cách đây
mục cha
commit
fd18785385
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

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

@@ -1993,6 +1993,10 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
 #else
 		return amdgpu_dc > 0;
 #endif
+#endif
+#if defined(CONFIG_DRM_AMD_DC) && defined(CONFIG_DRM_AMD_DC_DCN1_0)
+	case CHIP_RAVEN:
+		return amdgpu_dc != 0;
 #endif
 	default:
 		return false;