summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-27 13:08:31 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-27 13:08:31 +0200
commitdecacb2e6415029fe87a3680c8f967483ba05281 (patch)
tree54018bd91f4e0842848221c59e0e8eb5d2053c7a /libdrm
parentf6d5fecdd20b9fd9e8744d8f43fa276b73a1da78 (diff)
Reserve the new IOCTLs also for *bsd.
Bump libdrm version number to 2.2.0
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index ebf3f834..df41d77a 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -717,7 +717,7 @@ drmVersionPtr drmGetLibVersion(int fd)
* revision 1.2.x = added drmSetInterfaceVersion
* modified drmOpen to handle both busid and name
*/
- version->version_major = 1;
+ version->version_major = 2;
version->version_minor = 2;
version->version_patchlevel = 0;
@@ -2257,7 +2257,6 @@ int drmCommandWriteRead(int fd, unsigned long drmCommandIndex, void *data,
return 0;
}
-#ifdef __linux__
/*
* Valid flags are
@@ -3216,6 +3215,3 @@ int drmMMUnlock(int fd, unsigned memType)
return ret;
}
-
-
-#endif