drm/amdgpu: add flag to support IH clock gating
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 2 Feb 2019 07:03:11 +0000 (15:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:25:52 +0000 (21:25 -0500)
Add new flag for IH (interrupt handler) clockgating.

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>
drivers/gpu/drm/amd/include/amd_shared.h

index abf0454b1a9dab01eec83e5c9c307deb99a0a590..15fbb2dff4626b9b62e6ef232e78ad4e5ff9374b 100644 (file)
@@ -95,6 +95,7 @@ enum amd_powergating_state {
 #define AMD_CG_SUPPORT_VCN_MGCG                        (1 << 24)
 #define AMD_CG_SUPPORT_HDP_DS                  (1 << 25)
 #define AMD_CG_SUPPORT_HDP_SD                  (1 << 26)
+#define AMD_CG_SUPPORT_IH_CG                   (1 << 27)
 /* PG flags */
 #define AMD_PG_SUPPORT_GFX_PG                  (1 << 0)
 #define AMD_PG_SUPPORT_GFX_SMG                 (1 << 1)