diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-08-15 14:45:35 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2016-11-05 10:16:46 -0400 |
commit | f803a45e744272190aaaab1ad7c702641190d002 (patch) | |
tree | 2089fae32e457050f523350db644f1e5fdda2f37 /Makefile.sources | |
parent | 6493860d70b4b1bc4b7327dbb8b951643413a0ae (diff) | |
download | libdrm-sun4i-f803a45e744272190aaaab1ad7c702641190d002.tar.gz libdrm-sun4i-f803a45e744272190aaaab1ad7c702641190d002.tar.bz2 libdrm-sun4i-f803a45e744272190aaaab1ad7c702641190d002.zip |
add libsync.h helper
Rather than cut/pasting these couple ioctl wrappers everywhere, just
stuff them as static-inline into a header.
This is probably mostly used from mesa, but some drivers, test apps, etc
may also want to use it from libdrm.
v2: handle EINTR, add sync_accumulate() based on #dri-devel discussion,
etc
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'Makefile.sources')
-rw-r--r-- | Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.sources b/Makefile.sources index a57036a6..10aa1d0f 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -13,6 +13,7 @@ LIBDRM_FILES := \ util_math.h LIBDRM_H_FILES := \ + libsync.h \ xf86drm.h \ xf86drmMode.h |