aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2021-04-22 09:57:14 +0000
committerAlex Deucher <[email protected]>2021-05-20 02:41:45 +0000
commitd69d278fc72fb844b60720160a9fe53412afa4a2 (patch)
tree085d9ef75ec72871c85f5db5e3a96521a8df76d4 /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: enabled VCN3.0 CG for BEIGE GOBY (diff)
downloadkernel-d69d278fc72fb844b60720160a9fe53412afa4a2.tar.gz
kernel-d69d278fc72fb844b60720160a9fe53412afa4a2.zip
drm/amdgpu: add cgls for beige_goby
Enable cgls to improve the runtime power efficiency. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Jack Gui <[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 440da254d841..8d0491ea3494 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -1280,6 +1280,7 @@ 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_CGLS |
AMD_CG_SUPPORT_GFX_3D_CGCG |
AMD_CG_SUPPORT_MC_MGCG |
AMD_CG_SUPPORT_MC_LS |