summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/tools
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-04-04 20:18:37 +0200
committerMarek Olšák <[email protected]>2014-04-10 20:50:17 +0200
commit34564c875357a5d0a1f103f29949eafc2f8e1b35 (patch)
tree0972e9f08c759c0aa51a6eef4bb6b9f6ed9d8b0c /src/gallium/winsys/radeon/tools
parente3e05c6db96b841fbbaffb020730b2710db211c2 (diff)
winsys/radeon: remove definitions already present in radeon_drm.h
Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/tools')
-rw-r--r--src/gallium/winsys/radeon/tools/radeon_ctx.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/gallium/winsys/radeon/tools/radeon_ctx.h b/src/gallium/winsys/radeon/tools/radeon_ctx.h
index 1eecfd5b6ff..5618b3a8d00 100644
--- a/src/gallium/winsys/radeon/tools/radeon_ctx.h
+++ b/src/gallium/winsys/radeon/tools/radeon_ctx.h
@@ -37,36 +37,6 @@
#include "xf86drm.h"
#include "radeon_drm.h"
-#ifndef RADEON_CHUNK_ID_FLAGS
-#define RADEON_CHUNK_ID_FLAGS 0x03
-/* The first dword of RADEON_CHUNK_ID_FLAGS is a uint32 of these flags: */
-#define RADEON_CS_KEEP_TILING_FLAGS 0x01
-#endif
-
-
-#ifndef RADEON_VA_MAP
-
-#define RADEON_VA_MAP 1
-#define RADEON_VA_UNMAP 2
-#define RADEON_VA_RESULT_OK 0
-#define RADEON_VA_RESULT_ERROR 1
-#define RADEON_VA_RESULT_VA_EXIST 2
-#define RADEON_VM_PAGE_VALID (1 << 0)
-#define RADEON_VM_PAGE_READABLE (1 << 1)
-#define RADEON_VM_PAGE_WRITEABLE (1 << 2)
-#define RADEON_VM_PAGE_SYSTEM (1 << 3)
-#define RADEON_VM_PAGE_SNOOPED (1 << 4)
-struct drm_radeon_gem_va {
- uint32_t handle;
- uint32_t operation;
- uint32_t vm_id;
- uint32_t flags;
- uint64_t offset;
-};
-#define DRM_RADEON_GEM_VA 0x2b
-#endif
-
-
struct ctx {
int fd;
};