[PATCH i-g-t v2 1/2] drm-uapi/xe: Add IP version to GT query

Matt Roper matthew.d.roper at intel.com
Fri Dec 8 00:29:43 UTC 2023


Align with commit ("drm/xe/uapi: Add IP version and stepping to GT list
query")

v2:
 - s/revid/rev/ to match rename on kernel series

Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
---
 include/drm-uapi/xe_drm.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index 590f7b7af..19048956b 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -396,8 +396,16 @@ struct drm_xe_gt {
 	 * memory and memory living in a different tile.
 	 */
 	__u64 far_mem_regions;
+	/** @ip_ver_major: Graphics/media IP major version on GMD_ID platforms */
+	__u16 ip_ver_major;
+	/** @ip_ver_minor: Graphics/media IP minor version on GMD_ID platforms */
+	__u16 ip_ver_minor;
+	/** @ip_ver_rev: Graphics/media IP revision version on GMD_ID platforms */
+	__u16 ip_ver_rev;
+	/** @pad2: MBZ */
+	__u16 pad2;
 	/** @reserved: Reserved */
-	__u64 reserved[8];
+	__u64 reserved[7];
 };
 
 /**
-- 
2.43.0



More information about the igt-dev mailing list