• Home
  • Raw
  • Download

Lines Matching refs:permanent

278       fence->permanent.type = ANV_FENCE_TYPE_SYNCOBJ;  in anv_CreateFence()
284 fence->permanent.syncobj = anv_gem_syncobj_create(device, create_flags); in anv_CreateFence()
285 if (!fence->permanent.syncobj) in anv_CreateFence()
288 fence->permanent.type = ANV_FENCE_TYPE_BO; in anv_CreateFence()
291 &fence->permanent.bo.bo, 4096); in anv_CreateFence()
296 fence->permanent.bo.state = ANV_BO_FENCE_STATE_SIGNALED; in anv_CreateFence()
298 fence->permanent.bo.state = ANV_BO_FENCE_STATE_RESET; in anv_CreateFence()
340 anv_fence_impl_cleanup(device, &fence->permanent); in anv_DestroyFence()
367 struct anv_fence_impl *impl = &fence->permanent; in anv_ResetFences()
398 &fence->temporary : &fence->permanent; in anv_GetFenceStatus()
473 assert(fence->permanent.type == ANV_FENCE_TYPE_SYNCOBJ); in anv_wait_for_syncobj_fences()
477 &fence->temporary : &fence->permanent; in anv_wait_for_syncobj_fences()
552 assert(fence->permanent.type == ANV_FENCE_TYPE_BO); in anv_wait_for_bo_fences()
554 struct anv_fence_impl *impl = &fence->permanent; in anv_wait_for_bo_fences()
613 if (fence->permanent.bo.state == ANV_BO_FENCE_STATE_RESET) in anv_wait_for_bo_fences()
781 anv_fence_impl_cleanup(device, &fence->permanent); in anv_ImportFenceFdKHR()
782 fence->permanent = new_impl; in anv_ImportFenceFdKHR()
800 &fence->temporary : &fence->permanent; in anv_GetFenceFdKHR()
867 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_DUMMY; in anv_CreateSemaphore()
871 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ; in anv_CreateSemaphore()
872 semaphore->permanent.syncobj = anv_gem_syncobj_create(device, 0); in anv_CreateSemaphore()
873 if (!semaphore->permanent.syncobj) { in anv_CreateSemaphore()
878 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_BO; in anv_CreateSemaphore()
880 4096, &semaphore->permanent.bo); in anv_CreateSemaphore()
889 assert(!(semaphore->permanent.bo->flags & EXEC_OBJECT_ASYNC)); in anv_CreateSemaphore()
894 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_SYNC_FILE; in anv_CreateSemaphore()
895 semaphore->permanent.fd = -1; in anv_CreateSemaphore()
958 anv_semaphore_impl_cleanup(device, &semaphore->permanent); in anv_DestroySemaphore()
1068 anv_semaphore_impl_cleanup(device, &semaphore->permanent); in anv_ImportSemaphoreFdKHR()
1069 semaphore->permanent = new_impl; in anv_ImportSemaphoreFdKHR()
1089 &semaphore->temporary : &semaphore->permanent; in anv_GetSemaphoreFdKHR()