summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-25 10:29:15 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-25 10:29:15 +0200
commitb9d9c30474238ac8ba4899a19fe4a97e9376f6c4 (patch)
tree2ad5e441477cdd3bcdf8a46a5158e02a06a4ad33 /libdrm
parent11f3e5e53f8fc4de90d1c289e0ba218ddfca23dc (diff)
Tighten permissions on some buffer manager ioctls.
Set bo init minor to 0. Add the version function to header.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86mm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h
index b0923440..49ae2c04 100644
--- a/libdrm/xf86mm.h
+++ b/libdrm/xf86mm.h
@@ -179,6 +179,9 @@ extern int drmBOSetStatus(int fd, drmBO *buf,
unsigned int hint,
unsigned int desired_tile_stride,
unsigned int tile_info);
+extern int drmBOVersion(int fd, unsigned int *major,
+ unsigned int *minor,
+ unsigned int *patchlevel);
#endif