Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-09-08 Thread Dave Airlie
On 9 Sep. 2017 10:17 am, "Marek Olšák" wrote: On Fri, Sep 8, 2017 at 10:08 PM, Dave Airlie wrote: > > > On 9 Sep. 2017 2:30 am, "Marek Olšák" wrote: > > What's the difference between HandleToFD and ExportSyncFile? > > > One just gives you an FD for sharing the syncobj itself, the other exports

Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-09-08 Thread Marek Olšák
On Fri, Sep 8, 2017 at 10:08 PM, Dave Airlie wrote: > > > On 9 Sep. 2017 2:30 am, "Marek Olšák" wrote: > > What's the difference between HandleToFD and ExportSyncFile? > > > One just gives you an FD for sharing the syncobj itself, the other exports > the syncobj state into a sync file and you get

Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-09-08 Thread Dave Airlie
On 9 Sep. 2017 2:30 am, "Marek Olšák" wrote: What's the difference between HandleToFD and ExportSyncFile? One just gives you an FD for sharing the syncobj itself, the other exports the syncobj state into a sync file and you get to do sync file stuff with it. A) is for process sharing B) for in

Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-09-08 Thread Marek Olšák
What's the difference between HandleToFD and ExportSyncFile? Thanks, Marek On Sat, Jun 17, 2017 at 3:06 AM, Dave Airlie wrote: > From: Dave Airlie > > These ioctls are now in drm next so add the first set of libdrm APIs. > > Signed-off-by: Dave Airlie > --- > include/drm/drm.h | 26 ++

Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-06-27 Thread Eric Anholt
Dave Airlie writes: > From: Dave Airlie > > These ioctls are now in drm next so add the first set of libdrm APIs. > > Signed-off-by: Dave Airlie It took me a bit of digging to understand the functional difference between drmSyncobjHandleToFD() and drmSyncobjExportSyncFile(), but the wrappers f

Re: [PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-06-26 Thread Dave Airlie
ping? Dave. On 17 June 2017 at 11:06, Dave Airlie wrote: > From: Dave Airlie > > These ioctls are now in drm next so add the first set of libdrm APIs. > > Signed-off-by: Dave Airlie > --- > include/drm/drm.h | 26 ++ > xf86drm.c | 81 >

[PATCH] libdrm: add drm syncobj create/destroy/import/export

2017-06-16 Thread Dave Airlie
From: Dave Airlie These ioctls are now in drm next so add the first set of libdrm APIs. Signed-off-by: Dave Airlie --- include/drm/drm.h | 26 ++ xf86drm.c | 81 +++ xf86drm.h | 8 ++ 3 files changed, 115