Home | History | Annotate | Download | only in drm

Lines Matching defs:syncobjs

41  *  - Creation and destruction of syncobjs
42 * - Import and export of syncobjs to/from a syncobj file descriptor
61 * All manipulation of the syncobjs's fence happens in terms of the current
70 * Host-side wait on syncobjs
85 * syncobjs in the array has a NULL fence, -EINVAL will be returned.
93 * Import/export of syncobjs
97 * provide two mechanisms for import/export of syncobjs.
1048 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
1101 fence = drm_syncobj_fence_get(syncobjs[i]);
1139 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]);
1221 drm_syncobj_remove_wait(syncobjs[i], &entries[i]);
1276 struct drm_syncobj **syncobjs, bool timeline)
1283 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1293 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1311 struct drm_syncobj **syncobjs;
1324 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1325 if (syncobjs == NULL) {
1331 syncobjs[i] = drm_syncobj_find(file_private, handles[i]);
1332 if (!syncobjs[i]) {
1339 *syncobjs_out = syncobjs;
1344 drm_syncobj_put(syncobjs[i]);
1345 kfree(syncobjs);
1352 static void drm_syncobj_array_free(struct drm_syncobj **syncobjs,
1357 drm_syncobj_put(syncobjs[i]);
1358 kfree(syncobjs);
1366 struct drm_syncobj **syncobjs;
1382 &syncobjs);
1387 args, NULL, syncobjs, false);
1389 drm_syncobj_array_free(syncobjs, args->count_handles);
1399 struct drm_syncobj **syncobjs;
1416 &syncobjs);
1421 NULL, args, syncobjs, true);
1423 drm_syncobj_array_free(syncobjs, args->count_handles);
1434 struct drm_syncobj **syncobjs;
1450 &syncobjs);
1455 drm_syncobj_replace_fence(syncobjs[i], NULL);
1457 drm_syncobj_array_free(syncobjs, args->count_handles);
1467 struct drm_syncobj **syncobjs;
1483 &syncobjs);
1488 drm_syncobj_assign_null_handle(syncobjs[i]);
1490 drm_syncobj_array_free(syncobjs, args->count_handles);
1500 struct drm_syncobj **syncobjs;
1518 &syncobjs);
1554 drm_syncobj_add_point(syncobjs[i], chains[i],
1563 drm_syncobj_array_free(syncobjs, args->count_handles);
1572 struct drm_syncobj **syncobjs;
1589 &syncobjs);
1598 fence = drm_syncobj_fence_get(syncobjs[i]);
1632 drm_syncobj_array_free(syncobjs, args->count_handles);