diff options
author | PFO <pfolinux@rdi-linux> | 2011-06-17 16:07:53 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2011-06-17 16:24:44 +0200 |
commit | 06543d0bbd13f804a6c49f4978a65288211eeebc (patch) | |
tree | e5e60ecae0d95370e788fedea6690910134e436f /src/gallium/winsys/radeon/drm | |
parent | d58e3fa353c5df8028413837a366a16ff6054015 (diff) | |
parent | 5607823fe4ff35e11086efa6302d8fbacd315b06 (diff) |
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index fa20d7eb98..b582cf44d1 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -39,6 +39,10 @@ #include <xf86drm.h> #include <errno.h> +#define RADEON_BO_FLAGS_MACRO_TILE 1 +#define RADEON_BO_FLAGS_MICRO_TILE 2 +#define RADEON_BO_FLAGS_MICRO_TILE_SQUARE 0x20 + #ifdef ANDROID extern void* __mmap2(void*, size_t, int, int, int, size_t); @@ -58,11 +62,6 @@ static void* android_mmap2(void *addr, size_t size, int prot, int flags, int fd, #endif /* ANDROID */ - -#define RADEON_BO_FLAGS_MACRO_TILE 1 -#define RADEON_BO_FLAGS_MICRO_TILE 2 -#define RADEON_BO_FLAGS_MICRO_TILE_SQUARE 0x20 - extern const struct pb_vtbl radeon_bo_vtbl; |