[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-28 Thread Sumit Semwal
Hi Greg, On 19 July 2016 at 17:51, Sumit Semwal wrote: > (Adding Greg KH) > > Hi Greg, > > On 19 July 2016 at 17:45, Sumit Semwal wrote: >> Hi Greg, >> >> >> On 12 July 2016 at 23:38, Gustavo Padovan wrote: >>> From: Gustavo Padovan >>> >>> Create sync_file->fence to abstract the type of

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-28 Thread Greg Kroah-Hartman
On Thu, Jul 28, 2016 at 04:30:36PM +0530, Sumit Semwal wrote: > Hi Greg, > > On 19 July 2016 at 17:51, Sumit Semwal wrote: > > (Adding Greg KH) > > > > Hi Greg, > > > > On 19 July 2016 at 17:45, Sumit Semwal wrote: > >> Hi Greg, > >> > >> > >> On 12 July 2016 at 23:38, Gustavo Padovan wrote: >

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-19 Thread Sumit Semwal
(Adding Greg KH) Hi Greg, On 19 July 2016 at 17:45, Sumit Semwal wrote: > Hi Greg, > > > On 12 July 2016 at 23:38, Gustavo Padovan wrote: >> From: Gustavo Padovan >> >> Create sync_file->fence to abstract the type of fence we are using for >> each sync_file. If only one fence is present we

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-19 Thread Sumit Semwal
Hi Greg, On 12 July 2016 at 23:38, Gustavo Padovan wrote: > From: Gustavo Padovan > > Create sync_file->fence to abstract the type of fence we are using for > each sync_file. If only one fence is present we use a normal struct fence > but if there is more fences to be added to the sync_file a

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-12 Thread Gustavo Padovan
From: Gustavo Padovan Create sync_file->fence to abstract the type of fence we are using for each sync_file. If only one fence is present we use a normal struct fence but if there is more fences to be added to the sync_file a fence_array is created. This change