[PATCH i-g-t, v2 2/3] drm-uapi/xe: Define topology types as indexes rather than masks
Francois Dugast
francois.dugast at intel.com
Fri Apr 12 14:21:58 UTC 2024
Align with kernel commit ca83f9d20171 ("drm/xe/uapi: Define topology \
types as indexes rather than masks").
This is not a functional change.
Signed-off-by: Francois Dugast <francois.dugast at intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
include/drm-uapi/xe_drm.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index 91ea92035..d8816df83 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -518,9 +518,9 @@ struct drm_xe_query_topology_mask {
/** @gt_id: GT ID the mask is associated with */
__u16 gt_id;
-#define DRM_XE_TOPO_DSS_GEOMETRY (1 << 0)
-#define DRM_XE_TOPO_DSS_COMPUTE (1 << 1)
-#define DRM_XE_TOPO_EU_PER_DSS (1 << 2)
+#define DRM_XE_TOPO_DSS_GEOMETRY 1
+#define DRM_XE_TOPO_DSS_COMPUTE 2
+#define DRM_XE_TOPO_EU_PER_DSS 4
/** @type: type of mask */
__u16 type;
--
2.34.1
More information about the igt-dev
mailing list