From 367adb2ad5bd738b0899edb4825b356f810fd8d8 Mon Sep 17 00:00:00 2001 From: Jack Xiao Date: Wed, 13 Feb 2019 18:43:03 +0800 Subject: drm/amdgpu/athub2: enable athub2 clock gating Enable athub2 clock gating and light sleep Signed-off-by: Jack Xiao Reviewed-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/include/amd_shared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/drm/amd/include/amd_shared.h') 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) -- cgit v1.2.3-70-g09d2