Searched refs:batch_id (Results 1 - 9 of 9) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_screen.h | 176 /* update last_finished to account for batch_id wrapping */ 178 zink_screen_update_last_finished(struct zink_screen *screen, uint32_t batch_id) argument 182 /* last_finished has wrapped, batch_id has not */ 183 if (batch_id > UINT_MAX / 2) 185 } else if (batch_id < UINT_MAX / 2) { 186 /* batch_id has wrapped, last_finished has not */ 187 screen->last_finished = batch_id; 191 screen->last_finished = MAX2(batch_id, screen->last_finished); 194 /* check a batch_id against last_finished while accounting for wrapping */ 196 zink_screen_check_last_finished(struct zink_screen *screen, uint32_t batch_id) argument [all...] |
| H A D | zink_fence.h | 53 uint32_t batch_id; member in struct:zink_fence
|
| H A D | zink_fence.c | 127 assert(fence->batch_id); 142 zink_screen_update_last_finished(screen, fence->batch_id); 185 if (fence->submitted && zink_screen_check_last_finished(screen, fence->batch_id))
|
| H A D | zink_batch.c | 106 if (bs->fence.batch_id) 107 zink_screen_update_last_finished(screen, bs->fence.batch_id); 109 bs->fence.batch_id = 0; 273 if (zink_screen_check_last_finished(screen, ctx->batch_states->fence.batch_id) || 343 zink_screen_batch_id_wait(screen, bs->fence.batch_id - 2500, PIPE_TIMEOUT_INFINITE); 355 while (!bs->fence.batch_id) 356 bs->fence.batch_id = p_atomic_inc_return(&screen->curr_batch); 357 bs->usage.usage = bs->fence.batch_id; 360 if (ctx->have_timelines && screen->last_finished > bs->fence.batch_id && bs->fence.batch_id 369 uint64_t batch_id = bs->fence.batch_id; local in function:submit_queue [all...] |
| H A D | zink_query.c | 52 struct zink_batch_usage *batch_id; //batch that the query was started in member in struct:zink_query 234 assert(zink_screen_usage_check_completion(screen, query->batch_id)); 338 if (query->batch_id) { 349 if (!zink_batch_usage_matches(query->batch_id, bs)) 351 query->batch_id = NULL; 655 zink_batch_usage_set(&q->batch_id, batch->state); 690 zink_batch_usage_set(&q->batch_id, batch->state); 779 zink_batch_usage_set(&query->batch_id, batch->state); 808 if (zink_batch_usage_is_unflushed(query->batch_id)) { 816 zink_batch_usage_check_completion(ctx, query->batch_id); [all...] |
| H A D | zink_context.h | 386 zink_wait_on_batch(struct zink_context *ctx, uint32_t batch_id); 389 zink_check_batch_completion(struct zink_context *ctx, uint32_t batch_id, bool have_lock);
|
| H A D | zink_screen.c | 1580 zink_screen_timeline_wait(struct zink_screen *screen, uint32_t batch_id, uint64_t timeout) argument 1584 if (zink_screen_check_last_finished(screen, batch_id)) 1589 /* handle batch_id overflow */ 1590 wi.pSemaphores = batch_id > screen->curr_batch ? &screen->prev_sem : &screen->sem; 1591 uint64_t batch_id64 = batch_id; 1600 zink_screen_update_last_finished(screen, batch_id); 1626 zink_screen_batch_id_wait(struct zink_screen *screen, uint32_t batch_id, uint64_t timeout) argument 1628 if (zink_screen_check_last_finished(screen, batch_id)) 1632 return zink_screen_timeline_wait(screen, batch_id, timeout);
|
| H A D | zink_context.c | 3095 zink_wait_on_batch(struct zink_context *ctx, uint32_t batch_id) argument 3098 if (!batch_id) { 3103 batch_id = bs->fence.batch_id; 3105 assert(batch_id); 3107 if (!zink_screen_timeline_wait(zink_screen(ctx->base.screen), batch_id, UINT64_MAX)) 3115 if (batch_id == zink_batch_state(ctx->last_fence)->fence.batch_id) 3119 if (bs->fence.batch_id < batch_id) 3143 zink_check_batch_completion(struct zink_context * ctx,uint32_t batch_id,bool have_lock) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 21.1.0.rst | 4368 - zink: move 'batch_id' and 'is_compute' members to fence
|
Completed in 24 milliseconds