summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2021-03-19 14:37:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:41:25 -0400
commit5d36b865e4f77869468d07387672adf08b351a33 (patch)
treebf681d93e1690c014e2f43e99374e0e7cd45d147 /drivers/gpu/drm/amd/amdgpu/nv.c
parent147de218c23186f403922d7ea4cb168076224830 (diff)
downloadlinux-5d36b865e4f77869468d07387672adf08b351a33.tar.bz2
drm/amdgpu: enable mc CG and LS for beige_goby
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 6a31733654e0..72b81218a953 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -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 |