OSDN Git Service

drm/amdgpu: add new CG flag for ROM clockgating
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Apr 2016 04:52:24 +0000 (00:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:21:43 +0000 (20:21 -0400)
Acked-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h

index 04e4090..f8afe53 100644 (file)
@@ -104,6 +104,7 @@ enum amd_powergating_state {
 #define AMD_CG_SUPPORT_VCE_MGCG                        (1 << 14)
 #define AMD_CG_SUPPORT_HDP_LS                  (1 << 15)
 #define AMD_CG_SUPPORT_HDP_MGCG                        (1 << 16)
+#define AMD_CG_SUPPORT_ROM_MGCG                        (1 << 17)
 
 /* PG flags */
 #define AMD_PG_SUPPORT_GFX_PG                  (1 << 0)