diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2018-08-29 15:18:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 04:25:46 +0200 |
commit | 714ff85251187a459c4eb28120d55b6a88cd2cb3 (patch) | |
tree | dda3b4177e536c7dd3d1f0377ca733222e22bc7c /drivers/gpu/drm/amd/include | |
parent | drm/amdgpu: create mqd for gfx queues on navi10 (diff) | |
download | linux-714ff85251187a459c4eb28120d55b6a88cd2cb3.tar.xz linux-714ff85251187a459c4eb28120d55b6a88cd2cb3.zip |
drm/amdgpu: add new HDP CG flags
HDP 5.0 supports SRAM power gating. all the LS (Light Sleep)/
DS (Deep Sleep)/SD (Shut Down) modes are supported. However,
only one of these modes can be enabled at one time.
There is no dynamic power mode switch support. clock/power gating
has to be disabled before making any power mode change.
Signed-off-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.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 574bf6e70763..abf0454b1a9d 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -93,6 +93,8 @@ enum amd_powergating_state { #define AMD_CG_SUPPORT_DRM_MGCG (1 << 22) #define AMD_CG_SUPPORT_DF_MGCG (1 << 23) #define AMD_CG_SUPPORT_VCN_MGCG (1 << 24) +#define AMD_CG_SUPPORT_HDP_DS (1 << 25) +#define AMD_CG_SUPPORT_HDP_SD (1 << 26) /* PG flags */ #define AMD_PG_SUPPORT_GFX_PG (1 << 0) #define AMD_PG_SUPPORT_GFX_SMG (1 << 1) |