summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-01 16:38:06 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-01 16:38:06 +0200
commitef8e618cf30ab7dcbe8c7211e0c2508c5520a669 (patch)
treea2e176f15e84526ea09e28f12508468125c91d8d /shared-core/drm.h
parent11f51a9a877d1231551e8c6482a6f70daf380cdd (diff)
Export buffer info on map and validate ioctls.
Add an info ioctl operation.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f76fd86f..f781abc6 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -758,10 +758,18 @@ typedef struct drm_bo_arg_request {
drm_bo_fence,
drm_bo_destroy,
drm_bo_reference,
- drm_bo_unreference
+ drm_bo_unreference,
+ drm_bo_info
} op;
} drm_bo_arg_request_t;
+
+/*
+ * Reply flags
+ */
+
+#define DRM_BO_REP_BUSY 0x00000001
+
typedef struct drm_bo_arg_reply {
int ret;
unsigned handle;
@@ -771,6 +779,8 @@ typedef struct drm_bo_arg_reply {
unsigned arg_handle;
unsigned mask;
drm_u64_t buffer_start;
+ unsigned fence_flags;
+ unsigned rep_flags;
}drm_bo_arg_reply_t;