radeon: fix the build with older drm headers
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 7 Aug 2009 20:20:26 +0000 (16:20 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 7 Aug 2009 20:20:26 +0000 (16:20 -0400)
src/mesa/drivers/dri/radeon/radeon_bo_drm.h

index d52fb017d8afc1dd1c6b77a66fb2bae3ea657c35..427162d98f1254a4ff11316b1853d63b5feb7f17 100644 (file)
 #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 {