[PATCH] dma-buf/sw_sync: put fence reference from the fence creation

2016-11-09 Thread Sumit Semwal
On 27 October 2016 at 03:24, Chris Wilson wrote: > On Wed, Oct 26, 2016 at 06:59:59PM -0200, Gustavo Padovan wrote: >> From: Gustavo Padovan >> >> Once sw_sync_ioctl_create_fence() returns we no longer have the >> *pt pointer to the fence base object thus we need to put the reference >> we have

[PATCH] dma-buf/sw_sync: put fence reference from the fence creation

2016-10-26 Thread Chris Wilson
On Wed, Oct 26, 2016 at 06:59:59PM -0200, Gustavo Padovan wrote: > From: Gustavo Padovan > > Once sw_sync_ioctl_create_fence() returns we no longer have the > *pt pointer to the fence base object thus we need to put the reference > we have from the fence creation to keep a correct reference

[PATCH] dma-buf/sw_sync: put fence reference from the fence creation

2016-10-26 Thread Gustavo Padovan
From: Gustavo Padovan Once sw_sync_ioctl_create_fence() returns we no longer have the *pt pointer to the fence base object thus we need to put the reference we have from the fence creation to keep a correct reference accounting. Signed-off-by: Gustavo Padovan