aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-08-07 17:35:12 -0400
committerAlex Deucher <[email protected]>2009-08-07 17:36:07 -0400
commitf7474a577d54765d893b78fbf0d6a969c2dc60cd (patch)
tree64a1a02bdafb2e67d73071ed9d77f4136a3cdea9 /src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
parenta2a3d8d7f056a9c3c613da62ddc2618bf5227ce6 (diff)
radeon: correct fix for tiling with the legacy build
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index e0c70dd9a11..a42870f4a93 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -15,6 +15,12 @@
#define RADEON_GEM_DOMAIN_GTT 0x2 // GTT or cache flushed
#define RADEON_GEM_DOMAIN_VRAM 0x4 // VRAM domain
+#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 */
+
/* to be used to build locally in mesa with no libdrm bits */
#include "../radeon/radeon_bo_drm.h"
#include "../radeon/radeon_cs_drm.h"