aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorJinzhou.Su <[email protected]>2020-11-03 06:01:59 +0000
committerAlex Deucher <[email protected]>2020-11-04 22:08:36 +0000
commita3964ec40fc12a37bb2f0c3694453c8be9f582ef (patch)
tree9f8597bfd1febb66e3ab28a7d1d90aecbf1e4157 /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: Add Fine Grain Clock Gating for GFX10 (diff)
downloadkernel-a3964ec40fc12a37bb2f0c3694453c8be9f582ef.tar.gz
kernel-a3964ec40fc12a37bb2f0c3694453c8be9f582ef.zip
drm/amdgpu: Enable FGCG for Vangogh
Add flags AMD_CG_SUPPORT_GFX_FGCG for Vangogh Signed-off-by: Jinzhou.Su <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 1f8659a1a4cf..e33d8022cc32 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -953,6 +953,7 @@ static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_GFX_3D_CGLS |
AMD_CG_SUPPORT_MC_MGCG |
AMD_CG_SUPPORT_MC_LS |
+ AMD_CG_SUPPORT_GFX_FGCG |
AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |