Lines Matching refs:syncs
116 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()
305 err = xe_sync_entry_add_deps(&syncs[i], job); in xe_exec_ioctl()
330 xe_sync_entry_signal(&syncs[i], &job->drm.s_fence->finished); in xe_exec_ioctl()
331 xe_sched_job_init_user_fence(job, &syncs[i]); in xe_exec_ioctl()
366 xe_sync_entry_cleanup(&syncs[num_syncs]); in xe_exec_ioctl()
367 kfree(syncs); in xe_exec_ioctl()