Lines Matching full:se

458 	     u32 in_sync, struct v3d_submit_ext *se, enum v3d_queue queue)  in v3d_job_init()  argument
462 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_job_init()
481 if (se->in_sync_count && se->wait_stage == queue) { in v3d_job_init()
482 struct drm_v3d_sem __user *handle = u64_to_user_ptr(se->in_syncs); in v3d_job_init()
484 for (i = 0; i < se->in_sync_count; i++) { in v3d_job_init()
534 struct v3d_submit_ext *se, in v3d_attach_fences_and_unlock_reservation() argument
538 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_attach_fences_and_unlock_reservation()
561 if (se->out_sync_count) { in v3d_attach_fences_and_unlock_reservation()
562 for (i = 0; i < se->out_sync_count; i++) { in v3d_attach_fences_and_unlock_reservation()
563 drm_syncobj_replace_fence(se->out_syncs[i].syncobj, in v3d_attach_fences_and_unlock_reservation()
565 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_attach_fences_and_unlock_reservation()
567 kvfree(se->out_syncs); in v3d_attach_fences_and_unlock_reservation()
572 v3d_put_multisync_post_deps(struct v3d_submit_ext *se) in v3d_put_multisync_post_deps() argument
576 if (!(se && se->out_sync_count)) in v3d_put_multisync_post_deps()
579 for (i = 0; i < se->out_sync_count; i++) in v3d_put_multisync_post_deps()
580 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_put_multisync_post_deps()
581 kvfree(se->out_syncs); in v3d_put_multisync_post_deps()
586 struct v3d_submit_ext *se, in v3d_get_multisync_post_deps() argument
595 se->out_syncs = (struct v3d_submit_outsync *) in v3d_get_multisync_post_deps()
599 if (!se->out_syncs) in v3d_get_multisync_post_deps()
613 se->out_syncs[i].syncobj = drm_syncobj_find(file_priv, in v3d_get_multisync_post_deps()
615 if (!se->out_syncs[i].syncobj) { in v3d_get_multisync_post_deps()
620 se->out_sync_count = count; in v3d_get_multisync_post_deps()
626 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_get_multisync_post_deps()
627 kvfree(se->out_syncs); in v3d_get_multisync_post_deps()
641 struct v3d_submit_ext *se = data; in v3d_get_multisync_submit_deps() local
655 se->in_sync_count = multisync.in_sync_count; in v3d_get_multisync_submit_deps()
656 se->in_syncs = multisync.in_syncs; in v3d_get_multisync_submit_deps()
657 se->flags |= DRM_V3D_EXT_ID_MULTI_SYNC; in v3d_get_multisync_submit_deps()
658 se->wait_stage = multisync.wait_stage; in v3d_get_multisync_submit_deps()
719 struct v3d_submit_ext se = {0}; in v3d_submit_cl_ioctl() local
740 ret = v3d_get_extensions(file_priv, args->extensions, &se); in v3d_submit_cl_ioctl()
748 v3d_render_job_free, args->in_sync_rcl, &se, V3D_RENDER); in v3d_submit_cl_ioctl()
758 v3d_job_free, args->in_sync_bcl, &se, V3D_BIN); in v3d_submit_cl_ioctl()
832 &se, in v3d_submit_cl_ioctl()
852 v3d_put_multisync_post_deps(&se); in v3d_submit_cl_ioctl()
872 struct v3d_submit_ext se = {0}; in v3d_submit_tfu_ioctl() local
885 ret = v3d_get_extensions(file_priv, args->extensions, &se); in v3d_submit_tfu_ioctl()
893 v3d_job_free, args->in_sync, &se, V3D_TFU); in v3d_submit_tfu_ioctl()
941 &se, in v3d_submit_tfu_ioctl()
950 v3d_put_multisync_post_deps(&se); in v3d_submit_tfu_ioctl()
971 struct v3d_submit_ext se = {0}; in v3d_submit_csd_ioctl() local
993 ret = v3d_get_extensions(file_priv, args->extensions, &se); in v3d_submit_csd_ioctl()
1001 v3d_job_free, args->in_sync, &se, V3D_CSD); in v3d_submit_csd_ioctl()
1045 &se, in v3d_submit_csd_ioctl()
1061 v3d_put_multisync_post_deps(&se); in v3d_submit_csd_ioctl()