summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-25 18:05:35 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-25 18:05:35 +0200
commit4c03030b12bae28dad50d69bd271de632c43ff13 (patch)
tree5f719dc1e98584077b2a257be2d548143583fe3c /shared-core
parent8fa43d4b2ff4137bab743bfaf6282aa327f16830 (diff)
Checkpoint commit
Buffer object code.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index cd2b1907..bda565b3 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -655,6 +655,23 @@ typedef struct drm_fence_arg {
} op;
} drm_fence_arg_t;
+#define DRM_BO_FLAG_READ 0x00000001
+#define DRM_BO_FLAG_WRITE 0x00000002
+#define DRM_BO_FLAG_EXE 0x00000004
+#define DRM_BO_FLAG_NO_MOVE 0x00000008
+#define DRM_BO_FLAG_NO_EVICT 0x00000010
+#define DRM_BO_FLAG_SHADOW_VRAM 0x00000020
+#define DRM_BO_FLAG_READ_LOCAL 0x00000040
+#define DRM_BO_FLAG_UNCACHED 0x00000080
+
+
+#define DRM_BO_FLAG_MEM_TT 0x01000000
+#define DRM_BO_FLAG_MEM_VRAM 0x02000000
+#define DRM_BO_FLAG_MEM_LOCAL 0x04000000
+#define DRM_BO_MASK_MEM 0xFFFFFFFF
+
+#define DRM_BO_HINT_PREFER_VRAM 0x00000001
+#define DRM_BO_HINT_AVOID_LOCAL 0x00000002
/**
* \name Ioctls Definitions