[Mesa-dev] [PATCH 0/3] anv: Use DRM sync objects for external semaphores when available

Jason Ekstrand jason at jlekstrand.net
Wed Jul 5 17:21:05 UTC 2017


This tiny series makes us start using the new DRM syncobj API for external
semaphores instead of the dma-buf hack.  I'm hoping we can get this
reviewed quickly because I'd like to land the kernel bits as soon as
possible.

Mesa branch:

https://cgit.freedesktop.org/~jekstrand/mesa/log/?h=review/anv-syncobj

Kernel branch:

https://cgit.freedesktop.org/~jekstrand/linux/log/?h=drm-syncobj4

This series does not depend on syncobj wait support.  I have that patch in
my kernel branch simply so that I only have one experimental syncobj kernel
to work on.

Cc: Chad Versace <chadversary at chromium.org>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>

Jason Ekstrand (3):
  intel/drm: Pull in the i916 fence array API
  anv/gem: Add a drm syncobj support
  anv: Use DRM sync objects for external semaphores when available

 src/intel/drm/i915_drm.h           | 30 +++++++++++-
 src/intel/vulkan/anv_batch_chain.c | 56 +++++++++++++++++++++++
 src/intel/vulkan/anv_device.c      |  2 +
 src/intel/vulkan/anv_gem.c         | 52 +++++++++++++++++++++
 src/intel/vulkan/anv_gem_stubs.c   | 24 ++++++++++
 src/intel/vulkan/anv_private.h     | 12 +++++
 src/intel/vulkan/anv_queue.c       | 93 ++++++++++++++++++++++++++++----------
 7 files changed, 243 insertions(+), 26 deletions(-)

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list