diff options
author | Marek Olšák <[email protected]> | 2013-10-08 21:50:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-10-25 11:55:55 +0200 |
commit | 9807556e863ca4f49905598a18912852e96fae76 (patch) | |
tree | fe365ecd0dc1d3ad147be0d7e922764b5d0c42e8 /src/gallium/drivers/radeonsi/radeonsi_pipe.h | |
parent | 6067a30838535c838262a9229b400afe4d92c184 (diff) |
r600g,radeonsi: use fences provided by the winsys
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index 26f7e09aebc..1d4a91bf8ad 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -53,20 +53,8 @@ struct si_pipe_compute; -struct r600_pipe_fences { - struct r600_resource *bo; - unsigned *data; - unsigned next_index; - /* linked list of preallocated blocks */ - struct list_head blocks; - /* linked list of freed fences */ - struct list_head pool; - pipe_mutex mutex; -}; - struct r600_screen { struct r600_common_screen b; - struct r600_pipe_fences fences; #if R600_TRACE_CS struct r600_resource *trace_bo; uint32_t *trace_ptr; @@ -99,20 +87,6 @@ struct r600_textures_info { unsigned n_samplers; }; -struct r600_fence { - struct pipe_reference reference; - unsigned index; /* in the shared bo */ - struct r600_resource *sleep_bo; - struct list_head head; -}; - -#define FENCE_BLOCK_SIZE 16 - -struct r600_fence_block { - struct r600_fence fences[FENCE_BLOCK_SIZE]; - struct list_head head; -}; - #define SI_NUM_ATOMS(rctx) (sizeof((rctx)->atoms)/sizeof((rctx)->atoms.array[0])) #define SI_NUM_SHADERS (PIPE_SHADER_FRAGMENT+1) |