diff options
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_winsys.c')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index ea7da0b12e8..0f64af58239 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -45,76 +45,6 @@ #include <sys/stat.h> #include <unistd.h> -/* - * this are copy from radeon_drm, once an updated libdrm is released - * we should bump configure.ac requirement for it and remove the following - * field - */ -#ifndef RADEON_INFO_TILING_CONFIG -#define RADEON_INFO_TILING_CONFIG 6 -#endif - -#ifndef RADEON_INFO_WANT_HYPERZ -#define RADEON_INFO_WANT_HYPERZ 7 -#endif - -#ifndef RADEON_INFO_WANT_CMASK -#define RADEON_INFO_WANT_CMASK 8 -#endif - -#ifndef RADEON_INFO_CLOCK_CRYSTAL_FREQ -#define RADEON_INFO_CLOCK_CRYSTAL_FREQ 9 -#endif - -#ifndef RADEON_INFO_NUM_BACKENDS -#define RADEON_INFO_NUM_BACKENDS 0xa -#endif - -#ifndef RADEON_INFO_NUM_TILE_PIPES -#define RADEON_INFO_NUM_TILE_PIPES 0xb -#endif - -#ifndef RADEON_INFO_BACKEND_MAP -#define RADEON_INFO_BACKEND_MAP 0xd -#endif - -#ifndef RADEON_INFO_VA_START -/* virtual address start, va < start are reserved by the kernel */ -#define RADEON_INFO_VA_START 0x0e -/* maximum size of ib using the virtual memory cs */ -#define RADEON_INFO_IB_VM_MAX_SIZE 0x0f -#endif - -#ifndef RADEON_INFO_MAX_PIPES -#define RADEON_INFO_MAX_PIPES 0x10 -#endif - -#ifndef RADEON_INFO_TIMESTAMP -#define RADEON_INFO_TIMESTAMP 0x11 -#endif - -#ifndef RADEON_INFO_RING_WORKING -#define RADEON_INFO_RING_WORKING 0x15 -#endif - -#ifndef RADEON_INFO_VCE_FW_VERSION -#define RADEON_INFO_VCE_FW_VERSION 0x1b -#endif - -#ifndef RADEON_INFO_NUM_BYTES_MOVED -#define RADEON_INFO_NUM_BYTES_MOVED 0x1d -#define RADEON_INFO_VRAM_USAGE 0x1e -#define RADEON_INFO_GTT_USAGE 0x1f -#endif - -#ifndef RADEON_CS_RING_UVD -#define RADEON_CS_RING_UVD 3 -#endif - -#ifndef RADEON_CS_RING_VCE -#define RADEON_CS_RING_VCE 4 -#endif - static struct util_hash_table *fd_tab = NULL; /* Enable/disable feature access for one command stream. |