Lines Matching defs:syncobjs
39 * - Creation and destruction of syncobjs
40 * - Import and export of syncobjs to/from a syncobj file descriptor
85 * With binary syncobj, all manipulation of the syncobjs's fence happens in
107 * Host-side wait on syncobjs
122 * syncobjs in the array has a NULL fence, -EINVAL will be returned.
144 * Import/export of syncobjs
148 * provide two mechanisms for import/export of syncobjs.
178 * Import/export of timeline points in timeline syncobjs
1087 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
1136 fence = drm_syncobj_fence_get(syncobjs[i]);
1176 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]);
1226 drm_syncobj_remove_wait(syncobjs[i], &entries[i]);
1277 struct drm_syncobj **syncobjs, bool timeline)
1284 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1294 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1312 struct drm_syncobj **syncobjs;
1325 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1326 if (syncobjs == NULL) {
1332 syncobjs[i] = drm_syncobj_find(file_private, handles[i]);
1333 if (!syncobjs[i]) {
1340 *syncobjs_out = syncobjs;
1345 drm_syncobj_put(syncobjs[i]);
1346 kfree(syncobjs);
1353 static void drm_syncobj_array_free(struct drm_syncobj **syncobjs,
1359 drm_syncobj_put(syncobjs[i]);
1360 kfree(syncobjs);
1368 struct drm_syncobj **syncobjs;
1384 &syncobjs);
1389 args, NULL, syncobjs, false);
1391 drm_syncobj_array_free(syncobjs, args->count_handles);
1401 struct drm_syncobj **syncobjs;
1418 &syncobjs);
1423 NULL, args, syncobjs, true);
1425 drm_syncobj_array_free(syncobjs, args->count_handles);
1541 struct drm_syncobj **syncobjs;
1557 &syncobjs);
1562 drm_syncobj_replace_fence(syncobjs[i], NULL);
1564 drm_syncobj_array_free(syncobjs, args->count_handles);
1574 struct drm_syncobj **syncobjs;
1590 &syncobjs);
1595 ret = drm_syncobj_assign_null_handle(syncobjs[i]);
1600 drm_syncobj_array_free(syncobjs, args->count_handles);
1610 struct drm_syncobj **syncobjs;
1628 &syncobjs);
1664 drm_syncobj_add_point(syncobjs[i], chains[i],
1673 drm_syncobj_array_free(syncobjs, args->count_handles);
1682 struct drm_syncobj **syncobjs;
1699 &syncobjs);
1708 fence = drm_syncobj_fence_get(syncobjs[i]);
1742 drm_syncobj_array_free(syncobjs, args->count_handles);