diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2019-02-13 18:43:03 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-20 21:35:29 -0500 |
commit | 367adb2ad5bd738b0899edb4825b356f810fd8d8 (patch) | |
tree | 5c19affc3c2046945755fbb3d04f0253822d06b1 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | 9faa494e2fcc10162f725a3bda98b627b6f50bcb (diff) | |
download | lwn-367adb2ad5bd738b0899edb4825b356f810fd8d8.tar.gz lwn-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/amd_shared.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 2 |
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) |