summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 21:57:37 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 21:57:37 +0200
commitde144ba23c1245cf021a63cc739c7c9903568272 (patch)
treeef8fc738aa2e4cad7ac4f1178b1cb7aaf91b9dc8 /shared-core
parent23f01c9fe8e6170459fe46ad5fc9757bbe967d96 (diff)
Part of buffer object libdrm interface.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 5888c9be..c65ecc00 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -736,6 +736,9 @@ typedef struct drm_bo_arg_reply {
drm_u64_t offset;
unsigned arg_handle;
unsigned map_flags;
+ unsigned mask;
+ unsigned hint;
+ drm_u64_t buffer_start;
}drm_bo_arg_reply_t;
@@ -813,6 +816,7 @@ typedef union drm_bo_arg{
#ifdef __linux__
#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)
#endif
/*@}*/