summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f88192ff..80c1a3e2 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -870,9 +870,12 @@ struct drm_bo_op_arg {
#define DRM_BO_MEM_TYPES 8 /* For now. */
+#define DRM_BO_LOCK_UNLOCK_BM (1 << 0)
+#define DRM_BO_LOCK_IGNORE_NO_EVICT (1 << 1)
+
struct drm_mm_type_arg {
unsigned int mem_type;
- int lock_unlock_bm;
+ unsigned int lock_flags;
};
struct drm_mm_init_arg {