Lines Matching refs:sync
40 job->sync = args->sync; in nouveau_job_init()
47 if (job->sync) in nouveau_job_init()
60 if (job->sync) { in nouveau_job_init()
129 struct drm_nouveau_sync *sync, in sync_find_fence() argument
132 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in sync_find_fence()
141 point = sync->timeline_value; in sync_find_fence()
144 sync->handle, point, in sync_find_fence()
159 struct drm_nouveau_sync *sync = &job->in_sync.data[i]; in nouveau_job_add_deps() local
161 ret = sync_find_fence(job, sync, &in_fence); in nouveau_job_add_deps()
165 sync->handle); in nouveau_job_add_deps()
200 struct drm_nouveau_sync *sync = &job->out_sync.data[i]; in nouveau_job_fence_attach_prepare() local
203 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach_prepare()
211 *pobj = drm_syncobj_find(job->file_priv, sync->handle); in nouveau_job_fence_attach_prepare()
215 sync->handle); in nouveau_job_fence_attach_prepare()
243 struct drm_nouveau_sync *sync = &job->out_sync.data[i]; in nouveau_job_fence_attach() local
246 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach()
250 sync->timeline_value); in nouveau_job_fence_attach()
292 if (job->sync) in nouveau_job_submit()