• Home
  • Raw
  • Download

Lines Matching refs:fine

167    struct crocus_fine_fence *fine[CROCUS_BATCH_COUNT];  member
176 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) in crocus_fence_destroy()
177 crocus_fine_fence_reference(screen, &fence->fine[i], NULL); in crocus_fence_destroy()
239 struct crocus_fine_fence *fine = in crocus_fence_flush() local
241 crocus_fine_fence_reference(screen, &fence->fine[b], fine); in crocus_fence_flush()
242 crocus_fine_fence_reference(screen, &fine, NULL); in crocus_fence_flush()
251 crocus_fine_fence_reference(screen, &fence->fine[b], in crocus_fence_flush()
269 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in crocus_fence_await()
270 struct crocus_fine_fence *fine = fence->fine[i]; in crocus_fence_await() local
272 if (crocus_fine_fence_signaled(fine)) in crocus_fence_await()
287 crocus_batch_add_syncobj(batch, fine->syncobj, I915_EXEC_FENCE_WAIT); in crocus_fence_await()
336 struct crocus_fine_fence *fine = fence->fine[i]; in crocus_fence_finish() local
338 if (crocus_fine_fence_signaled(fine)) in crocus_fence_finish()
341 if (fine->syncobj == crocus_batch_get_signal_syncobj(&ice->batches[i])) in crocus_fence_finish()
350 uint32_t handles[ARRAY_SIZE(fence->fine)]; in crocus_fence_finish()
351 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in crocus_fence_finish()
352 struct crocus_fine_fence *fine = fence->fine[i]; in crocus_fence_finish() local
354 if (crocus_fine_fence_signaled(fine)) in crocus_fence_finish()
357 handles[handle_count++] = fine->syncobj->handle; in crocus_fence_finish()
433 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in crocus_fence_get_fd()
434 struct crocus_fine_fence *fine = fence->fine[i]; in crocus_fence_get_fd() local
436 if (crocus_fine_fence_signaled(fine)) in crocus_fence_get_fd()
440 .handle = fine->syncobj->handle, in crocus_fence_get_fd()
502 struct crocus_fine_fence *fine = calloc(1, sizeof(*fine)); in crocus_fence_create_fd() local
503 if (!fine) { in crocus_fence_create_fd()
515 fine->seqno = UINT32_MAX; in crocus_fence_create_fd()
516 fine->map = &zero; in crocus_fence_create_fd()
517 fine->syncobj = syncobj; in crocus_fence_create_fd()
518 fine->flags = CROCUS_FENCE_END; in crocus_fence_create_fd()
519 pipe_reference_init(&fine->reference, 1); in crocus_fence_create_fd()
523 free(fine); in crocus_fence_create_fd()
529 fence->fine[0] = fine; in crocus_fence_create_fd()
543 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in crocus_fence_signal()
544 struct crocus_fine_fence *fine = fence->fine[i]; in crocus_fence_signal() local
547 if (crocus_fine_fence_signaled(fine)) in crocus_fence_signal()
551 crocus_batch_add_syncobj(&ice->batches[b], fine->syncobj, in crocus_fence_signal()