aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2019-02-13 18:43:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 21:35:29 -0500
commit367adb2ad5bd738b0899edb4825b356f810fd8d8 (patch)
tree5c19affc3c2046945755fbb3d04f0253822d06b1 /drivers/gpu/drm/amd/include
parentdrm/amdgpu: add flag to support IH clock gating (diff)
downloadlinux-dev-367adb2ad5bd738b0899edb4825b356f810fd8d8.tar.xz
linux-dev-367adb2ad5bd738b0899edb4825b356f810fd8d8.zip
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/include')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 15fbb2dff462..1e638357c4a3 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -96,6 +96,8 @@ enum amd_powergating_state {
#define AMD_CG_SUPPORT_HDP_DS (1 << 25)
#define AMD_CG_SUPPORT_HDP_SD (1 << 26)
#define AMD_CG_SUPPORT_IH_CG (1 << 27)
+#define AMD_CG_SUPPORT_ATHUB_LS (1 << 28)
+#define AMD_CG_SUPPORT_ATHUB_MGCG (1 << 29)
/* PG flags */
#define AMD_PG_SUPPORT_GFX_PG (1 << 0)
#define AMD_PG_SUPPORT_GFX_SMG (1 << 1)