drm/amdgpu: Enable VCN CG by default on RV
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 17 May 2018 03:13:51 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 May 2018 15:07:51 +0000 (10:07 -0500)
Enable VCN clockgating by default on Raven.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 0e4f67e..2cf9a18 100644 (file)
@@ -710,7 +710,8 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_MC_MGCG |
                        AMD_CG_SUPPORT_MC_LS |
                        AMD_CG_SUPPORT_SDMA_MGCG |
-                       AMD_CG_SUPPORT_SDMA_LS;
+                       AMD_CG_SUPPORT_SDMA_LS |
+                       AMD_CG_SUPPORT_VCN_MGCG;
                adev->pg_flags = AMD_PG_SUPPORT_SDMA;
 
                if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)