summaryrefslogtreecommitdiff
path: root/libdrm/xf86mm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-26 10:31:14 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-26 10:31:14 +0200
commita4c87d3796cac374d25e01b26bdbb9028ce03107 (patch)
treeb8d61399019adfa5259ac9ee3186980b19d6a80b /libdrm/xf86mm.h
parent1681189e11b5a00ae72a55de932146ea37f7afd9 (diff)
Minor libdrm fixes.
Diffstat (limited to 'libdrm/xf86mm.h')
-rw-r--r--libdrm/xf86mm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h
index 49ae2c04..d3df8497 100644
--- a/libdrm/xf86mm.h
+++ b/libdrm/xf86mm.h
@@ -29,6 +29,7 @@
#ifndef _XF86MM_H_
#define _XF86MM_H_
#include <stddef.h>
+#include <stdint.h>
#include "drm.h"
/*
@@ -37,7 +38,7 @@
* be protected using an external mutex.
*
* Note: Don't protect the following functions, as it may lead to deadlocks:
- * drmBOUnmap(), drmFenceBuffers().
+ * drmBOUnmap().
* The kernel is synchronizing and refcounting buffer maps.
* User space only needs to refcount object usage within the same application.
*/
@@ -156,9 +157,6 @@ extern int drmBOUnreference(int fd, drmBO *buf);
extern int drmBOMap(int fd, drmBO *buf, unsigned mapFlags, unsigned mapHint,
void **address);
extern int drmBOUnmap(int fd, drmBO *buf);
-extern int drmBOValidate(int fd, drmBO *buf, uint32_t fence_class, uint64_t flags,
- uint64_t mask, unsigned hint);
-
extern int drmBOFence(int fd, drmBO *buf, unsigned flags, unsigned fenceHandle);
extern int drmBOInfo(int fd, drmBO *buf);
extern int drmBOBusy(int fd, drmBO *buf, int *busy);