summaryrefslogtreecommitdiff
path: root/xf86drm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-02-21 11:27:19 +1000
committerDave Airlie <airlied@redhat.com>2011-03-04 15:25:51 +1000
commit5c6c6913d1260024e5d156db7973c9e46fe1ff03 (patch)
tree5db622ccb0cbb5c8b80ca53782cdb0b1abcc031d /xf86drm.h
parent4473a7e8234da6d16f4ccfa660fbd72ff1b7dd95 (diff)
Implement drmGetCap() to query device/driver capabilities
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 9b89f562..bf0d5df8 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -542,6 +542,7 @@ extern int drmOpenControl(int minor);
extern int drmClose(int fd);
extern drmVersionPtr drmGetVersion(int fd);
extern drmVersionPtr drmGetLibVersion(int fd);
+extern int drmGetCap(int fd, uint64_t capability, uint64_t *value);
extern void drmFreeVersion(drmVersionPtr);
extern int drmGetMagic(int fd, drm_magic_t * magic);
extern char *drmGetBusid(int fd);