summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-02-02 15:03:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 21:25:52 -0500
commit9faa494e2fcc10162f725a3bda98b627b6f50bcb (patch)
tree4a6c2935fda6cccdff5d4734c62b767ef7cdc658
parent714ff85251187a459c4eb28120d55b6a88cd2cb3 (diff)
downloadblackbird-op-linux-9faa494e2fcc10162f725a3bda98b627b6f50bcb.tar.gz
blackbird-op-linux-9faa494e2fcc10162f725a3bda98b627b6f50bcb.zip
drm/amdgpu: add flag to support IH clock gating
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>
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h1
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 abf0454b1a9d..15fbb2dff462 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -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)
OpenPOWER on IntegriCloud