summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-08-02 10:29:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-23 01:40:58 +0300
commite2ef3b70e857ace2a52d542974326a521bc8d467 (patch)
tree1c050cc315d2d9d3a891d5cc910bf341549de923 /drivers/gpu/drm/amd/amdgpu
parent91ec8bbb88d9b3be51d64efa6a778c978ab82554 (diff)
downloadlinux-e2ef3b70e857ace2a52d542974326a521bc8d467.tar.xz
drm/amdgpu: enable athub clock gating for rn
Enable athub MG and LS clock gating. 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')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index ef34072a084f..50242384a163 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1170,7 +1170,9 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_HDP_LS |
AMD_CG_SUPPORT_ROM_MGCG |
AMD_CG_SUPPORT_VCN_MGCG |
- AMD_CG_SUPPORT_IH_CG;
+ AMD_CG_SUPPORT_IH_CG |
+ AMD_CG_SUPPORT_ATHUB_LS |
+ AMD_CG_SUPPORT_ATHUB_MGCG;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x91;