diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2019-02-13 05:43:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-20 22:35:29 -0400 |
commit | 367adb2ad5bd738b0899edb4825b356f810fd8d8 (patch) | |
tree | 5c19affc3c2046945755fbb3d04f0253822d06b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 9faa494e2fcc10162f725a3bda98b627b6f50bcb (diff) |
drm/amdgpu/athub2: enable athub2 clock gating
Enable athub2 clock gating and light sleep
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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/amdgpu_pm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index e0df2bc4861f..9f4ed75ade2f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -64,6 +64,9 @@ static const struct cg_flag_name clocks[] = { | |||
64 | {AMD_CG_SUPPORT_DRM_LS, "Digital Right Management Light Sleep"}, | 64 | {AMD_CG_SUPPORT_DRM_LS, "Digital Right Management Light Sleep"}, |
65 | {AMD_CG_SUPPORT_ROM_MGCG, "Rom Medium Grain Clock Gating"}, | 65 | {AMD_CG_SUPPORT_ROM_MGCG, "Rom Medium Grain Clock Gating"}, |
66 | {AMD_CG_SUPPORT_DF_MGCG, "Data Fabric Medium Grain Clock Gating"}, | 66 | {AMD_CG_SUPPORT_DF_MGCG, "Data Fabric Medium Grain Clock Gating"}, |
67 | |||
68 | {AMD_CG_SUPPORT_ATHUB_MGCG, "Address Translation Hub Medium Grain Clock Gating"}, | ||
69 | {AMD_CG_SUPPORT_ATHUB_LS, "Address Translation Hub Light Sleep"}, | ||
67 | {0, NULL}, | 70 | {0, NULL}, |
68 | }; | 71 | }; |
69 | 72 | ||