summaryrefslogtreecommitdiff
path: root/include/drm-uapi
diff options
context:
space:
mode:
authorFrancois Dugast <francois.dugast@intel.com>2024-04-12 14:21:58 +0000
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2024-04-24 16:43:50 +0200
commit6114611af7e544dc1c812c85b56c6a74b20f9be1 (patch)
tree104e12eb24a9a691e379e004324ceddb784313b8 /include/drm-uapi
parent9ba41c55d731711aeee7296377a1c256c045283a (diff)
drm-uapi/xe: Define topology types as indexes rather than masks
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@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'include/drm-uapi')
-rw-r--r--include/drm-uapi/xe_drm.h6
1 files 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;