From: Hawking Zhang Date: Sat, 2 Feb 2019 07:03:11 +0000 (+0800) Subject: drm/amdgpu: add flag to support IH clock gating X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9faa494e2fcc10162f725a3bda98b627b6f50bcb;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: add flag to support IH clock gating Add new flag for IH (interrupt handler) clockgating. Signed-off-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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)