Home
last modified time | relevance | path

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

/openbsd-src/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; global() member
249 struct drm_syncobj *syncobj; drm_syncobj_find() local
264 drm_syncobj_fence_add_wait(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) drm_syncobj_fence_add_wait() argument
289 drm_syncobj_remove_wait(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) drm_syncobj_remove_wait() argument
314 drm_syncobj_add_eventfd(struct drm_syncobj * syncobj,struct syncobj_eventfd_entry * entry) drm_syncobj_add_eventfd() argument
333 drm_syncobj_add_point(struct drm_syncobj * syncobj,struct dma_fence_chain * chain,struct dma_fence * fence,uint64_t point) drm_syncobj_add_point() argument
372 drm_syncobj_replace_fence(struct drm_syncobj * syncobj,struct dma_fence * fence) drm_syncobj_replace_fence() argument
407 drm_syncobj_assign_null_handle(struct drm_syncobj * syncobj) drm_syncobj_assign_null_handle() argument
440 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); drm_syncobj_find_fence() local
529 struct drm_syncobj *syncobj = container_of(kref, drm_syncobj_free() local
559 struct drm_syncobj *syncobj; drm_syncobj_create() local
598 drm_syncobj_get_handle(struct drm_file * file_private,struct drm_syncobj * syncobj,u32 * handle) drm_syncobj_get_handle() argument
626 struct drm_syncobj *syncobj; drm_syncobj_create_as_handle() local
640 struct drm_syncobj *syncobj; drm_syncobj_destroy() local
656 struct drm_syncobj *syncobj = file->private_data; drm_syncobj_file_release() local
676 drm_syncobj_get_fd(struct drm_syncobj * syncobj,int * p_fd) drm_syncobj_get_fd() argument
708 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); drm_syncobj_handle_to_fd() local
725 struct drm_syncobj *syncobj; drm_syncobj_fd_to_handle() local
762 struct drm_syncobj *syncobj; drm_syncobj_import_sync_file_fence() local
828 struct drm_syncobj *syncobj = ptr; drm_syncobj_release_handle() local
1065 syncobj_wait_syncobj_func(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) syncobj_wait_syncobj_func() argument
1441 syncobj_eventfd_entry_func(struct drm_syncobj * syncobj,struct syncobj_eventfd_entry * entry) syncobj_eventfd_entry_func() argument
1489 struct drm_syncobj *syncobj; drm_syncobj_eventfd_ioctl() local
[all...]
/openbsd-src/sys/dev/pci/drm/include/drm/
H A Ddrm_syncobj.h107 drm_syncobj_fence_get(struct drm_syncobj *syncobj) in drm_syncobj_fence_get() argument
112 fence = dma_fence_get_rcu_safe(&syncobj->fence); in drm_syncobj_fence_get()
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-src/sys/dev/pci/drm/i915/gem/
H A Di915_gem_execbuffer.c240 struct drm_syncobj *syncobj; /* Use with ptr_mask_bits() */ member
2803 drm_syncobj_put(ptr_mask_bits(fences[n].syncobj, 2)); in __free_fence_array()
2864 struct drm_syncobj *syncobj; in add_timeline_fence_array() local
2879 syncobj = drm_syncobj_find(eb->file, user_fence.handle); in add_timeline_fence_array()
2880 if (!syncobj) { in add_timeline_fence_array()
2886 fence = drm_syncobj_fence_get(syncobj); in add_timeline_fence_array()
2892 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2904 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2914 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2931 drm_syncobj_put(syncobj); in add_timeline_fence_array()
[all …]
H A Di915_gem_context_types.h270 struct drm_syncobj *syncobj; member
H A Di915_gem_context.c1288 if (ctx->syncobj) in i915_gem_context_release_work()
1289 drm_syncobj_put(ctx->syncobj); in i915_gem_context_release_work()
1679 err = drm_syncobj_create(&ctx->syncobj, in i915_gem_create_context()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_cs.c447 DRM_ERROR("syncobj %u failed to find fence @ %llu (%d)!\n", in amdgpu_syncobj_lookup_and_add()
517 p->post_deps[i].syncobj = in amdgpu_cs_p2_syncobj_out()
519 if (!p->post_deps[i].syncobj) in amdgpu_cs_p2_syncobj_out()
559 dep->syncobj = drm_syncobj_find(p->filp, in amdgpu_cs_p2_syncobj_timeline_signal()
561 if (!dep->syncobj) { in amdgpu_cs_p2_syncobj_timeline_signal()
1261 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_submit()
1266 drm_syncobj_replace_fence(p->post_deps[i].syncobj, in amdgpu_cs_submit()
1384 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_ioctl()
1561 struct drm_syncobj *syncobj; in amdgpu_cs_fence_to_handle_ioctl()
1574 r = drm_syncobj_create(&syncobj, in amdgpu_cs_fence_to_handle_ioctl()
1539 struct drm_syncobj *syncobj; amdgpu_cs_fence_to_handle_ioctl() local
[all...]
H A Damdgpu_cs.h44 struct drm_syncobj *syncobj; member