summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-08-07 16:20:26 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-08-07 16:20:26 -0400
commitcaf4f0ede78b4f6b1e340e33b96f21ce8a6ac344 (patch)
tree57cd2332b153f02d1ac00e805c3af5bafdf8322e /src/mesa
parent0d7fafa0ed706a2053944e9b25068dfed6339a0c (diff)
radeon: fix the build with older drm headers
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bo_drm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
index d52fb017d8..427162d98f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h
@@ -42,6 +42,12 @@
#define RADEON_BO_FLAGS_MACRO_TILE 1
#define RADEON_BO_FLAGS_MICRO_TILE 2
+#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 */
+
struct radeon_bo_manager;
struct radeon_bo {