Home
last modified time | relevance | path

Searched refs:syncs (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_exec.c116 struct drm_xe_sync __user *syncs_user = u64_to_user_ptr(args->syncs); in xe_exec_ioctl()
119 struct xe_sync_entry *syncs = NULL; in xe_exec_ioctl() local
165 syncs = kzalloc_objs(*syncs, args->num_syncs); in xe_exec_ioctl()
166 if (!syncs) { in xe_exec_ioctl()
175 err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs], in xe_exec_ioctl()
183 if (xe_sync_is_ufence(&syncs[num_syncs])) in xe_exec_ioctl()
186 if (!num_in_sync && xe_sync_needs_wait(&syncs[num_syncs])) in xe_exec_ioctl()
209 syncs, num_in_sync ? in xe_exec_ioctl()
243 fence = xe_sync_in_fence_get(syncs, num_syncs, q, vm); in xe_exec_ioctl()
250 xe_sync_entry_signal(&syncs[i], fence); in xe_exec_ioctl()
[all …]
H A Dxe_oa.c103 struct xe_sync_entry *syncs; member
667 err = xe_sync_entry_add_deps(&stream->syncs[i], job); in xe_oa_submit_bb()
1051 if (stream->syncs[i].flags & DRM_XE_SYNC_FLAG_SIGNAL) in xe_oa_emit_oa_config()
1053 xe_sync_entry_signal(&stream->syncs[i], &ofence->base); in xe_oa_emit_oa_config()
1077 xe_sync_entry_cleanup(&stream->syncs[i]); in xe_oa_emit_oa_config()
1078 kfree(stream->syncs); in xe_oa_emit_oa_config()
1440 param->syncs = kzalloc_objs(*param->syncs, param->num_syncs); in xe_oa_parse_syncs()
1441 if (!param->syncs) { in xe_oa_parse_syncs()
1448 ret = xe_sync_entry_parse(oa->xe, param->xef, &param->syncs[num_syncs], in xe_oa_parse_syncs()
1455 if (xe_sync_is_ufence(&param->syncs[num_syncs])) in xe_oa_parse_syncs()
[all …]
H A Dxe_vm.c777 struct xe_sync_entry *syncs, u32 num_syncs);
2058 find_ufence_get(struct xe_sync_entry *syncs, u32 num_syncs) in find_ufence_get() argument
2063 struct xe_sync_entry *e = &syncs[i]; in find_ufence_get()
3542 ufence = find_ufence_get(vops->syncs, vops->num_syncs); in vm_bind_ioctl_ops_fini()
3557 xe_sync_entry_signal(vops->syncs + i, fence); in vm_bind_ioctl_ops_fini()
3773 struct xe_sync_entry *syncs, in vm_bind_ioctl_signal_fences() argument
3780 fence = xe_sync_in_fence_get(syncs, num_syncs, in vm_bind_ioctl_signal_fences()
3786 xe_sync_entry_signal(&syncs[i], fence); in vm_bind_ioctl_signal_fences()
3796 struct xe_sync_entry *syncs, u32 num_syncs) in xe_vma_ops_init() argument
3802 vops->syncs = syncs; in xe_vma_ops_init()
[all …]
H A Dxe_oa_types.h269 struct xe_sync_entry *syncs; member
H A Dxe_pt.c1324 static bool no_in_syncs(struct xe_sync_entry *syncs, u32 num_syncs) in no_in_syncs() argument
1329 struct dma_fence *fence = syncs[i].fence; in no_in_syncs()
1418 if (!job && !no_in_syncs(vops->syncs, vops->num_syncs)) in xe_pt_vm_dependencies()
1464 err = xe_sync_entry_add_deps(&vops->syncs[i], job); in xe_pt_vm_dependencies()
/linux/Documentation/gpu/
H A Ddrm-vm-bind-async.rst258 synchronous VM_BIND, the num_syncs and syncs fields must be zero. Here
298 /** @num_syncs: amount of syncs to wait for or to signal on completion. */
304 /** @syncs: pointer to struct drm_xe_sync array */
305 __u64 syncs;
/linux/drivers/hid/
H A Dhid-debug.c3154 static const char *syncs[SYN_CNT] = { variable
3611 [EV_SYN] = syncs, [EV_KEY] = keys,
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-dv-timings.rst240 There are no horizontal syncs/porches at all in this format.
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c3027 if (!op->syncs.count) in panthor_vm_bind_prepare_op_ctx()
3166 if (op->syncs.count) in panthor_vm_bind_exec_sync_op()
/linux/kernel/sched/ext/
H A Dext.c167 unsigned long syncs[]; member
3259 ksyncs = rcu_dereference_sched(ks)->syncs; in kick_sync_wait_bal_cb()
7200 new_ksyncs = kvzalloc_node(struct_size(new_ksyncs, syncs, nr_cpu_ids), in alloc_pnode()
8663 ksyncs = rcu_dereference_bh(ksyncs_pcpu)->syncs; in kick_cpus_irq_workfn()