Lines Matching refs:fine
169 struct iris_fine_fence *fine[IRIS_BATCH_COUNT]; member
178 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) in iris_fence_destroy()
179 iris_fine_fence_reference(screen, &fence->fine[i], NULL); in iris_fence_destroy()
267 struct iris_fine_fence *fine = in iris_fence_flush() local
269 iris_fine_fence_reference(screen, &fence->fine[b], fine); in iris_fence_flush()
270 iris_fine_fence_reference(screen, &fine, NULL); in iris_fence_flush()
279 iris_fine_fence_reference(screen, &fence->fine[b], batch->last_fence); in iris_fence_flush()
310 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_await()
311 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_await() local
313 if (iris_fine_fence_signaled(fine)) in iris_fence_await()
328 iris_batch_add_syncobj(batch, fine->syncobj, I915_EXEC_FENCE_WAIT); in iris_fence_await()
378 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_finish() local
380 if (iris_fine_fence_signaled(fine)) in iris_fence_finish()
383 if (fine->syncobj == iris_batch_get_signal_syncobj(&ice->batches[i])) in iris_fence_finish()
392 uint32_t handles[ARRAY_SIZE(fence->fine)]; in iris_fence_finish()
393 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_finish()
394 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_finish() local
396 if (iris_fine_fence_signaled(fine)) in iris_fence_finish()
399 handles[handle_count++] = fine->syncobj->handle; in iris_fence_finish()
459 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_get_fd()
460 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_get_fd() local
462 if (iris_fine_fence_signaled(fine)) in iris_fence_get_fd()
466 .handle = fine->syncobj->handle, in iris_fence_get_fd()
529 struct iris_fine_fence *fine = calloc(1, sizeof(*fine)); in iris_fence_create_fd() local
530 if (!fine) { in iris_fence_create_fd()
542 fine->seqno = UINT32_MAX; in iris_fence_create_fd()
543 fine->map = &zero; in iris_fence_create_fd()
544 fine->syncobj = syncobj; in iris_fence_create_fd()
545 fine->flags = IRIS_FENCE_END; in iris_fence_create_fd()
546 pipe_reference_init(&fine->reference, 1); in iris_fence_create_fd()
550 free(fine); in iris_fence_create_fd()
556 fence->fine[0] = fine; in iris_fence_create_fd()
571 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_signal()
572 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_signal() local
575 if (iris_fine_fence_signaled(fine)) in iris_fence_signal()
578 iris_batch_add_syncobj(&ice->batches[b], fine->syncobj, in iris_fence_signal()