Home
last modified time | relevance | path

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

/drivers/gpu/drm/xe/
A Dxe_exec.c113 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()
288 err = xe_sync_entry_add_deps(&syncs[i], job); in xe_exec_ioctl()
318 xe_sched_job_init_user_fence(job, &syncs[i]); in xe_exec_ioctl()
354 xe_sync_entry_cleanup(&syncs[num_syncs]); in xe_exec_ioctl()
[all …]
A Dxe_oa.c99 struct xe_sync_entry *syncs; member
1048 xe_sync_entry_cleanup(&stream->syncs[i]); in xe_oa_emit_oa_config()
1049 kfree(stream->syncs); in xe_oa_emit_oa_config()
1403 param->syncs = kcalloc(param->num_syncs, sizeof(*param->syncs), GFP_KERNEL); in xe_oa_parse_syncs()
1404 if (!param->syncs) { in xe_oa_parse_syncs()
1416 if (xe_sync_is_ufence(&param->syncs[num_syncs])) in xe_oa_parse_syncs()
1429 xe_sync_entry_cleanup(&param->syncs[num_syncs]); in xe_oa_parse_syncs()
1430 kfree(param->syncs); in xe_oa_parse_syncs()
1547 stream->syncs = param.syncs; in xe_oa_config_locked()
1731 stream->syncs = param->syncs; in xe_oa_stream_init()
[all …]
A Dxe_vm.c2043 struct xe_sync_entry *e = &syncs[i]; in find_ufence_get()
3429 struct xe_sync_entry *syncs, in vm_bind_ioctl_signal_fences() argument
3441 xe_sync_entry_signal(&syncs[i], fence); in vm_bind_ioctl_signal_fences()
3458 vops->syncs = syncs; in xe_vma_ops_init()
3529 struct xe_sync_entry *syncs = NULL; in xe_vm_bind_ioctl() local
3626 syncs = kcalloc(args->num_syncs, sizeof(*syncs), GFP_KERNEL); in xe_vm_bind_ioctl()
3627 if (!syncs) { in xe_vm_bind_ioctl()
3633 syncs_user = u64_to_user_ptr(args->syncs); in xe_vm_bind_ioctl()
3644 if (xe_sync_is_ufence(&syncs[num_syncs])) in xe_vm_bind_ioctl()
3722 xe_sync_entry_cleanup(&syncs[num_syncs]); in xe_vm_bind_ioctl()
[all …]
A Dxe_oa_types.h258 struct xe_sync_entry *syncs; member
A Dxe_vm_types.h458 struct xe_sync_entry *syncs; member
A Dxe_pt.c1184 static bool no_in_syncs(struct xe_sync_entry *syncs, u32 num_syncs) in no_in_syncs() argument
1189 struct dma_fence *fence = syncs[i].fence; in no_in_syncs()
1276 if (!job && !no_in_syncs(vops->syncs, vops->num_syncs)) in xe_pt_vm_dependencies()
1329 err = xe_sync_entry_add_deps(&vops->syncs[i], job); in xe_pt_vm_dependencies()
/drivers/gpu/drm/v3d/
A Dv3d_submit.c454 u32 __user *offsets, *syncs; in v3d_get_cpu_timestamp_query_params() local
485 syncs = u64_to_user_ptr(timestamp.syncs); in v3d_get_cpu_timestamp_query_params()
497 if (get_user(sync, syncs++)) { in v3d_get_cpu_timestamp_query_params()
523 u32 __user *syncs; in v3d_get_cpu_reset_timestamp_params() local
550 syncs = u64_to_user_ptr(reset.syncs); in v3d_get_cpu_reset_timestamp_params()
557 if (get_user(sync, syncs++)) { in v3d_get_cpu_reset_timestamp_params()
584 u32 __user *offsets, *syncs; in v3d_get_cpu_copy_query_results_params() local
615 syncs = u64_to_user_ptr(copy.syncs); in v3d_get_cpu_copy_query_results_params()
627 if (get_user(sync, syncs++)) { in v3d_get_cpu_copy_query_results_params()
658 u32 __user *syncs, in v3d_copy_query_info() argument
[all …]
/drivers/gpu/drm/panthor/
A Dpanthor_drv.c176 PANTHOR_UOBJ_DECL(struct drm_panthor_queue_submit, syncs), \
178 PANTHOR_UOBJ_DECL(struct drm_panthor_vm_bind_op, syncs))
453 const struct drm_panthor_obj_array *syncs) in panthor_submit_ctx_add_job() argument
459 ret = PANTHOR_UOBJ_GET_ARRAY(ctx->jobs[idx].syncops, syncs); in panthor_submit_ctx_add_job()
463 ctx->jobs[idx].syncop_count = syncs->count; in panthor_submit_ctx_add_job()
1006 ret = panthor_submit_ctx_add_job(&ctx, i, job, &qsubmit->syncs); in panthor_ioctl_group_submit()
1232 ret = panthor_submit_ctx_add_job(&ctx, i, job, &op->syncs); in panthor_ioctl_vm_bind_async()
A Dpanthor_mmu.c2448 if (!op->syncs.count) in panthor_vm_bind_prepare_op_ctx()
2587 if (op->syncs.count) in panthor_vm_bind_exec_sync_op()
/drivers/hid/
A Dhid-debug.c3151 static const char *syncs[SYN_CNT] = { variable
3604 [EV_SYN] = syncs, [EV_KEY] = keys,

Completed in 45 milliseconds