linux/include/uapi
Bas Nieuwenhuizen ab723b7a99 drm/msm: Add syncobj support.
This

1) Enables core DRM syncobj support.
2) Adds options to the submission ioctl to wait/signal syncobjs.

Just like the wait fence fd, this does inline waits. Using the
scheduler would be nice but I believe it is out of scope for
this work.

Support for timeline syncobjs is implemented and the interface
is ready for it, but I'm not enabling it yet until there is
some code for turnip to use it.

The reset is mostly in there because in the presence of waiting
and signalling the same semaphores, resetting them after
signalling can become very annoying.

v2:
  - Fixed style issues
  - Removed a cleanup issue in a failure case
  - Moved to a copy_from_user per syncobj

v3:
 - Fixed a missing declaration introduced in v2
 - Reworked to use ERR_PTR/PTR_ERR
 - Simplified failure gotos.

Used by: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2769

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-05-18 09:26:32 -07:00
..
asm-generic y2038: hide timeval/timespec/itimerval/itimerspec types 2020-02-21 11:22:15 -08:00
drm drm/msm: Add syncobj support. 2020-05-18 09:26:32 -07:00
linux uapi: revert flexible-array conversions 2020-05-04 11:30:15 -05:00
misc crypto: hisilicon - register zip engine to uacce 2020-02-22 09:25:42 +08:00
mtd mtd: abi: do not use C++ style comments in uapi header 2019-07-07 20:31:29 +02:00
rdma Merge branch 'mlx5_tx_steering' into rdma.git for-next 2020-03-27 13:26:59 -03:00
scsi uapi: revert flexible-array conversions 2020-05-04 11:30:15 -05:00
sound Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h" 2020-03-31 11:01:12 +02:00
video
xen
Kbuild