drm/amdgpu:Add DPG support flag
authorJames Zhu <James.Zhu@amd.com>
Mon, 10 Sep 2018 19:23:40 +0000 (15:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:23 +0000 (21:09 -0500)
Add DPG support flag for VCN DPG mode.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian K├Ânig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h

index 86b167e..2083c30 100644 (file)
@@ -109,6 +109,7 @@ enum amd_powergating_state {
 #define AMD_PG_SUPPORT_GFX_PIPELINE            (1 << 12)
 #define AMD_PG_SUPPORT_MMHUB                   (1 << 13)
 #define AMD_PG_SUPPORT_VCN                     (1 << 14)
+#define AMD_PG_SUPPORT_VCN_DPG (1 << 15)
 
 enum PP_FEATURE_MASK {
        PP_SCLK_DPM_MASK = 0x1,