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

Sumit Semwal sumit.semwal at linaro.org
Tue Nov 8 19:32:03 UTC 2016


On 27 October 2016 at 03:24, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Wed, Oct 26, 2016 at 06:59:59PM -0200, Gustavo Padovan wrote:
>> From: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
>>
>> 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 <gustavo.padovan at collabora.co.uk>
> Fixes: 30cd85dd6edc ("dma-buf/sync_file: hold reference to fence when creating sync_file")
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> -Chris
>
Applied to drm-misc; Thanks!
> --
> Chris Wilson, Intel Open Source Technology Centre
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list