Lines Matching refs:permanent
302 struct anv_semaphore_impl *impl = &semaphore->permanent; in anv_queue_submit_timeline_locked()
420 struct anv_semaphore_impl *impl = &semaphore->permanent; in anv_queue_task()
865 *out_impl = &semaphore->permanent; in maybe_transfer_temporary_semaphore()
1033 &semaphore->temporary : &semaphore->permanent; in anv_queue_submit()
1100 &fence->temporary : &fence->permanent; in anv_queue_submit()
1135 if (fence && fence->permanent.type == ANV_FENCE_TYPE_BO) { in anv_queue_submit()
1159 fence->permanent.bo.state = ANV_BO_FENCE_STATE_SUBMITTED; in anv_queue_submit()
1340 fence->permanent.type = ANV_FENCE_TYPE_SYNCOBJ; in anv_CreateFence()
1346 fence->permanent.syncobj = anv_gem_syncobj_create(device, create_flags); in anv_CreateFence()
1347 if (!fence->permanent.syncobj) in anv_CreateFence()
1350 fence->permanent.type = ANV_FENCE_TYPE_BO; in anv_CreateFence()
1353 &fence->permanent.bo.bo); in anv_CreateFence()
1358 fence->permanent.bo.state = ANV_BO_FENCE_STATE_SIGNALED; in anv_CreateFence()
1360 fence->permanent.bo.state = ANV_BO_FENCE_STATE_RESET; in anv_CreateFence()
1423 anv_fence_impl_cleanup(device, &fence->permanent); in anv_DestroyFence()
1448 struct anv_fence_impl *impl = &fence->permanent; in anv_ResetFences()
1479 &fence->temporary : &fence->permanent; in anv_GetFenceStatus()
1558 assert(fence->permanent.type == ANV_FENCE_TYPE_SYNCOBJ); in anv_wait_for_syncobj_fences()
1562 &fence->temporary : &fence->permanent; in anv_wait_for_syncobj_fences()
1609 &fence->temporary : &fence->permanent; in anv_wait_for_bo_fences()
1671 if (fence->permanent.bo.state == ANV_BO_FENCE_STATE_RESET) in anv_wait_for_bo_fences()
1726 &fence->temporary : &fence->permanent; in anv_wait_for_fences()
1768 &fence->temporary : &fence->permanent; in anv_all_fences_syncobj()
1781 &fence->temporary : &fence->permanent; in anv_all_fences_bo()
1925 anv_fence_impl_cleanup(device, &fence->permanent); in anv_ImportFenceFdKHR()
1926 fence->permanent = new_impl; in anv_ImportFenceFdKHR()
1969 &fence->temporary : &fence->permanent; in anv_GetFenceFdKHR()
2112 result = binary_semaphore_create(device, &semaphore->permanent, false); in anv_CreateSemaphore()
2114 result = timeline_semaphore_create(device, &semaphore->permanent, timeline_value); in anv_CreateSemaphore()
2122 result = binary_semaphore_create(device, &semaphore->permanent, true); in anv_CreateSemaphore()
2124 result = timeline_semaphore_create(device, &semaphore->permanent, timeline_value); in anv_CreateSemaphore()
2133 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ; in anv_CreateSemaphore()
2134 semaphore->permanent.syncobj = anv_gem_syncobj_create(device, 0); in anv_CreateSemaphore()
2135 if (!semaphore->permanent.syncobj) { in anv_CreateSemaphore()
2140 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_SYNC_FILE; in anv_CreateSemaphore()
2141 semaphore->permanent.fd = -1; in anv_CreateSemaphore()
2217 anv_semaphore_impl_cleanup(device, &semaphore->permanent); in anv_semaphore_unref()
2309 new_impl.type = semaphore->permanent.type; in anv_ImportSemaphoreFdKHR()
2391 anv_semaphore_impl_cleanup(device, &semaphore->permanent); in anv_ImportSemaphoreFdKHR()
2392 semaphore->permanent = new_impl; in anv_ImportSemaphoreFdKHR()
2412 &semaphore->temporary : &semaphore->permanent; in anv_GetSemaphoreFdKHR()
2513 &semaphore->temporary : &semaphore->permanent; in anv_GetSemaphoreCounterValue()
2674 &semaphore->temporary : &semaphore->permanent; in anv_WaitSemaphores()
2724 &semaphore->temporary : &semaphore->permanent; in anv_SignalSemaphore()