From fd187853857d46dce082e8bca210795a5f2d38a5 Mon Sep 17 00:00:00 2001 From: Hawking Zhang Date: Mon, 6 Mar 2017 14:01:11 +0800 Subject: [PATCH] drm/amdgpu: enable dcn1.0 dc support on raven Signed-off-by: Hawking Zhang Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index df95dd8439b6..27d46a907bd9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/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; -- 2.30.2