Lines Matching refs:syncobj
4052 sizeof(*counts->syncobj) * counts->syncobj_count + in radv_alloc_sem_counts()
4053 (sizeof(*counts->syncobj) + sizeof(*counts->points)) * counts->timeline_syncobj_count); in radv_alloc_sem_counts()
4056 counts->syncobj = (uint32_t*)(counts->points + counts->timeline_syncobj_count); in radv_alloc_sem_counts()
4062 free(counts->syncobj); in radv_alloc_sem_counts()
4075 counts->syncobj[syncobj_idx++] = sems[i]->syncobj; in radv_alloc_sem_counts()
4092 counts->syncobj[non_reset_idx++] = point->syncobj; in radv_alloc_sem_counts()
4101 counts->syncobj[counts->syncobj_count + timeline_idx] = sems[i]->syncobj; in radv_alloc_sem_counts()
4115 counts->syncobj[non_reset_idx++] = part->syncobj; in radv_alloc_sem_counts()
4734 uint32_t *syncobj = (uint32_t*)(points + syncobj_count); in wait_for_submission_timelines_available() local
4743 syncobj[syncobj_idx] = submission->wait_semaphores[i]->syncobj; in wait_for_submission_timelines_available()
4747 …bool success = device->ws->wait_timeline_syncobj(device->ws, syncobj, points, syncobj_idx, true, t… in wait_for_submission_timelines_available()
5719 device->ws->destroy_syncobj(device->ws, part->syncobj); in radv_destroy_fence_part()
5768 &fence->permanent.syncobj); in radv_CreateFence()
5865 handles[i] = part->syncobj; in radv_WaitForFences()
5940 &part->syncobj, 1, true, in radv_WaitForFences()
5979 device->ws->reset_syncobj(device->ws, part->syncobj); in radv_ResetFences()
6010 &part->syncobj, 1, true, 0); in radv_GetFenceStatus()
6043 device->ws->destroy_syncobj(device->ws, point->syncobj); in radv_destroy_timeline()
6049 device->ws->destroy_syncobj(device->ws, point->syncobj); in radv_destroy_timeline()
6064 if (device->ws->wait_syncobj(device->ws, &point->syncobj, 1, true, 0)) { in radv_timeline_gc_locked()
6118 r = device->ws->create_syncobj(device->ws, false, &ret->syncobj); in radv_timeline_add_point_locked()
6127 device->ws->reset_syncobj(device->ws, ret->syncobj); in radv_timeline_add_point_locked()
6167 bool success = device->ws->wait_syncobj(device->ws, &point->syncobj, 1, true, abs_timeout); in radv_timeline_wait()
6204 device->ws->destroy_syncobj(device->ws, part->syncobj); in radv_destroy_semaphore_part()
6263 int ret = device->ws->create_syncobj(device->ws, false, &sem->permanent.syncobj); in radv_CreateSemaphore()
6268 device->ws->signal_syncobj(device->ws, sem->permanent.syncobj, initial_value); in radv_CreateSemaphore()
6277 &sem->permanent.syncobj); in radv_CreateSemaphore()
6332 return device->ws->query_syncobj(device->ws, part->syncobj, pValue); in radv_GetSemaphoreCounterValue()
6396 handles[i] = semaphore->permanent.syncobj; in radv_WaitSemaphores()
6441 device->ws->signal_syncobj(device->ws, part->syncobj, pSignalInfo->value); in radv_SignalSemaphore()
7680 uint32_t *syncobj) in radv_import_opaque_fd() argument
7687 if (*syncobj) in radv_import_opaque_fd()
7688 device->ws->destroy_syncobj(device->ws, *syncobj); in radv_import_opaque_fd()
7690 *syncobj = syncobj_handle; in radv_import_opaque_fd()
7698 uint32_t *syncobj) in radv_import_sync_fd() argument
7702 uint32_t syncobj_handle = *syncobj; in radv_import_sync_fd()
7723 *syncobj = syncobj_handle; in radv_import_sync_fd()
7744 uint32_t syncobj = (dst->kind == RADV_SEMAPHORE_SYNCOBJ || in radv_ImportSemaphoreFdKHR() local
7745 dst->kind == RADV_SEMAPHORE_TIMELINE_SYNCOBJ) ? dst->syncobj : 0; in radv_ImportSemaphoreFdKHR()
7749 result = radv_import_opaque_fd(device, pImportSemaphoreFdInfo->fd, &syncobj); in radv_ImportSemaphoreFdKHR()
7753 result = radv_import_sync_fd(device, pImportSemaphoreFdInfo->fd, &syncobj); in radv_ImportSemaphoreFdKHR()
7760 dst->syncobj = syncobj; in radv_ImportSemaphoreFdKHR()
7783 syncobj_handle = sem->temporary.syncobj; in radv_GetSemaphoreFdKHR()
7787 syncobj_handle = sem->permanent.syncobj; in radv_GetSemaphoreFdKHR()
7867 uint32_t syncobj = dst->kind == RADV_FENCE_SYNCOBJ ? dst->syncobj : 0; in radv_ImportFenceFdKHR() local
7871 result = radv_import_opaque_fd(device, pImportFenceFdInfo->fd, &syncobj); in radv_ImportFenceFdKHR()
7874 result = radv_import_sync_fd(device, pImportFenceFdInfo->fd, &syncobj); in radv_ImportFenceFdKHR()
7881 dst->syncobj = syncobj; in radv_ImportFenceFdKHR()
7902 ret = device->ws->export_syncobj(device->ws, part->syncobj, pFd); in radv_GetFenceFdKHR()
7908 part->syncobj, pFd); in radv_GetFenceFdKHR()
7915 device->ws->reset_syncobj(device->ws, part->syncobj); in radv_GetFenceFdKHR()