diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-30 13:04:08 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-30 13:04:08 +0200 |
commit | e47a4fda2ef7aada45b7799ad20e8012102dc12e (patch) | |
tree | b7e5995074a56840702b28f874c67b060e901a39 /libdrm/xf86mm.h | |
parent | 033bda07e9a4eab5058fb919b375deb57b08b5be (diff) |
Memory manager init and takedown.
Diffstat (limited to 'libdrm/xf86mm.h')
-rw-r--r-- | libdrm/xf86mm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h index 08149d08..8711a144 100644 --- a/libdrm/xf86mm.h +++ b/libdrm/xf86mm.h @@ -29,7 +29,7 @@ #ifndef _XF86MM_H_ #define _XF86MM_H_ #include <stddef.h> -#include "xf86drm.h" +#include "drm.h" /* * List macros heavily inspired by the Linux kernel @@ -114,5 +114,12 @@ typedef struct _drmBOList { drmMMListHead free; } drmBOList; +extern int drmBOCreate(int fd, drmTTM *ttm, unsigned long start, unsigned long size, + void *user_buffer, drm_bo_type_t type, unsigned mask, + unsigned hint, drmBO *buf); +extern int drmBODestroy(int fd, drmBO *buf); +extern int drmBOReference(int fd, unsigned handle, drmBO *buf); +extern int drmBOUnReference(int fd, drmBO *buf); + #endif |