Re: [PATCH 3/8] drm: introduce sync objects as sync file objects with no fd (v2.1)

2017-04-12 Thread Emil Velikov
Hi Dave, On 12 April 2017 at 05:57, Dave Airlie wrote: > +struct drm_syncobj_handle { > + __u32 handle; > + /** Flags.. only applicable for handle->fd */ > + __u32 flags; > + > + __s32 fd; > +}; I think this struct need a __u32 pad as well. Thanks Emil __

[PATCH 3/8] drm: introduce sync objects as sync file objects with no fd (v2.1)

2017-04-11 Thread Dave Airlie
From: Dave Airlie Sync objects are new toplevel drm object, that have the same semantics as sync_file objects, but without requiring an fd to be consumed to support them. This patch just enables the DRM interface to create these objects, it doesn't actually provide any semaphore objects or new f