]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/xe/uapi: Remove DRM_XE_UFENCE_WAIT_MASK_*
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 15 Dec 2023 15:45:36 +0000 (15:45 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:46:59 +0000 (11:46 -0500)
Those are just possible values for the comparison mask but they are not
specific magic values. Let's keep them as examples in the documentation
but remove them from the uAPI.

Suggested-by: Matthew Brost <matthew.brost@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Acked-by: José Roberto de Souza <jose.souza@intel.com>
Acked-by: Mateusz Naklicki <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
include/uapi/drm/xe_drm.h

index 128369299e4981c8f7667a76ec55c3d6d84d2fc7..d122f985435a00444d757556532c31246782e723 100644 (file)
@@ -1040,11 +1040,13 @@ struct drm_xe_wait_user_fence {
        /** @value: compare value */
        __u64 value;
 
-#define DRM_XE_UFENCE_WAIT_MASK_U8     0xffu
-#define DRM_XE_UFENCE_WAIT_MASK_U16    0xffffu
-#define DRM_XE_UFENCE_WAIT_MASK_U32    0xffffffffu
-#define DRM_XE_UFENCE_WAIT_MASK_U64    0xffffffffffffffffu
-       /** @mask: comparison mask */
+       /**
+        * @mask: comparison mask, values can be for example:
+        *  - 0xffu for u8
+        *  - 0xffffu for u16
+        *  - 0xffffffffu for u32
+        *  - 0xffffffffffffffffu for u64
+        */
        __u64 mask;
 
        /**