[PATCH 2/4] sync_file: add replace and export some functionality
chris at chris-wilson.co.uk
Tue Mar 14 09:00:31 UTC 2017
On Tue, Mar 14, 2017 at 10:50:52AM +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> Using sync_file to back vulkan semaphores means need to replace
> the fence underlying the sync file. This replace function removes
> the callback, swaps the fence, and returns the old one. This
> also exports the alloc and fdget functionality for the semaphore
> wrapper code.
Did you think about encapsulating a reservation object?
Chris Wilson, Intel Open Source Technology Centre
More information about the amd-gfx