aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorLikun GAO <Likun.Gao@amd.com>2021-04-29 14:08:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-13 10:46:58 -0400
commit83a0b8639185f40ab7fc9dd291a057150eb9d238 (patch)
tree82dce280c799d5880dc8425c6e4312e9fabe3555 /drivers/gpu/drm/amd/include/amd_shared.h
parentdrm/amd/display: Initialize attribute for hdcp_srm sysfs file (diff)
downloadwireguard-linux-83a0b8639185f40ab7fc9dd291a057150eb9d238.tar.xz
wireguard-linux-83a0b8639185f40ab7fc9dd291a057150eb9d238.zip
drm/amdgpu: add judgement when add ip blocks (v2)
Judgement whether to add an sw ip according to the harvest info. v2: fix indentation (Alex) Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 43ed6291b2b8..9ab706cd07ff 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -216,6 +216,12 @@ enum PP_FEATURE_MASK {
PP_GFX_DCS_MASK = 0x80000,
};
+enum amd_harvest_ip_mask {
+ AMD_HARVEST_IP_VCN_MASK = 0x1,
+ AMD_HARVEST_IP_JPEG_MASK = 0x2,
+ AMD_HARVEST_IP_DMU_MASK = 0x4,
+};
+
enum DC_FEATURE_MASK {
DC_FBC_MASK = 0x1,
DC_MULTI_MON_PP_MCLK_SWITCH_MASK = 0x2,