[RFC PATCH 2/2] drm/uapi: Adjust uniform spacing

Tejas Upadhyay tejas.upadhyay at intel.com
Wed Jan 8 15:06:03 UTC 2025


Extensions in exec queue creation formatted to have uniform
spacing in defines.

Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
---
 include/uapi/drm/xe_drm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 62447f5422d8..868dac05c100 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1108,9 +1108,9 @@ struct drm_xe_vm_bind {
  *
  */
 struct drm_xe_exec_queue_create {
-#define DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY		0
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_PRIORITY		0
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_TIMESLICE		1
+#define DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY	0
+#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_PRIORITY		0
+#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_TIMESLICE	1
 	/** @extensions: Pointer to the first extension struct, if any */
 	__u64 extensions;
 
-- 
2.34.1



More information about the dri-devel mailing list