From caf4f0ede78b4f6b1e340e33b96f21ce8a6ac344 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 7 Aug 2009 16:20:26 -0400 Subject: [PATCH] radeon: fix the build with older drm headers --- src/mesa/drivers/dri/radeon/radeon_bo_drm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/radeon/radeon_bo_drm.h b/src/mesa/drivers/dri/radeon/radeon_bo_drm.h index d52fb017d8a..427162d98f1 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 { -- 2.30.2