summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f781abc6..a7d778ce 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -693,23 +693,23 @@ typedef struct drm_ttm_arg {
*/
/* Pinned buffer. */
-#define DRM_BO_FLAG_NO_EVICT 0x00000001
+#define DRM_BO_FLAG_NO_EVICT 0x00000010
/* Always keep a system memory shadow to a vram buffer */
-#define DRM_BO_FLAG_SHADOW_VRAM 0x00000002
+#define DRM_BO_FLAG_SHADOW_VRAM 0x00000020
/* When mapped for reading, make sure the buffer is cached even
if it means moving the buffer to system memory */
-#define DRM_BO_FLAG_SHAREABLE 0x00000004
+#define DRM_BO_FLAG_SHAREABLE 0x00000040
/* When there is a choice between VRAM and TT, prefer VRAM.
The default behaviour is to prefer TT. */
-#define DRM_BO_FLAG_CACHED 0x00000008
+#define DRM_BO_FLAG_CACHED 0x00000080
/* The buffer is shareable with other processes */
-#define DRM_BO_FLAG_READ_CACHED 0x00001000
+#define DRM_BO_FLAG_READ_CACHED 0x00080000
/* The buffer is currently cached */
-#define DRM_BO_FLAG_PREFER_VRAM 0x00002000
+#define DRM_BO_FLAG_PREFER_VRAM 0x00040000
/* Bind this buffer cached if the hardware supports it. */
-#define DRM_BO_FLAG_BIND_CACHED 0x00004000
+#define DRM_BO_FLAG_BIND_CACHED 0x0002000
/* Translation table aperture */
#define DRM_BO_FLAG_MEM_TT 0x01000000