[igt-dev] [PATCH v5 18/21] drm-uapi/xe: Move xe_exec after xe_exec_queue

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Nov 30 19:04:31 UTC 2023


On Thu, Nov 30, 2023 at 06:45:33PM +0000, Francois Dugast wrote:
> Align with commit ("drm/xe/uapi: Move xe_exec after xe_exec_queue")
> 
> Signed-off-by: Francois Dugast <francois.dugast at intel.com>

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

> ---
>  include/drm-uapi/xe_drm.h | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
> index 3938e553d..aa524f26e 100644
> --- a/include/drm-uapi/xe_drm.h
> +++ b/include/drm-uapi/xe_drm.h
> @@ -103,11 +103,11 @@ struct xe_user_extension {
>  #define DRM_XE_VM_CREATE		0x03
>  #define DRM_XE_VM_DESTROY		0x04
>  #define DRM_XE_VM_BIND			0x05
> -#define DRM_XE_EXEC			0x06
> -#define DRM_XE_EXEC_QUEUE_CREATE	0x07
> -#define DRM_XE_EXEC_QUEUE_DESTROY	0x08
> -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY	0x09
> -#define DRM_XE_EXEC_QUEUE_GET_PROPERTY	0x0a
> +#define DRM_XE_EXEC_QUEUE_CREATE	0x06
> +#define DRM_XE_EXEC_QUEUE_DESTROY	0x07
> +#define DRM_XE_EXEC_QUEUE_SET_PROPERTY	0x08
> +#define DRM_XE_EXEC_QUEUE_GET_PROPERTY	0x09
> +#define DRM_XE_EXEC			0x0a
>  #define DRM_XE_WAIT_USER_FENCE		0x0b
>  /* Must be kept compact -- no holes */
>  
> @@ -117,11 +117,11 @@ struct xe_user_extension {
>  #define DRM_IOCTL_XE_VM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_CREATE, struct drm_xe_vm_create)
>  #define DRM_IOCTL_XE_VM_DESTROY			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_DESTROY, struct drm_xe_vm_destroy)
>  #define DRM_IOCTL_XE_VM_BIND			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)
> -#define DRM_IOCTL_XE_EXEC			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
>  #define DRM_IOCTL_XE_EXEC_QUEUE_CREATE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_CREATE, struct drm_xe_exec_queue_create)
>  #define DRM_IOCTL_XE_EXEC_QUEUE_DESTROY		DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_DESTROY, struct drm_xe_exec_queue_destroy)
>  #define DRM_IOCTL_XE_EXEC_QUEUE_SET_PROPERTY	DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_SET_PROPERTY, struct drm_xe_exec_queue_set_property)
>  #define DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_GET_PROPERTY, struct drm_xe_exec_queue_get_property)
> +#define DRM_IOCTL_XE_EXEC			DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
>  #define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
>  
>  /**
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list