summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorJinzhou.Su <Jinzhou.Su@amd.com>2020-10-27 21:37:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-30 00:58:50 -0400
commit51a7e93826a05deb85db07f58cad7e97e4165e77 (patch)
tree8803b052dc0004dbe5860bd36b86dc4cec6a512c /drivers/gpu/drm/amd/amdgpu/nv.c
parent802a46d384f81c1d14a74316d33be7aa323338e7 (diff)
downloadlwn-51a7e93826a05deb85db07f58cad7e97e4165e77.tar.gz
lwn-51a7e93826a05deb85db07f58cad7e97e4165e77.zip
amdgpu: Add GFX MGCG and MGLS for vangogh
add GFX Medium Grain Light Sleep support for vangogh add AMD_CG_SUPPORT_GFX_CP_LS and AMD_CG_SUPPORT_GFX_RLC_LS v2: add GFX Medium Grain Clock Gating Signed-off-by: Jinzhou.Su <Jinzhou.Su@amd.com> Reviewed-by: Huang Rui <ray.huang@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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index c65b4462bf5e..026e0a8fd526 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -943,7 +943,11 @@ static int nv_common_early_init(void *handle)
case CHIP_VANGOGH:
adev->apu_flags |= AMD_APU_IS_VANGOGH;
- adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
+ adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
+ AMD_CG_SUPPORT_GFX_MGLS |
+ AMD_CG_SUPPORT_GFX_CP_LS |
+ AMD_CG_SUPPORT_GFX_RLC_LS |
+ AMD_CG_SUPPORT_GFX_CGCG |
AMD_CG_SUPPORT_GFX_CGLS |
AMD_CG_SUPPORT_GFX_3D_CGCG |
AMD_CG_SUPPORT_GFX_3D_CGLS |