Re: [PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-31 Thread Gustavo Padovan
2017-07-31 Daniel Vetter : > On Sat, Jul 29, 2017 at 12:18:32PM -0300, Gustavo Padovan wrote: > > Hi Chris, > > > > 2017-07-28 Chris Wilson : > > > > > Up until recently sync_file were create to export a single dma-fence to > > > userspace, and so we could canabalise a bit insie dma-fence to mar

Re: [PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-31 Thread Daniel Vetter
On Sat, Jul 29, 2017 at 12:18:32PM -0300, Gustavo Padovan wrote: > Hi Chris, > > 2017-07-28 Chris Wilson : > > > Up until recently sync_file were create to export a single dma-fence to > > userspace, and so we could canabalise a bit insie dma-fence to mark > > whether or not we had enable polling

Re: [PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-29 Thread Gustavo Padovan
Hi Chris, 2017-07-28 Chris Wilson : > Up until recently sync_file were create to export a single dma-fence to > userspace, and so we could canabalise a bit insie dma-fence to mark > whether or not we had enable polling for the sync_file itself. However, > with the advent of syncobj, we do allow u

[PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-28 Thread Chris Wilson
Up until recently sync_file were create to export a single dma-fence to userspace, and so we could canabalise a bit insie dma-fence to mark whether or not we had enable polling for the sync_file itself. However, with the advent of syncobj, we do allow userspace to create multiple sync_files for a s