From ddbbdb13d80ea7f60e6f71356a444995b905366b Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Tue, 3 Sep 2013 15:34:41 +0100 Subject: 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 --- xf86drm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xf86drm.h') diff --git a/xf86drm.h b/xf86drm.h index 5ecb2846..1e763a3d 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, -- cgit v1.2.3