Home
last modified time | relevance | path

Searched refs:batch_id (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_screen.h219 /* update last_finished to account for batch_id wrapping */
221 zink_screen_update_last_finished(struct zink_screen *screen, uint64_t batch_id) in zink_screen_update_last_finished() argument
223 const uint32_t check_id = (uint32_t)batch_id; in zink_screen_update_last_finished()
226 /* last_finished has wrapped, batch_id has not */ in zink_screen_update_last_finished()
230 /* batch_id has wrapped, last_finished has not */ in zink_screen_update_last_finished()
238 /* check a batch_id against last_finished while accounting for wrapping */
240 zink_screen_check_last_finished(struct zink_screen *screen, uint32_t batch_id) in zink_screen_check_last_finished() argument
242 const uint32_t check_id = (uint32_t)batch_id; in zink_screen_check_last_finished()
245 /* last_finished has wrapped, batch_id has not */ in zink_screen_check_last_finished()
249 /* batch_id ha in zink_screen_check_last_finished()
[all...]
H A Dzink_batch.c111 if (bs->fence.batch_id) in zink_reset_batch_state()
112 zink_screen_update_last_finished(screen, bs->fence.batch_id); in zink_reset_batch_state()
114 bs->fence.batch_id = 0; in zink_reset_batch_state()
282 if (zink_screen_check_last_finished(screen, ctx->batch_states->fence.batch_id) || in get_batch_state()
355 zink_screen_timeline_wait(screen, bs->fence.batch_id - 2500, PIPE_TIMEOUT_INFINITE); in post_submit()
367 while (!bs->fence.batch_id) in submit_queue()
368 bs->fence.batch_id = (uint32_t)p_atomic_inc_return(&screen->curr_batch); in submit_queue()
369 bs->usage.usage = bs->fence.batch_id; in submit_queue()
372 uint64_t batch_id = bs->fence.batch_id; in submit_queue() local
[all...]
H A Dzink_fence.c130 assert(fence->batch_id); in fence_wait()
133 bool success = zink_screen_timeline_wait(screen, fence->batch_id, timeout_ns); in fence_wait()
138 zink_screen_update_last_finished(screen, fence->batch_id); in fence_wait()
181 if (fence->submitted && zink_screen_check_last_finished(screen, fence->batch_id)) in zink_fence_finish()
H A Dzink_fence.h53 uint64_t batch_id; member
H A Dzink_context.h421 zink_wait_on_batch(struct zink_context *ctx, uint64_t batch_id);
424 zink_check_batch_completion(struct zink_context *ctx, uint64_t batch_id);
H A Dzink_screen.c1785 zink_screen_timeline_wait(struct zink_screen *screen, uint64_t batch_id, uint64_t timeout) in zink_screen_timeline_wait() argument
1789 if (zink_screen_check_last_finished(screen, batch_id)) in zink_screen_timeline_wait()
1795 wi.pValues = &batch_id; in zink_screen_timeline_wait()
1803 zink_screen_update_last_finished(screen, batch_id); in zink_screen_timeline_wait()
H A Dzink_context.c2683 zink_screen_timeline_wait(screen, ctx->last_fence->batch_id, PIPE_TIMEOUT_INFINITE); in stall()
3492 zink_wait_on_batch(struct zink_context *ctx, uint64_t batch_id) in zink_wait_on_batch() argument
3495 if (!batch_id) { in zink_wait_on_batch()
3500 batch_id = bs->fence.batch_id; in zink_wait_on_batch()
3502 assert(batch_id); in zink_wait_on_batch()
3503 if (!zink_screen_timeline_wait(zink_screen(ctx->base.screen), batch_id, UINT64_MAX)) in zink_wait_on_batch()
3508 zink_check_batch_completion(struct zink_context *ctx, uint64_t batch_id) in zink_check_batch_completion() argument
3511 if (!batch_id) in zink_check_batch_completion()
3515 if (zink_screen_check_last_finished(zink_screen(ctx->base.screen), batch_id)) in zink_check_batch_completion()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Dtncc.c690 unsigned int batch_id; in tncc_process_if_tnccs() local
723 batch_id = atoi(pos); in tncc_process_if_tnccs()
725 batch_id); in tncc_process_if_tnccs()
726 if (batch_id != tncc->last_batchid + 1) { in tncc_process_if_tnccs()
729 batch_id, tncc->last_batchid + 1); in tncc_process_if_tnccs()
733 tncc->last_batchid = batch_id; in tncc_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Dtncs.c782 unsigned int batch_id; in tncs_process_if_tnccs() local
811 batch_id = atoi(pos); in tncs_process_if_tnccs()
813 batch_id); in tncs_process_if_tnccs()
814 if (batch_id != tncs->last_batchid + 1) { in tncs_process_if_tnccs()
817 batch_id, tncs->last_batchid + 1); in tncs_process_if_tnccs()
821 tncs->last_batchid = batch_id; in tncs_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Dtncc.c689 unsigned int batch_id; in tncc_process_if_tnccs() local
722 batch_id = atoi(pos); in tncc_process_if_tnccs()
724 batch_id); in tncc_process_if_tnccs()
725 if (batch_id != tncc->last_batchid + 1) { in tncc_process_if_tnccs()
728 batch_id, tncc->last_batchid + 1); in tncc_process_if_tnccs()
732 tncc->last_batchid = batch_id; in tncc_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Dtncs.c781 unsigned int batch_id; in tncs_process_if_tnccs() local
810 batch_id = atoi(pos); in tncs_process_if_tnccs()
812 batch_id); in tncs_process_if_tnccs()
813 if (batch_id != tncs->last_batchid + 1) { in tncs_process_if_tnccs()
816 batch_id, tncs->last_batchid + 1); in tncs_process_if_tnccs()
820 tncs->last_batchid = batch_id; in tncs_process_if_tnccs()

Completed in 19 milliseconds