summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-31 21:42:29 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-31 21:42:29 +0200
commit44f6d08988a77a640bea40d09cb61eec7566a5ce (patch)
tree0ce4e08474993190dd3065edb96b8976b04242df /shared-core/drm.h
parent03c137c5f8d44c374406efe19c01105fcf34d583 (diff)
Validation and fencing.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 9640855c..f76fd86f 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -723,7 +723,15 @@ typedef struct drm_ttm_arg {
/* When creating a buffer, Avoid system storage even if allowed */
#define DRM_BO_HINT_AVOID_LOCAL 0x00000001
/* Don't block on validate and map */
-#define DRM_BO_HINT_DONT_BLOCK 0x00000002
+#define DRM_BO_HINT_DONT_BLOCK 0x00000002
+/* Don't place this buffer on the unfenced list.*/
+#define DRM_BO_HINT_DONT_FENCE 0x00000004
+
+
+
+
+/* Driver specific flags. Could be for example rendering engine */
+#define DRM_BO_MASK_DRIVER 0x00F00000
typedef enum {
drm_bo_type_ttm,
@@ -779,7 +787,9 @@ typedef union drm_mm_init_arg{
enum {
mm_init,
mm_takedown,
- mm_query
+ mm_query,
+ mm_lock,
+ mm_unlock
} op;
drm_u64_t vr_p_offset;
drm_u64_t vr_p_size;