aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs2011-02-20 19:27:19 -0600
committerDave Airlie2011-03-03 23:25:51 -0600
commit5c6c6913d1260024e5d156db7973c9e46fe1ff03 (patch)
tree5db622ccb0cbb5c8b80ca53782cdb0b1abcc031d /xf86drm.h
parent4473a7e8234da6d16f4ccfa660fbd72ff1b7dd95 (diff)
downloadexternal-libdrm-5c6c6913d1260024e5d156db7973c9e46fe1ff03.tar.gz
external-libdrm-5c6c6913d1260024e5d156db7973c9e46fe1ff03.tar.xz
external-libdrm-5c6c6913d1260024e5d156db7973c9e46fe1ff03.zip
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);
542extern int drmClose(int fd); 542extern int drmClose(int fd);
543extern drmVersionPtr drmGetVersion(int fd); 543extern drmVersionPtr drmGetVersion(int fd);
544extern drmVersionPtr drmGetLibVersion(int fd); 544extern drmVersionPtr drmGetLibVersion(int fd);
545extern int drmGetCap(int fd, uint64_t capability, uint64_t *value);
545extern void drmFreeVersion(drmVersionPtr); 546extern void drmFreeVersion(drmVersionPtr);
546extern int drmGetMagic(int fd, drm_magic_t * magic); 547extern int drmGetMagic(int fd, drm_magic_t * magic);
547extern char *drmGetBusid(int fd); 548extern char *drmGetBusid(int fd);