Lines Matching refs:permanent

839     * There is a requirement to reset semaphore to their permanent state after
843 * semaphore to its prior permanent state after submitting the next
928 /* No temporary, use the permanent semaphore. */
929 impl = &semaphore->permanent;
990 &semaphore->temporary : &semaphore->permanent;
1080 * semaphore to its prior permanent state after submitting the next
1089 &semaphore->temporary : &semaphore->permanent;
1144 * semaphore to its prior permanent state after submitting the next
1153 &fence->temporary : &fence->permanent;
1192 if (fence->permanent.type == ANV_FENCE_TYPE_BO) {
1194 /* If we have permanent BO fence, the only type of temporary possible
1216 fence->permanent.bo.state = ANV_BO_FENCE_STATE_SUBMITTED;
1494 fence->permanent.type = ANV_FENCE_TYPE_SYNCOBJ;
1500 fence->permanent.syncobj = anv_gem_syncobj_create(device, create_flags);
1501 if (!fence->permanent.syncobj)
1504 fence->permanent.type = ANV_FENCE_TYPE_BO;
1507 &fence->permanent.bo.bo);
1512 fence->permanent.bo.state = ANV_BO_FENCE_STATE_SIGNALED;
1514 fence->permanent.bo.state = ANV_BO_FENCE_STATE_RESET;
1577 anv_fence_impl_cleanup(device, &fence->permanent);
1595 * temporary permanence, that fence’s prior permanent payload is
1601 struct anv_fence_impl *impl = &fence->permanent;
1632 &fence->temporary : &fence->permanent;
1711 assert(fence->permanent.type == ANV_FENCE_TYPE_SYNCOBJ);
1715 &fence->temporary : &fence->permanent;
1762 &fence->temporary : &fence->permanent;
1824 if (fence->permanent.bo.state == ANV_BO_FENCE_STATE_RESET)
1879 &fence->temporary : &fence->permanent;
1921 &fence->temporary : &fence->permanent;
1934 &fence->temporary : &fence->permanent;
2078 anv_fence_impl_cleanup(device, &fence->permanent);
2079 fence->permanent = new_impl;
2122 &fence->temporary : &fence->permanent;
2156 * temporarily imported payload, the fence’s prior permanent payload
2246 result = binary_semaphore_create(device, &semaphore->permanent, false);
2248 result = timeline_semaphore_create(device, &semaphore->permanent, timeline_value);
2256 result = binary_semaphore_create(device, &semaphore->permanent, true);
2258 result = timeline_semaphore_create(device, &semaphore->permanent, timeline_value);
2266 semaphore->permanent.type = ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ;
2267 semaphore->permanent.syncobj = anv_gem_syncobj_create(device, 0);
2268 if (!semaphore->permanent.syncobj) {
2337 anv_semaphore_impl_cleanup(device, &semaphore->permanent);
2414 new_impl.type = semaphore->permanent.type;
2469 anv_semaphore_impl_cleanup(device, &semaphore->permanent);
2470 semaphore->permanent = new_impl;
2489 &semaphore->temporary : &semaphore->permanent;
2524 * temporarily imported payload, the semaphore’s prior permanent payload
2543 &semaphore->temporary : &semaphore->permanent;
2704 &semaphore->temporary : &semaphore->permanent;
2754 &semaphore->temporary : &semaphore->permanent;