aboutsummaryrefslogtreecommitdiff
path: root/shared-core/radeon_drm.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-10-03 17:37:07 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-10-03 17:37:07 +0200
commit11f0e450dd7d711eb69aa9c27ed4aa72d913d697 (patch)
treef2614c10de75a62fea7e4335903d5fcae13210fe /shared-core/radeon_drm.h
parenta5fb264257651d50afe84be7e20f91df41242aa8 (diff)
libdrm_radeon: Update RADEON_TILING_* flags to what's in current kernels.
Diffstat (limited to 'shared-core/radeon_drm.h')
-rw-r--r--shared-core/radeon_drm.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h
index 47f1952e..f53057ab 100644
--- a/shared-core/radeon_drm.h
+++ b/shared-core/radeon_drm.h
@@ -799,11 +799,12 @@ struct drm_radeon_gem_create {
uint32_t flags;
};
-#define RADEON_TILING_MACRO 0x1
-#define RADEON_TILING_MICRO 0x2
-#define RADEON_TILING_SWAP 0x4
-#define RADEON_TILING_SURFACE 0x8 /* this object requires a surface
- * when mapped - i.e. front buffer */
+#define RADEON_TILING_MACRO 0x1
+#define RADEON_TILING_MICRO 0x2
+#define RADEON_TILING_SWAP_16BIT 0x4
+#define RADEON_TILING_SWAP_32BIT 0x8
+#define RADEON_TILING_SURFACE 0x10 /* this object requires a surface
+ * when mapped - i.e. front buffer */
struct drm_radeon_gem_set_tiling {
uint32_t handle;