| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| freedreno_batch_cache.h | 45 /* set of active batches.. there is an upper limit on the number of 46 * in-flight batches, for two reasons: 47 * 1) to avoid big spikes in number of batches in edge cases, such as 51 * batches have reference to the resource 53 struct fd_batch *batches[32]; member in struct:fd_batch_cache 57 /* note: if batches get unref'd in the body of the loop, they are removed 64 _m && ((batch) = (cache)->batches[u_bit_scan(&_m)]); _m &= (mask))
|
| freedreno_batch_cache.c | 63 * So each resource holds a hashset of batches which have reference them 144 /* Flushes all batches in the batch cache. Used at glFlush() and similar times. */ 151 * can cause batches to be unref'd and freed under our feet, so grab 152 * a reference to all the batches we need up-front. 154 struct fd_batch *batches[ARRAY_SIZE(cache->batches)] = {0}; variable in typeref:struct:fd_batch 162 fd_batch_reference_locked(&batches[n++], batch); 168 * batch. So when the current batch gets flushed, all other batches 175 if (batches[i] && (batches[i]->ctx == ctx) & 188 fd_batch_flush(batches[i]); variable 221 struct fd_batch *batch, *batches[32] = {}; variable in typeref:struct: 235 fd_batch_flush(batches[i]); variable [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| freedreno_batch_cache.h | 42 /* set of active batches.. there is an upper limit on the number of 43 * in-flight batches, for two reasons: 44 * 1) to avoid big spikes in number of batches in edge cases, such as 48 * batches have reference to the resource 50 struct fd_batch *batches[32]; member in struct:fd_batch_cache 54 /* note: if batches get unref'd in the body of the loop, they are removed 60 for (uint32_t _m = (mask); _m && ((batch) = (cache)->batches[u_bit_scan(&_m)]); _m &= (mask))
|
| freedreno_batch_cache.c | 61 * So each resource holds a hashset of batches which have reference them 132 * can cause batches to be unref'd and freed under our feet, so grab 133 * a reference to all the batches we need up-front. 135 struct fd_batch *batches[ARRAY_SIZE(cache->batches)] = {0}; local 143 fd_batch_reference_locked(&batches[n++], batch); 151 if (batches[i] && (batches[i]->ctx == ctx) && 152 (batches[i] != current_batch)) { 153 fd_batch_add_dep(current_batch, batches[i]) [all...] |
| freedreno_resource.c | 180 * should empty/destroy rsc->batches hashset) 205 * by any batches, but the existing rsc (probably) is. We need to 379 struct fd_batch *batch, *batches[32] = {}; local 384 * to iterate the batches which reference this resource. So 390 fd_batch_reference_locked(&batches[batch->idx], batch); 398 fd_batch_reference(&batches[batch->idx], NULL);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| glthread.h | 41 * waiting batches. There must be at least 1 slot for a waiting batch, 42 * so the minimum number of batches is 3. 77 /** The ring of batches in memory. */ 78 struct glthread_batch batches[MARSHAL_MAX_BATCHES]; member in struct:glthread_state
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| glthread.h | 41 * waiting batches. There must be at least 1 slot for a waiting batch, 42 * so the minimum number of batches is 3. 164 /** The ring of batches in memory. */ 165 struct glthread_batch batches[MARSHAL_MAX_BATCHES]; member in struct:glthread_state
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| vn_queue.c | 72 const void *batches; member in union:vn_queue_submission::__anon2913 85 void *batches; member in union:vn_queue_submission::__anon2914::__anon2915 176 submit->temp.batches = submit->temp.storage; 680 .batches =
|
| vn_renderer.h | 104 const struct vn_renderer_submit_batch *batches; member in struct:vn_renderer_submit 272 .batches = 480 .batches =
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_context.h | 159 struct d3d12_batch batches[4]; member in struct:d3d12_context 245 assert(ctx->current_batch_idx < ARRAY_SIZE(ctx->batches)); 246 return ctx->batches + ctx->current_batch_idx; 250 unsigned oldest = (ctx->current_batch_idx + 1) % ARRAY_SIZE(ctx->batches); \ 251 while (ctx->batches[oldest].fence == NULL && oldest != ctx->current_batch_idx) \ 252 oldest = (oldest + 1) % ARRAY_SIZE(ctx->batches); \ 253 struct d3d12_batch *batch = &ctx->batches[oldest]; \ 255 oldest = (oldest + 1) % ARRAY_SIZE(ctx->batches), \ 256 batch = &ctx->batches[oldest])
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_context.h | 137 /* Set of 32 batches. When the set is full, the LRU entry (the batch 144 /** Set of active batches for faster traversal */ 146 } batches; member in struct:panfrost_context
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_context.h | 450 struct iris_batch batches[IRIS_BATCH_COUNT]; member in struct:iris_context
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_context.h | 459 struct crocus_batch batches[CROCUS_BATCH_COUNT]; member in struct:crocus_context
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_context.h | 611 struct iris_batch batches[IRIS_BATCH_COUNT]; member in struct:iris_context
|