On Wed, 08 Jan 2025 07:06:03 -0800, Tejas Upadhyay wrote:
>
> Extensions in exec queue creation formatted to have uniform
> spacing in defines.
>
> Signed-off-by: Tejas Upadhyay <tejas.upadh...@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

This is wrong. For the lower 2 #define's are sub-property types of
set_property. The original code is correct.

Reply via email to