Lines Matching refs:syncs
110 struct drm_xe_sync __user *syncs_user = u64_to_user_ptr(args->syncs); in xe_exec_ioctl()
113 struct xe_sync_entry *syncs = NULL; in xe_exec_ioctl() local
152 syncs = kcalloc(args->num_syncs, sizeof(*syncs), GFP_KERNEL); in xe_exec_ioctl()
153 if (!syncs) { in xe_exec_ioctl()
162 err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs], in xe_exec_ioctl()
169 if (xe_sync_is_ufence(&syncs[num_syncs])) in xe_exec_ioctl()
224 fence = xe_sync_in_fence_get(syncs, num_syncs, q, vm); in xe_exec_ioctl()
231 xe_sync_entry_signal(&syncs[i], fence); in xe_exec_ioctl()
282 err = xe_sync_entry_add_deps(&syncs[i], job); in xe_exec_ioctl()
311 xe_sync_entry_signal(&syncs[i], &job->drm.s_fence->finished); in xe_exec_ioctl()
312 xe_sched_job_init_user_fence(job, &syncs[i]); in xe_exec_ioctl()
348 xe_sync_entry_cleanup(&syncs[num_syncs]); in xe_exec_ioctl()
349 kfree(syncs); in xe_exec_ioctl()