summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-01 18:11:05 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-01 18:11:05 +0200
commit405b5d9ca8cc9f6c5c7bb764c684bf74ba7660c6 (patch)
treeb638e0fe1f0fb90d45bfb6434141e91688f4f726 /shared-core
parentef8e618cf30ab7dcbe8c7211e0c2508c5520a669 (diff)
Flag bit pattern bugfixes. Remove some error messages.
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