Searched refs:syncobj (Results 1 - 25 of 85) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_fence.c69 struct iris_syncobj *syncobj = malloc(sizeof(*syncobj)); local in function:iris_create_syncobj
71 if (!syncobj)
74 syncobj->handle = gem_syncobj_create(fd, 0);
75 assert(syncobj->handle);
77 pipe_reference_init(&syncobj->ref, 1);
79 return syncobj;
83 iris_syncobj_destroy(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) argument
86 gem_syncobj_destroy(fd, syncobj->handle);
87 free(syncobj);
91 iris_syncobj_signal(struct iris_bufmgr * bufmgr,struct iris_syncobj * syncobj) argument
111 iris_batch_add_syncobj(struct iris_batch * batch,struct iris_syncobj * syncobj,unsigned flags) argument
151 struct iris_syncobj **syncobj = local in function:clear_stale_syncobjs
215 iris_wait_syncobj(struct iris_bufmgr * bufmgr,struct iris_syncobj * syncobj,int64_t timeout_nsec) argument
546 struct iris_syncobj *syncobj = malloc(sizeof(*syncobj)); local in function:iris_fence_create_fd
[all...]
H A Diris_fence.h46 struct iris_syncobj *syncobj,
49 struct iris_syncobj *syncobj,
H A Diris_batch.h124 /** A seqno (and syncobj) for the last batch that was submitted. */
249 * Get a pointer to the batch's signalling syncobj. Does not refcount.
254 /* The signalling syncobj is the first one in the list. */
255 struct iris_syncobj *syncobj = local in function:iris_batch_get_signal_syncobj
257 return syncobj;
262 * Take a reference to the batch's signalling syncobj.
271 struct iris_syncobj *syncobj = iris_batch_get_signal_syncobj(batch); local in function:iris_batch_reference_signal_syncobj
272 iris_syncobj_reference(batch->screen->bufmgr, out_syncobj, syncobj);
H A Diris_fine_fence.h60 struct iris_syncobj *syncobj; member in struct:iris_fine_fence
H A Diris_fine_fence.c39 iris_syncobj_reference(screen->bufmgr, &fine->syncobj, NULL);
55 iris_syncobj_reference(batch->screen->bufmgr, &fine->syncobj,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_fence.c66 struct crocus_syncobj *syncobj = malloc(sizeof(*syncobj)); local in function:crocus_create_syncobj
68 if (!syncobj)
71 syncobj->handle = gem_syncobj_create(screen->fd, 0);
72 assert(syncobj->handle);
74 pipe_reference_init(&syncobj->ref, 1);
76 return syncobj;
81 struct crocus_syncobj *syncobj)
83 gem_syncobj_destroy(screen->fd, syncobj->handle);
84 free(syncobj);
80 crocus_syncobj_destroy(struct crocus_screen * screen,struct crocus_syncobj * syncobj) argument
93 crocus_batch_add_syncobj(struct crocus_batch * batch,struct crocus_syncobj * syncobj,unsigned flags) argument
131 struct crocus_syncobj **syncobj = local in function:clear_stale_syncobjs
194 crocus_wait_syncobj(struct pipe_screen * p_screen,struct crocus_syncobj * syncobj,int64_t timeout_nsec) argument
494 struct crocus_syncobj *syncobj = malloc(sizeof(*syncobj)); local in function:crocus_fence_create_fd
[all...]
H A Dcrocus_fence.h44 struct crocus_syncobj *syncobj,
47 struct crocus_syncobj *syncobj,
H A Dcrocus_fine_fence.h60 struct crocus_syncobj *syncobj; member in struct:crocus_fine_fence
H A Dcrocus_fine_fence.c43 crocus_syncobj_reference(screen, &fine->syncobj, NULL);
59 crocus_syncobj_reference(batch->screen, &fine->syncobj,
H A Dcrocus_batch.h146 /** A seqno (and syncobj) for the last batch that was submitted. */
274 * Get a pointer to the batch's signalling syncobj. Does not refcount.
279 /* The signalling syncobj is the first one in the list. */
280 struct crocus_syncobj *syncobj = local in function:crocus_batch_get_signal_syncobj
282 return syncobj;
286 * Take a reference to the batch's signalling syncobj.
295 struct crocus_syncobj *syncobj = crocus_batch_get_signal_syncobj(batch); local in function:crocus_batch_reference_signal_syncobj
296 crocus_syncobj_reference(batch->screen, out_syncobj, syncobj);
/xsrc/external/mit/MesaLib/dist/src/intel/common/
H A Dintel_gem.c38 uint32_t syncobj = create.handle; local in function:intel_gem_supports_syncobj_wait
49 .handle = syncobj,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_fence.c74 unsigned syncobj; local in function:v3d_fence_finish
75 ret = drmSyncobjCreate(screen->fd, 0, &syncobj);
77 fprintf(stderr, "Failed to create syncobj to wait on: %d\n",
82 drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd);
84 fprintf(stderr, "Failed to import fence to syncobj: %d\n", ret);
92 ret = drmSyncobjWait(screen->fd, &syncobj, 1, abs_timeout, 0, NULL);
94 drmSyncobjDestroy(screen->fd, syncobj);
107 * another syncobj instead of a sync file, but this is all we get.
108 * (HandleToFD/FDToHandle just gives you another syncobj ID for the
109 * same syncobj)
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_fence.c81 unsigned syncobj; local in function:v3d_fence_wait
83 ret = drmSyncobjCreate(screen->fd, 0, &syncobj);
85 fprintf(stderr, "Failed to create syncobj to wait on: %d\n",
90 ret = drmSyncobjImportSyncFile(screen->fd, syncobj, fence->fd);
92 fprintf(stderr, "Failed to import fence to syncobj: %d\n", ret);
100 ret = drmSyncobjWait(screen->fd, &syncobj, 1, abs_timeout, 0, NULL);
102 drmSyncobjDestroy(screen->fd, syncobj);
127 * another syncobj instead of a sync file, but this is all we get.
128 * (HandleToFD/FDToHandle just gives you another syncobj ID for the
129 * same syncobj)
[all...]
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_renderer_virtgpu.c139 struct sim_syncobj *syncobj = calloc(1, sizeof(*syncobj)); local in function:sim_syncobj_create
140 if (!syncobj)
143 mtx_init(&syncobj->mutex, mtx_plain);
144 syncobj->pending_fd = -1;
174 (const void *)(uintptr_t)syncobj_handle, syncobj);
184 struct sim_syncobj *syncobj = NULL; local in function:sim_syncobj_destroy
191 syncobj = entry->data;
198 if (syncobj) {
199 if (syncobj
227 sim_syncobj_set_point_locked(struct sim_syncobj * syncobj,uint64_t point) argument
239 sim_syncobj_update_point_locked(struct sim_syncobj * syncobj,int poll_timeout) argument
270 struct sim_syncobj *syncobj = NULL; local in function:sim_syncobj_lookup
285 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_reset
301 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_query
318 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_signal
336 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_submit
393 struct sim_syncobj *syncobj = local in function:sim_syncobj_wait
428 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_export
446 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); local in function:sim_syncobj_import
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.c109 if (fence->syncobj)
110 drmSyncobjDestroy(fd_device_fd(fence->screen->dev), fence->syncobj);
162 int syncobj)
180 fence->syncobj = syncobj;
198 uint32_t syncobj; local in function:fd_create_fence_fd
201 ret = drmSyncobjFDToHandle(fd_device_fd(ctx->screen->dev), fd, &syncobj);
205 *pfence = fence_create(fd_context(pctx), NULL, -1, syncobj);
243 if (fence->syncobj) {
244 drmSyncobjSignal(fd_device_fd(ctx->screen->dev), &fence->syncobj,
161 fence_create(struct fd_context * ctx,struct fd_batch * batch,int fence_fd,int syncobj) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_sync.c54 uint32_t syncobj)
63 sync->temporary = syncobj;
169 VkResult ret = sync_create(device, &sem->syncobj, false);
185 sync_destroy(device, &sem->syncobj);
197 return sync_import(device, &sem->syncobj, temp, sync_fd, info->fd);
207 return sync_export(device, &sem->syncobj, sync_fd, pFd);
223 VkResult ret = sync_create(device, &fence->syncobj,
241 sync_destroy(device, &fence->syncobj);
253 return sync_import(device, &fence->syncobj, temp, sync_fd, info->fd);
263 return sync_export(device, &fence->syncobj, sync_f
53 sync_set_temporary(struct panvk_device * device,struct panvk_syncobj * sync,uint32_t syncobj) argument
[all...]
H A Dpanvk_vX_device.c126 panvk_queue_transfer_sync(struct panvk_queue *queue, uint32_t syncobj) argument
141 handle.handle = syncobj;
160 in_fences[(*nr_in_fences)++] = op->event->syncobj;
176 panvk_queue_transfer_sync(queue, op->event->syncobj);
183 .handles = (uint64_t) (uintptr_t) &event->syncobj,
219 semaphores[i + 1] = sem->syncobj.temporary ? : sem->syncobj.permanent;
294 panvk_queue_transfer_sync(queue, sem->syncobj.temporary ? : sem->syncobj.permanent);
300 panvk_queue_transfer_sync(queue, fence->syncobj
[all...]
H A Dpanvk_wsi.c85 panvk_signal_syncobjs(device, fence ? &fence->syncobj : NULL,
86 sem ? &sem->syncobj : NULL);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_winsys.h65 /* syncobj cache */
67 uint32_t *syncobj; member in struct:radv_amdgpu_winsys
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_wsi_display.c71 if (device->ws->export_syncobj(device->ws, fence->permanent.syncobj, &fd)) {
111 if (device->ws->export_syncobj(device->ws, fence->permanent.syncobj, &fd)) {
H A Dradv_wsi.c92 device->ws->signal_syncobj(device->ws, part->syncobj, 0);
107 device->ws->signal_syncobj(device->ws, part->syncobj, 0);
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_queue.c755 uint32_t syncobj; local in function:anv_queue_submit_simple_batch
759 syncobj = anv_gem_syncobj_create(device, 0);
760 if (!syncobj) {
765 result = anv_queue_submit_add_syncobj(queue, submit, syncobj,
801 if (anv_gem_syncobj_wait(device, &syncobj, 1,
804 anv_gem_syncobj_destroy(device, syncobj);
822 anv_gem_syncobj_destroy(device, syncobj);
848 * make copies of the temporary syncobj to ensure they stay alive until we
882 out->syncobj = anv_gem_syncobj_create(device, 0);
883 if (!out->syncobj)
2090 wait_syncobj_materialize(struct anv_device * device,uint32_t syncobj,int * fd) argument
[all...]
/xsrc/external/mit/libdrm/dist/amdgpu/
H A Damdgpu.h1592 * \param syncobj - \c [out] sync object handle
1600 uint32_t *syncobj);
1606 * \param syncobj - \c [out] sync object handle
1613 uint32_t *syncobj);
1618 * \param syncobj - \c [in] sync object handle
1625 uint32_t syncobj);
1719 * syncobj payload.
1736 * syncobj payload.
1753 * \param syncobj - \c [in] sync object handle
1761 uint32_t syncobj,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_radeon_winsys.h176 uint32_t *syncobj; member in struct:radv_winsys_sem_counts
327 int (*export_syncobj)(struct radeon_winsys *ws, uint32_t syncobj, int *fd);
328 int (*import_syncobj)(struct radeon_winsys *ws, int fd, uint32_t *syncobj);
330 int (*export_syncobj_to_sync_file)(struct radeon_winsys *ws, uint32_t syncobj, int *fd);
332 /* Note that this, unlike the normal import, uses an existing syncobj. */
333 int (*import_syncobj_from_sync_file)(struct radeon_winsys *ws, uint32_t syncobj, int fd);
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_queue.c285 fence->permanent.syncobj = anv_gem_syncobj_create(device, create_flags);
286 if (!fence->permanent.syncobj)
322 anv_gem_syncobj_destroy(device, impl->syncobj);
381 anv_gem_syncobj_reset(device, impl->syncobj);
433 int ret = anv_gem_syncobj_wait(device, &impl->syncobj, 1, 0, true);
520 syncobjs[i] = impl->syncobj;
812 new_impl.syncobj = anv_gem_syncobj_fd_to_handle(device, fd);
813 if (!new_impl.syncobj)
820 * syncobj implementation of WaitForFences, we don't use the sync file
821 * directly but instead import it into a syncobj
[all...]

Completed in 26 milliseconds

1234