Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_syncobj.c172 static void syncobj_wait_syncobj_func(struct drm_syncobj *syncobj,
186 struct drm_syncobj *syncobj; in drm_syncobj_find() local
191 syncobj = idr_find(&file_private->syncobj_idr, handle); in drm_syncobj_find()
192 if (syncobj) in drm_syncobj_find()
193 drm_syncobj_get(syncobj); in drm_syncobj_find()
197 return syncobj; in drm_syncobj_find()
201 static void drm_syncobj_fence_add_wait(struct drm_syncobj *syncobj, in drm_syncobj_fence_add_wait() argument
209 spin_lock(&syncobj->lock); in drm_syncobj_fence_add_wait()
214 fence = dma_fence_get(rcu_dereference_protected(syncobj->fence, 1)); in drm_syncobj_fence_add_wait()
217 list_add_tail(&wait->node, &syncobj->cb_list); in drm_syncobj_fence_add_wait()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_syncobj.h105 drm_syncobj_fence_get(struct drm_syncobj *syncobj) in drm_syncobj_fence_get() argument
110 fence = dma_fence_get_rcu_safe(&syncobj->fence); in drm_syncobj_fence_get()
118 void drm_syncobj_add_point(struct drm_syncobj *syncobj,
122 void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
131 struct drm_syncobj *syncobj, u32 *handle);
132 int drm_syncobj_get_fd(struct drm_syncobj *syncobj, int *p_fd);
/netbsd-src/sys/sys/
H A Dsleepq.h45 struct syncobj;
57 const struct syncobj *, bool);
59 const struct syncobj *, kmutex_t *, bool);
67 int sleepq_block(int, bool, const struct syncobj *, int);
H A Dsleeptab.h38 struct syncobj;
128 void turnstile_block(turnstile_t *, int, wchan_t, const struct syncobj *);
H A Dktrace.h300 struct syncobj;
312 void ktr_csw(int, int, const struct syncobj *);
354 ktrcsw(int a, int b, const struct syncobj *c)
H A Dsyncobj.h44 typedef struct syncobj { struct
H A Dlwp.h131 const struct syncobj *l_syncobj;/* l: sync object operations set */
H A DMakefile45 stdbool.h stddef.h stdint.h swap.h syncobj.h syslimits.h syslog.h \
/netbsd-src/sys/ddb/
H A Ddb_syncobj.h35 struct syncobj;
37 struct lwp *db_syncobj_owner(const struct syncobj *, wchan_t);
H A Ddb_syncobj.c45 db_syncobj_owner(const struct syncobj *sobj, wchan_t wchan) in db_syncobj_owner()
H A Ddb_command.c1400 const struct syncobj *sobj = NULL; in db_show_all_tstiles()
/netbsd-src/external/mit/xorg/lib/libxcb/files/
H A Ddri3.h336 xcb_dri3_syncobj_t syncobj; member
350 xcb_dri3_syncobj_t syncobj; member
949 xcb_dri3_syncobj_t syncobj,
963 xcb_dri3_syncobj_t syncobj,
980 xcb_dri3_syncobj_t syncobj);
992 xcb_dri3_syncobj_t syncobj);
H A Ddri3.c1000 xcb_dri3_syncobj_t syncobj, in xcb_dri3_import_syncobj_checked() argument
1017 xcb_out.syncobj = syncobj; in xcb_dri3_import_syncobj_checked()
1032 xcb_dri3_syncobj_t syncobj, in xcb_dri3_import_syncobj() argument
1049 xcb_out.syncobj = syncobj; in xcb_dri3_import_syncobj()
1064 xcb_dri3_syncobj_t syncobj) in xcb_dri3_free_syncobj_checked() argument
1077 xcb_out.syncobj = syncobj; in xcb_dri3_free_syncobj_checked()
1090 xcb_dri3_syncobj_t syncobj) in xcb_dri3_free_syncobj() argument
1103 xcb_out.syncobj = syncobj; in xcb_dri3_free_syncobj()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_cs.c701 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini()
1095 p->post_deps[i].syncobj = in amdgpu_cs_process_syncobj_out_dep()
1097 if (!p->post_deps[i].syncobj) in amdgpu_cs_process_syncobj_out_dep()
1139 dep->syncobj = drm_syncobj_find(p->filp, in amdgpu_cs_process_syncobj_timeline_out_dep()
1141 if (!dep->syncobj) { in amdgpu_cs_process_syncobj_timeline_out_dep()
1201 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1206 drm_syncobj_replace_fence(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1439 struct drm_syncobj *syncobj; in amdgpu_cs_fence_to_handle_ioctl() local
1452 r = drm_syncobj_create(&syncobj, 0, fence); in amdgpu_cs_fence_to_handle_ioctl()
1456 r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle); in amdgpu_cs_fence_to_handle_ioctl()
[all …]
H A Damdgpu.h473 struct drm_syncobj *syncobj; member
/netbsd-src/sys/kern/
H A Dkern_sleepq.c344 sleepq_block(int timo, bool catch_p, syncobj_t *syncobj, int nlocks) in sleepq_block() argument
352 ktrcsw(1, 0, syncobj); in sleepq_block()
443 ktrcsw(0, 0, syncobj); in sleepq_block()
H A Dkern_ktrace.c80 #include <sys/syncobj.h>
813 ktr_csw(int out, int user, const struct syncobj *syncobj) in ktr_csw() argument
829 if (syncobj == &mutex_syncobj || syncobj == &rw_syncobj) in ktr_csw()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_execbuffer.c2509 struct drm_syncobj *syncobj; in get_fence_array() local
2521 syncobj = drm_syncobj_find(file, fence.handle); in get_fence_array()
2522 if (!syncobj) { in get_fence_array()
2531 fences[n] = ptr_pack_bits(syncobj, fence.flags, 2); in get_fence_array()
2558 struct drm_syncobj *syncobj; in await_fence_array() local
2562 syncobj = ptr_unpack_bits(fences[n], &flags, 2); in await_fence_array()
2566 fence = drm_syncobj_fence_get(syncobj); in await_fence_array()
2588 struct drm_syncobj *syncobj; in signal_fence_array() local
2591 syncobj = ptr_unpack_bits(fences[n], &flags, 2); in signal_fence_array()
2595 drm_syncobj_replace_fence(syncobj, fence); in signal_fence_array()
/netbsd-src/sys/rump/librump/rumpkern/
H A Dsleepq.c87 sleepq_block(int timo, bool catch, syncobj_t *syncobj __unused, int nlocks) in sleepq_block()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A DKconfig.debug33 select SW_SYNC # signaling validation framework (igt/syncobj*)
/netbsd-src/external/mit/xorg/lib/
H A Dlibmesa.mk125 syncobj.c \
H A Dlibmesa.old.mk115 syncobj.c \
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DDbeView.cc2355 uint64_t syncobj = (uint64_t) packets->getLongValue (PROP_SOBJ, i); in dump_sync() local
2371 …(unsigned long long) syncobj, (long long) (syncdelay / NANOSEC), (long long) (syncdelay % NANOSEC)… in dump_sync()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DDbeView.cc2355 uint64_t syncobj = (uint64_t) packets->getLongValue (PROP_SOBJ, i); in dump_sync() local
2371 …(unsigned long long) syncobj, (long long) (syncdelay / NANOSEC), (long long) (syncdelay % NANOSEC)… in dump_sync()