drm-uapi: Add sync_file.h
authorJan Beich <jbeich@FreeBSD.org>
Mon, 15 Jun 2020 17:55:51 +0000 (17:55 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 16:02:33 +0000 (16:02 +0000)
commit0bd5f9a5bc92ad75675ea42e9163d5520075b5e2
treeb144f42080e745cd206fd2c7bad41e16c52ca303
parent8006feda09869a0feedd33714358821e81d1f762
drm-uapi: Add sync_file.h

Based on <linux/sync_file.h> with BSD portability conditional.
At least FreeBSD supports SYNC_IOC_* via LinuxKPI in DRM.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5463>
include/drm-uapi/sync_file.h [new file with mode: 0644]