drm/amdgpu: enable MC MGCG and LS for raven
authorHuang Rui <ray.huang@amd.com>
Fri, 5 May 2017 18:27:23 +0000 (14:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:11 +0000 (17:41 -0400)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 7a4af8b10e3d56b9bccbc79b176a15f8b482ef95..008c084cc4e016e45c3809a430b1063b9c9d0d2f 100644 (file)
@@ -602,7 +602,9 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_HDP_LS |
                        AMD_CG_SUPPORT_DRM_MGCG |
                        AMD_CG_SUPPORT_DRM_LS |
-                       AMD_CG_SUPPORT_ROM_MGCG;
+                       AMD_CG_SUPPORT_ROM_MGCG |
+                       AMD_CG_SUPPORT_MC_MGCG |
+                       AMD_CG_SUPPORT_MC_LS;
                adev->pg_flags = 0;
                adev->external_rev_id = 0x1;
                break;