summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 19:03:20 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 19:03:20 +0200
commit65e7274008446d2059b7fd7cd6d7b1d6b04da0ce (patch)
treecea687a01de551075f0e4b54768a370cc0d5331a /shared-core/drm.h
parentc488e25ceb421c6f84f110d786d9814ac4dba1b2 (diff)
ttm create / destroy / ref / unref ioctl.
Diffstat (limited to 'shared-core/drm.h')
-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 feadfc67..450864bc 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -688,6 +688,8 @@ typedef struct drm_bo_arg {
unsigned data_hi;
} drm_bo_arg_t;
+#define DRM_TTM_FLAG_SHAREABLE 0x00000001
+
typedef struct drm_ttm_arg {
enum {
drm_ttm_create,
@@ -696,8 +698,10 @@ typedef struct drm_ttm_arg {
drm_ttm_unreference
} op;
unsigned handle;
+ unsigned user_token;
unsigned size_lo;
unsigned size_hi;
+ unsigned flags;
}drm_ttm_arg_t;