mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
amd: remove duplicated definitions from amdgpu_drm.h
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4863>
This commit is contained in:
parent
25edf9b136
commit
127aaf0b9a
4 changed files with 0 additions and 19 deletions
|
|
@ -40,9 +40,6 @@
|
|||
#include "util/u_memory.h"
|
||||
#include "util/u_math.h"
|
||||
|
||||
#define AMDGPU_TILING_SCANOUT_SHIFT 63
|
||||
#define AMDGPU_TILING_SCANOUT_MASK 1
|
||||
|
||||
static void radv_amdgpu_winsys_bo_destroy(struct radeon_winsys_bo *_bo);
|
||||
|
||||
static int
|
||||
|
|
|
|||
|
|
@ -1223,12 +1223,8 @@ static unsigned eg_tile_split_rev(unsigned eg_tile_split)
|
|||
}
|
||||
}
|
||||
|
||||
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_SHIFT 44
|
||||
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_MASK 0x1
|
||||
#define AMDGPU_TILING_DCC_MAX_COMPRESSED_BLOCK_SIZE_SHIFT 45
|
||||
#define AMDGPU_TILING_DCC_MAX_COMPRESSED_BLOCK_SIZE_MASK 0x3
|
||||
#define AMDGPU_TILING_SCANOUT_SHIFT 63
|
||||
#define AMDGPU_TILING_SCANOUT_MASK 0x1
|
||||
|
||||
static void amdgpu_buffer_get_metadata(struct pb_buffer *_buf,
|
||||
struct radeon_bo_metadata *md)
|
||||
|
|
|
|||
|
|
@ -35,14 +35,6 @@
|
|||
|
||||
DEBUG_GET_ONCE_BOOL_OPTION(noop, "RADEON_NOOP", false)
|
||||
|
||||
#ifndef AMDGPU_IB_FLAG_RESET_GDS_MAX_WAVE_ID
|
||||
#define AMDGPU_IB_FLAG_RESET_GDS_MAX_WAVE_ID (1 << 4)
|
||||
#endif
|
||||
|
||||
#ifndef AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES
|
||||
#define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES 0x07
|
||||
#endif
|
||||
|
||||
/* FENCES */
|
||||
|
||||
static struct pipe_fence_handle *
|
||||
|
|
|
|||
|
|
@ -44,10 +44,6 @@
|
|||
#include "ac_llvm_util.h"
|
||||
#include "sid.h"
|
||||
|
||||
#ifndef AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS
|
||||
#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
|
||||
#endif
|
||||
|
||||
static struct hash_table *dev_tab = NULL;
|
||||
static simple_mtx_t dev_tab_mutex = _SIMPLE_MTX_INITIALIZER_NP;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue