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

/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_syncobj.h65 * @file: A file backing for this syncobj.
73 * drm_syncobj_get - acquire a syncobj reference
97 * @syncobj: sync object.
107 drm_syncobj_fence_get(struct drm_syncobj *syncobj) argument
112 fence = dma_fence_get_rcu_safe(&syncobj->fence);
120 void drm_syncobj_add_point(struct drm_syncobj *syncobj,
124 void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
133 struct drm_syncobj *syncobj, u32 *handle);
134 int drm_syncobj_get_fd(struct drm_syncobj *syncobj, int *p_fd);
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_syncobj.c32 * DRM synchronisation objects (syncobj, see struct &drm_syncobj) provide a
37 * The syncobj userspace API provides ioctls for several operations:
40 * - Import and export of syncobjs to/from a syncobj file descriptor
41 * - Import and export a syncobj's underlying fence to/from a sync file
42 * - Reset a syncobj (set its fence to NULL)
43 * - Signal a syncobj (set a trivially signaled fence)
44 * - Wait for a syncobj's fence to appear and be signaled
46 * The syncobj userspace API also provides operations to manipulate a syncobj
54 * At it's core, a syncobj i
228 struct drm_syncobj *syncobj; member in struct:syncobj_eventfd_entry
249 struct drm_syncobj *syncobj; local
264 drm_syncobj_fence_add_wait(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
289 drm_syncobj_remove_wait(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
314 drm_syncobj_add_eventfd(struct drm_syncobj *syncobj, struct syncobj_eventfd_entry *entry) argument
333 drm_syncobj_add_point(struct drm_syncobj *syncobj, struct dma_fence_chain *chain, struct dma_fence *fence, uint64_t point) argument
372 drm_syncobj_replace_fence(struct drm_syncobj *syncobj, struct dma_fence *fence) argument
407 drm_syncobj_assign_null_handle(struct drm_syncobj *syncobj) argument
440 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); local
529 struct drm_syncobj *syncobj = container_of(kref, local
559 struct drm_syncobj *syncobj; local
597 drm_syncobj_get_handle(struct drm_file *file_private, struct drm_syncobj *syncobj, u32 *handle) argument
626 struct drm_syncobj *syncobj; local
640 struct drm_syncobj *syncobj; local
656 struct drm_syncobj *syncobj = file->private_data; local
676 drm_syncobj_get_fd(struct drm_syncobj *syncobj, int *p_fd) argument
708 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); local
725 struct drm_syncobj *syncobj; local
762 struct drm_syncobj *syncobj; local
828 struct drm_syncobj *syncobj = ptr; local
1065 syncobj_wait_syncobj_func(struct drm_syncobj *syncobj, struct syncobj_wait_entry *wait) argument
1441 syncobj_eventfd_entry_func(struct drm_syncobj *syncobj, struct syncobj_eventfd_entry *entry) argument
1489 struct drm_syncobj *syncobj; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_cs.h44 struct drm_syncobj *syncobj; member in struct:amdgpu_cs_post_dep
H A Damdgpu_cs.c443 DRM_ERROR("syncobj %u failed to find fence @ %llu (%d)!\n",
513 p->post_deps[i].syncobj =
515 if (!p->post_deps[i].syncobj)
555 dep->syncobj = drm_syncobj_find(p->filp,
557 if (!dep->syncobj) {
1239 drm_syncobj_add_point(p->post_deps[i].syncobj,
1244 drm_syncobj_replace_fence(p->post_deps[i].syncobj,
1362 drm_syncobj_put(parser->post_deps[i].syncobj);
1539 struct drm_syncobj *syncobj; local
1552 r = drm_syncobj_create(&syncobj,
[all...]
/openbsd-current/sys/dev/pci/drm/i915/gem/
H A Di915_gem_context_types.h209 /** @single_timeline: See See &i915_gem_context.syncobj */
259 * @syncobj: Shared timeline syncobj
262 * emulate a single timeline across all engines using this syncobj.
263 * For every execbuffer2 call, this syncobj is used as both an in-
270 struct drm_syncobj *syncobj; member in struct:i915_gem_context
H A Di915_gem_execbuffer.c240 struct drm_syncobj *syncobj; /* Use with ptr_mask_bits() */ member in struct:eb_fence
2803 drm_syncobj_put(ptr_mask_bits(fences[n].syncobj, 2));
2864 struct drm_syncobj *syncobj; local
2879 syncobj = drm_syncobj_find(eb->file, user_fence.handle);
2880 if (!syncobj) {
2882 "Invalid syncobj handle provided\n");
2886 fence = drm_syncobj_fence_get(syncobj);
2892 drm_syncobj_put(syncobj);
2904 drm_syncobj_put(syncobj);
2914 drm_syncobj_put(syncobj);
2998 struct drm_syncobj *syncobj; local
3071 struct drm_syncobj *syncobj; local
[all...]
H A Di915_gem_context.c1288 if (ctx->syncobj)
1289 drm_syncobj_put(ctx->syncobj);
1679 err = drm_syncobj_create(&ctx->syncobj,

Completed in 407 milliseconds