diff options
author | James Zhu <James.Zhu@amd.com> | 2018-09-10 15:23:40 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-26 22:09:23 -0400 |
commit | f28ff06210f444da0b52168450625ad883ff8a1f (patch) | |
tree | 951a322c99b4dc81f60eaa68322bf243c33d1132 | |
parent | b604545b921b0b6af1785db85bab8e790a18ddad (diff) |
drm/amdgpu:Add DPG support flag
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>
-rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 86b167ec9863..2083c308007c 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h | |||
@@ -109,6 +109,7 @@ enum amd_powergating_state { | |||
109 | #define AMD_PG_SUPPORT_GFX_PIPELINE (1 << 12) | 109 | #define AMD_PG_SUPPORT_GFX_PIPELINE (1 << 12) |
110 | #define AMD_PG_SUPPORT_MMHUB (1 << 13) | 110 | #define AMD_PG_SUPPORT_MMHUB (1 << 13) |
111 | #define AMD_PG_SUPPORT_VCN (1 << 14) | 111 | #define AMD_PG_SUPPORT_VCN (1 << 14) |
112 | #define AMD_PG_SUPPORT_VCN_DPG (1 << 15) | ||
112 | 113 | ||
113 | enum PP_FEATURE_MASK { | 114 | enum PP_FEATURE_MASK { |
114 | PP_SCLK_DPM_MASK = 0x1, | 115 | PP_SCLK_DPM_MASK = 0x1, |