From: Huang Rui Date: Wed, 18 Jan 2017 10:14:08 +0000 (+0800) Subject: drm/amdgpu: enable soc15 clock gating flags for raven X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c5928a238e5649fa5f06d237c21ee6c66664096;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable soc15 clock gating flags for raven Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index cee2d8b62708..7a4af8b10e3d 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -588,7 +588,21 @@ static int soc15_common_early_init(void *handle) adev->external_rev_id = 0x1; break; case CHIP_RAVEN: - adev->cg_flags = 0; + adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | + AMD_CG_SUPPORT_GFX_MGLS | + AMD_CG_SUPPORT_GFX_RLC_LS | + AMD_CG_SUPPORT_GFX_CP_LS | + AMD_CG_SUPPORT_GFX_3D_CGCG | + AMD_CG_SUPPORT_GFX_3D_CGLS | + AMD_CG_SUPPORT_GFX_CGCG | + AMD_CG_SUPPORT_GFX_CGLS | + AMD_CG_SUPPORT_BIF_MGCG | + AMD_CG_SUPPORT_BIF_LS | + AMD_CG_SUPPORT_HDP_MGCG | + AMD_CG_SUPPORT_HDP_LS | + AMD_CG_SUPPORT_DRM_MGCG | + AMD_CG_SUPPORT_DRM_LS | + AMD_CG_SUPPORT_ROM_MGCG; adev->pg_flags = 0; adev->external_rev_id = 0x1; break;