[PATCH v4 1/1] drm/syncobj: add sideband payload

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 9 11:44:01 UTC 2019


Quoting Lionel Landwerlin (2019-08-09 12:30:30)
> diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
> index 8a5b2f8f8eb9..1ce83853f997 100644
> --- a/include/uapi/drm/drm.h
> +++ b/include/uapi/drm/drm.h
> @@ -785,6 +785,22 @@ struct drm_syncobj_timeline_array {
>         __u32 pad;
>  };
>  
> +struct drm_syncobj_binary_array {
> +       /* A pointer to an array of u32 syncobj handles. */
> +       __u64 handles;
> +       /* A pointer to an array of u32 access flags for each handle. */
> +       __u64 access_flags;
> +       /* The binary value of a syncobj is read before it is incremented. */
> +#define I915_DRM_SYNCOBJ_BINARY_ITEM_VALUE_READ (1u << 0)
> +#define I915_DRM_SYNCOBJ_BINARY_ITEM_VALUE_INC  (1u << 1)

You're not in Kansas anymore ;)
-Chris


More information about the dri-devel mailing list