[Mesa-dev] [PATCH 0/3] anv: Add a BO-based timeline implementation

Jason Ekstrand jason at jlekstrand.net
Fri Oct 26 18:40:18 UTC 2018

The upcoming timeline semaphore extension will require kernel support in
order to be able to share timeline semaphores between processes.  However,
we can fake it reasonably well with a userspace list of BOs and time
points.  The third patch is such an implementation in the Intel driver.
The first is a bugfix and the second is just a nice refactor that I'd like
to land sooner rather than later.

Jason Ekstrand (3):
  anv: Flag semaphore BOs as external
  anv: Use absolute timeouts in wait_for_bo_fences
  anv: Add a userspace timeline implementation based on BOs

 src/intel/vulkan/anv_private.h |  23 +++
 src/intel/vulkan/anv_queue.c   | 257 +++++++++++++++++++++++++++------
 2 files changed, 239 insertions(+), 41 deletions(-)


More information about the mesa-dev mailing list