[PATCH 08/23] drm/amdgpu: add new flag for virtual function

Xiangliang Yu Xiangliang.Yu at amd.com
Sat Dec 17 16:16:30 UTC 2016


Add new flag to identify chips that is support virtualization.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu at amd.com>
---
 drivers/gpu/drm/amd/include/amd_shared.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index c02469a..9e555c7 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -59,6 +59,7 @@ enum amd_chip_flags {
 	AMD_IS_APU      = 0x00020000UL,
 	AMD_IS_PX       = 0x00040000UL,
 	AMD_EXP_HW_SUPPORT = 0x00080000UL,
+	AMD_IS_VF	= 0x00100000UL,
 };
 
 enum amd_ip_block_type {
-- 
2.7.4



More information about the amd-gfx mailing list