summaryrefslogtreecommitdiff
path: root/src/radeon_drm.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-10-03 16:33:33 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-10-03 16:33:33 +0200
commit9460ea864b12ec1fbd11c5d9a20bb5a4279d9d3d (patch)
treef5064ca63804da4240b0363441cfc1d73ca703ad /src/radeon_drm.h
parentaee6b6f2c120baf477b4845ddc1a94637c31db2f (diff)
Fix KMS on big endian machines.
Requires at least xserver 1.7 to work properly. Also make sure the front buffer is and stays tiled if colour tiling is enabled.
Diffstat (limited to 'src/radeon_drm.h')
-rw-r--r--src/radeon_drm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/radeon_drm.h b/src/radeon_drm.h
index f974e193..49a5f81a 100644
--- a/src/radeon_drm.h
+++ b/src/radeon_drm.h
@@ -802,9 +802,10 @@ struct drm_radeon_gem_create {
#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_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;