summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 13:04:08 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-30 13:04:08 +0200
commite47a4fda2ef7aada45b7799ad20e8012102dc12e (patch)
treeb7e5995074a56840702b28f874c67b060e901a39 /shared-core
parent033bda07e9a4eab5058fb919b375deb57b08b5be (diff)
Memory manager init and takedown.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f6abfeb9..f900dd51 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -747,8 +747,26 @@ typedef union drm_bo_arg{
drm_bo_arg_request_t req;
drm_bo_arg_reply_t rep;
} drm_bo_arg_t;
+
+typedef union drm_mm_init_arg{
+ struct {
+ enum {
+ mm_init,
+ mm_takedown,
+ mm_query
+ } op;
+ drm_u64_t vr_p_offset;
+ drm_u64_t vr_p_size;
+ drm_u64_t tt_p_offset;
+ drm_u64_t tt_p_size;
+ } req;
+ struct {
+ drm_handle_t mm_sarea;
+ } rep;
+} drm_mm_init_arg_t;
#endif
+
/**
* \name Ioctls Definitions
*/
@@ -818,6 +836,7 @@ typedef union drm_bo_arg{
#define DRM_IOCTL_FENCE DRM_IOWR(0x3b, drm_fence_arg_t)
#define DRM_IOCTL_TTM DRM_IOWR(0x3c, drm_ttm_arg_t)
#define DRM_IOCTL_BUFOBJ DRM_IOWR(0x3d, drm_bo_arg_t)
+#define DRM_IOCTL_MM_INIT DRM_IOWR(0x3e, drm_mm_init_arg_t)
#endif
/*@}*/