aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorAaron Liu <[email protected]>2021-01-12 08:51:59 +0000
committerAlex Deucher <[email protected]>2021-06-04 20:03:16 +0000
commitdb72c3fac913058b3c6c379a904ceb79c78b9659 (patch)
tree40f662bd43d96eadfe89dcf42b7d58c97cf6b7e5 /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: add ATHUB Clock Gating support for yellow carp (diff)
downloadkernel-db72c3fac913058b3c6c379a904ceb79c78b9659.tar.gz
kernel-db72c3fac913058b3c6c379a904ceb79c78b9659.zip
drm/amdgpu: add IH Clock Gating support for yellow carp
IH CG need to be enabled by driver. Signed-off-by: Aaron Liu <[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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 15f5d9aa9485..fc3ad33b4de6 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -1340,7 +1340,8 @@ static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_HDP_MGCG |
AMD_CG_SUPPORT_HDP_LS |
AMD_CG_SUPPORT_ATHUB_MGCG |
- AMD_CG_SUPPORT_ATHUB_LS;
+ AMD_CG_SUPPORT_ATHUB_LS |
+ AMD_CG_SUPPORT_IH_CG;
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x01;
break;