[PATCH v2 0/3] drm/vc4: Syncobj import export

Stefan Schake stschake at gmail.com
Tue Apr 24 15:03:44 PDT 2018


v2 drops the extra syncobj parameter and gets rid of the submit flags
since 0 is never a valid syncobj handle.

This series allows userspace to submit syncobj handles for importing
a fence to wait on or exporting the job fence as part of submission.

The primary use of this is to enable native fence fd support in Mesa.
Userspace implementation is under review and available here:

https://patchwork.freedesktop.org/series/42081/

Stefan Schake (3):
  drm/vc4: Syncobj import support
  drm/vc4: Export fence through syncobj
  drm/vc4: Enable syncobj support

 drivers/gpu/drm/vc4/vc4_drv.c |  3 ++-
 drivers/gpu/drm/vc4/vc4_drv.h |  1 +
 drivers/gpu/drm/vc4/vc4_gem.c | 60 ++++++++++++++++++++++++++++++++++++++-----
 include/uapi/drm/vc4_drm.h    | 13 +++++++---
 4 files changed, 65 insertions(+), 12 deletions(-)

-- 
2.7.4




More information about the linux-rpi-kernel mailing list