aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-08-02 15:27:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:40:58 -0500
commit91ec8bbb88d9b3be51d64efa6a778c978ab82554 (patch)
tree5a91a0baf49d8a20452eb177d73b8a655f0ede54 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentdrm/amdgpu: enable vcn clock gating for rn (diff)
downloadlinux-dev-91ec8bbb88d9b3be51d64efa6a778c978ab82554.tar.xz
linux-dev-91ec8bbb88d9b3be51d64efa6a778c978ab82554.zip
drm/amdgpu: enable IH clock gating for rn
Enable IH clock gating during IH block initialized. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 4afa75e0c0e5..ef34072a084f 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1169,7 +1169,8 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_BIF_LS |
AMD_CG_SUPPORT_HDP_LS |
AMD_CG_SUPPORT_ROM_MGCG |
- AMD_CG_SUPPORT_VCN_MGCG;
+ AMD_CG_SUPPORT_VCN_MGCG |
+ AMD_CG_SUPPORT_IH_CG;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x91;