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.
140 * Import/export of syncobjs
144 * provide two mechanisms for import/export of syncobjs.
174 * Import/export of timeline points in timeline syncobjs
942 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
983 fence = drm_syncobj_fence_get(syncobjs[i]);
1022 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]);
1072 drm_syncobj_remove_wait(syncobjs[i], &entries[i]);
1123 struct drm_syncobj **syncobjs, bool timeline)
1130 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1140 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1158 struct drm_syncobj **syncobjs;
1171 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1172 if (syncobjs == NULL) {
1178 syncobjs[i] = drm_syncobj_find(file_private, handles[i]);
1179 if (!syncobjs[i]) {
1186 *syncobjs_out = syncobjs;
1191 drm_syncobj_put(syncobjs[i]);
1192 kfree(syncobjs);
1199 static void drm_syncobj_array_free(struct drm_syncobj **syncobjs,
1205 drm_syncobj_put(syncobjs[i]);
1206 kfree(syncobjs);
1214 struct drm_syncobj **syncobjs;
1230 &syncobjs);
1235 args, NULL, syncobjs, false);
1237 drm_syncobj_array_free(syncobjs, args->count_handles);
1247 struct drm_syncobj **syncobjs;
1264 &syncobjs);
1269 NULL, args, syncobjs, true);
1271 drm_syncobj_array_free(syncobjs, args->count_handles);
1282 struct drm_syncobj **syncobjs;
1298 &syncobjs);
1303 drm_syncobj_replace_fence(syncobjs[i], NULL);
1305 drm_syncobj_array_free(syncobjs, args->count_handles);
1315 struct drm_syncobj **syncobjs;
1331 &syncobjs);
1336 drm_syncobj_assign_null_handle(syncobjs[i]);
1338 drm_syncobj_array_free(syncobjs, args->count_handles);
1348 struct drm_syncobj **syncobjs;
1366 &syncobjs);
1402 drm_syncobj_add_point(syncobjs[i], chains[i],
1411 drm_syncobj_array_free(syncobjs, args->count_handles);
1420 struct drm_syncobj **syncobjs;
1437 &syncobjs);
1446 fence = drm_syncobj_fence_get(syncobjs[i]);
1480 drm_syncobj_array_free(syncobjs, args->count_handles);