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
1025 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
1070 fence = drm_syncobj_fence_get(syncobjs[i]);
1110 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]);
1160 drm_syncobj_remove_wait(syncobjs[i], &entries[i]);
1211 struct drm_syncobj **syncobjs, bool timeline)
1218 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1228 timeout = drm_syncobj_array_wait_timeout(syncobjs,
1246 struct drm_syncobj **syncobjs;
1259 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL);
1260 if (syncobjs == NULL) {
1266 syncobjs[i] = drm_syncobj_find(file_private, handles[i]);
1267 if (!syncobjs[i]) {
1274 *syncobjs_out = syncobjs;
1279 drm_syncobj_put(syncobjs[i]);
1280 kfree(syncobjs);
1287 static void drm_syncobj_array_free(struct drm_syncobj **syncobjs,
1293 drm_syncobj_put(syncobjs[i]);
1294 kfree(syncobjs);
1302 struct drm_syncobj **syncobjs;
1318 &syncobjs);
1323 args, NULL, syncobjs, false);
1325 drm_syncobj_array_free(syncobjs, args->count_handles);
1335 struct drm_syncobj **syncobjs;
1352 &syncobjs);
1357 NULL, args, syncobjs, true);
1359 drm_syncobj_array_free(syncobjs, args->count_handles);
1463 struct drm_syncobj **syncobjs;
1479 &syncobjs);
1484 drm_syncobj_replace_fence(syncobjs[i], NULL);
1486 drm_syncobj_array_free(syncobjs, args->count_handles);
1496 struct drm_syncobj **syncobjs;
1512 &syncobjs);
1517 ret = drm_syncobj_assign_null_handle(syncobjs[i]);
1522 drm_syncobj_array_free(syncobjs, args->count_handles);
1532 struct drm_syncobj **syncobjs;
1550 &syncobjs);
1586 drm_syncobj_add_point(syncobjs[i], chains[i],
1595 drm_syncobj_array_free(syncobjs, args->count_handles);
1604 struct drm_syncobj **syncobjs;
1621 &syncobjs);
1630 fence = drm_syncobj_fence_get(syncobjs[i]);
1664 drm_syncobj_array_free(syncobjs, args->count_handles);