Lines Matching refs:fine
187 struct iris_fine_fence *fine[IRIS_BATCH_COUNT]; member
196 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) in iris_fence_destroy()
197 iris_fine_fence_reference(screen, &fence->fine[i], NULL); in iris_fence_destroy()
293 struct iris_fine_fence *fine = in iris_fence_flush() local
295 iris_fine_fence_reference(screen, &fence->fine[b], fine); in iris_fence_flush()
296 iris_fine_fence_reference(screen, &fine, NULL); in iris_fence_flush()
305 iris_fine_fence_reference(screen, &fence->fine[b], batch->last_fence); in iris_fence_flush()
336 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_await()
337 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_await() local
339 if (iris_fine_fence_signaled(fine)) in iris_fence_await()
352 iris_batch_add_syncobj(batch, fine->syncobj, I915_EXEC_FENCE_WAIT); in iris_fence_await()
404 struct iris_fine_fence *fine = fence->fine[batch->name]; in iris_fence_finish() local
406 if (iris_fine_fence_signaled(fine)) in iris_fence_finish()
409 if (fine->syncobj == iris_batch_get_signal_syncobj(batch)) in iris_fence_finish()
418 uint32_t handles[ARRAY_SIZE(fence->fine)]; in iris_fence_finish()
419 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_finish()
420 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_finish() local
422 if (iris_fine_fence_signaled(fine)) in iris_fence_finish()
425 handles[handle_count++] = fine->syncobj->handle; in iris_fence_finish()
485 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_get_fd()
486 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_get_fd() local
488 if (iris_fine_fence_signaled(fine)) in iris_fence_get_fd()
492 .handle = fine->syncobj->handle, in iris_fence_get_fd()
555 struct iris_fine_fence *fine = calloc(1, sizeof(*fine)); in iris_fence_create_fd() local
556 if (!fine) { in iris_fence_create_fd()
568 fine->seqno = UINT32_MAX; in iris_fence_create_fd()
569 fine->map = &zero; in iris_fence_create_fd()
570 fine->syncobj = syncobj; in iris_fence_create_fd()
571 fine->flags = IRIS_FENCE_END; in iris_fence_create_fd()
572 pipe_reference_init(&fine->reference, 1); in iris_fence_create_fd()
576 free(fine); in iris_fence_create_fd()
582 fence->fine[0] = fine; in iris_fence_create_fd()
597 for (unsigned i = 0; i < ARRAY_SIZE(fence->fine); i++) { in iris_fence_signal()
598 struct iris_fine_fence *fine = fence->fine[i]; in iris_fence_signal() local
601 if (iris_fine_fence_signaled(fine)) in iris_fence_signal()
605 iris_batch_add_syncobj(batch, fine->syncobj, I915_EXEC_FENCE_SIGNAL); in iris_fence_signal()