Lines Matching refs:sync
34 struct panvk_syncobj *sync,
47 sync->permanent = create.handle;
53 sync_set_temporary(struct panvk_device *device, struct panvk_syncobj *sync,
58 if (sync->temporary) {
59 struct drm_syncobj_destroy destroy = { .handle = sync->temporary };
63 sync->temporary = syncobj;
67 sync_destroy(struct panvk_device *device, struct panvk_syncobj *sync)
71 if (!sync)
74 sync_set_temporary(device, sync, 0);
75 struct drm_syncobj_destroy destroy = { .handle = sync->permanent };
80 sync_import(struct panvk_device *device, struct panvk_syncobj *sync,
87 uint32_t *dst = temporary ? &sync->temporary : &sync->permanent;
128 sync_set_temporary(device, sync, create.handle);
135 sync_export(struct panvk_device *device, struct panvk_syncobj *sync,
141 .handle = sync->temporary ? : sync->permanent,
150 sync_set_temporary(device, sync, 0);
171 vk_free2(&device->vk.alloc, pAllocator, sync);
408 panvk_syncobj_to_fd(struct panvk_device *device, struct panvk_syncobj *sync)
411 struct drm_syncobj_handle handle = { .handle = sync->permanent };