summaryrefslogtreecommitdiffstats
path: root/xf86drm.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-09-03 15:34:41 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-09-30 13:35:49 +0100
commitddbbdb13d80ea7f60e6f71356a444995b905366b (patch)
tree04182c9a710f73d88d1f435e9236d221d00f7da2 /xf86drm.h
parent2dd7054781876a0d5423c7755a7690815f3c2f5f (diff)
downloadexternal_libdrm-ddbbdb13d80ea7f60e6f71356a444995b905366b.tar.gz
external_libdrm-ddbbdb13d80ea7f60e6f71356a444995b905366b.tar.bz2
external_libdrm-ddbbdb13d80ea7f60e6f71356a444995b905366b.zip
drm: Introduce a drmSetClientCap() wrapper
That wraps around the new DRM_SET_CLIENT_CAP ioctl. v2: SET_CAP -> SET_CLIENT_CAP renaming Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 5ecb28465..1e763a3d2 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -609,6 +609,8 @@ extern int drmUpdateDrawableInfo(int fd, drm_drawable_t handle,
unsigned int num, void *data);
extern int drmCtlInstHandler(int fd, int irq);
extern int drmCtlUninstHandler(int fd);
+extern int drmSetClientCap(int fd, uint64_t capability,
+ uint64_t value);
/* General user-level programmer's API: authenticated client and/or X */
extern int drmMap(int fd,