From f803a45e744272190aaaab1ad7c702641190d002 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 15 Aug 2016 14:45:35 -0400 Subject: 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 Reviewed-by: Chris Wilson --- Makefile.sources | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.sources') 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 -- cgit v1.2.3