]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: enable mc CG and LS for beige_goby
authorTao Zhou <tao.zhou1@amd.com>
Fri, 19 Mar 2021 06:37:57 +0000 (14:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:41:25 +0000 (22:41 -0400)
Enable mc CG and LS for beige_goby.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 6a31733654e0b53c15d9c9b860db482725415f9e..72b81218a953929d17f15321d9233901be25b455 100644 (file)
@@ -1280,7 +1280,9 @@ static int nv_common_early_init(void *handle)
        case CHIP_BEIGE_GOBY:
                adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
                        AMD_CG_SUPPORT_GFX_CGCG |
-                       AMD_CG_SUPPORT_GFX_3D_CGCG;
+                       AMD_CG_SUPPORT_GFX_3D_CGCG |
+                       AMD_CG_SUPPORT_MC_MGCG |
+                       AMD_CG_SUPPORT_MC_LS;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_ATHUB |