Lines Matching refs:pool

38 	int64_t start_in_dw; ///Start pointer in dwords relative in the pool bo
41 struct compute_memory_pool* pool;
50 int64_t size_in_dw; ///Size of the pool in dwords
52 struct r600_resource *bo; ///The pool buffer object resource
56 uint32_t *shadow; ///host copy of the pool, used for defragmentation
60 struct compute_memory_pool* compute_memory_pool_new(struct r600_screen *rscreen); ///Creates a new pool
61 void compute_memory_pool_delete(struct compute_memory_pool* pool); ///Frees all stuff in the pool and the pool struct itself too
63 int64_t compute_memory_prealloc_chunk(struct compute_memory_pool* pool, int64_t size_in_dw); ///searches for an empty space in the pool, return with the pointer to the allocatable space in the pool, returns -1 on failure
65 struct compute_memory_item* compute_memory_postalloc_chunk(struct compute_memory_pool* pool, int64_t start_in_dw); ///search for the chunk where we can link our new chunk after it
68 * reallocates pool, conserves data
70 void compute_memory_grow_pool(struct compute_memory_pool* pool, struct pipe_context * pipe,
74 * Copy pool from device to host, or host to device
76 void compute_memory_shadow(struct compute_memory_pool* pool,
80 * Allocates pending allocations in the pool
82 void compute_memory_finalize_pending(struct compute_memory_pool* pool,
84 void compute_memory_defrag(struct compute_memory_pool* pool); ///Defragment the memory pool, always heavy memory usage
85 void compute_memory_free(struct compute_memory_pool* pool, int64_t id);
86 struct compute_memory_item* compute_memory_alloc(struct compute_memory_pool* pool, int64_t size_in_dw); ///Creates pending allocations
91 void compute_memory_transfer(struct compute_memory_pool* pool,
96 void compute_memory_transfer_direct(struct compute_memory_pool* pool, int chunk_to_data, struct compute_memory_item* chunk, struct r600_resource* data, int offset_in_chunk, int offset_in_data, int size); ///Transfer data between chunk<->data, it is for VRAM<->GART transfers