summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@dhcp-1-203.bne.redhat.com>2009-02-12 14:39:33 +1000
committerDave Airlie <airlied@dhcp-1-203.bne.redhat.com>2009-02-12 14:39:33 +1000
commit1e77f7b55c052de238d46df3454bf2f2eb8d7346 (patch)
tree827843219224db8acd648061650acfa8da2af760 /src
parent56a13a7ca9fcb742352561ee66dddc805676bc5e (diff)
r200: make build complete
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index b86f31f88a..2117be7161 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -9,13 +9,14 @@
#include "radeon_cs_gem.h"
#else
+#define RADEON_GEM_DOMAIN_CPU 0x1 // Cached CPU domain
+#define RADEON_GEM_DOMAIN_GTT 0x2 // GTT or cache flushed
+#define RADEON_GEM_DOMAIN_VRAM 0x4 // VRAM domain
+
/* to be used to build locally in mesa with no libdrm bits */
#include "../radeon/radeon_bo_drm.h"
#include "../radeon/radeon_cs_drm.h"
-#define RADEON_GEM_DOMAIN_CPU 0x1 // Cached CPU domain
-#define RADEON_GEM_DOMAIN_GTT 0x2 // GTT or cache flushed
-#define RADEON_GEM_DOMAIN_VRAM 0x4 // VRAM domain
static inline void *radeon_bo_manager_gem_ctor(int fd)
{