Home
last modified time | relevance | path

Searched refs:syncobjs (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_syncobj.c942 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, in drm_syncobj_array_wait_timeout() argument
983 fence = drm_syncobj_fence_get(syncobjs[i]); in drm_syncobj_array_wait_timeout()
1021 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]); in drm_syncobj_array_wait_timeout()
1071 drm_syncobj_remove_wait(syncobjs[i], &entries[i]); in drm_syncobj_array_wait_timeout()
1122 struct drm_syncobj **syncobjs, bool timeline) in drm_syncobj_array_wait() argument
1129 timeout = drm_syncobj_array_wait_timeout(syncobjs, in drm_syncobj_array_wait()
1139 timeout = drm_syncobj_array_wait_timeout(syncobjs, in drm_syncobj_array_wait()
1157 struct drm_syncobj **syncobjs; in drm_syncobj_array_find() local
1170 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1171 if (syncobjs == NULL) { in drm_syncobj_array_find()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_submit.c410 struct drm_syncobj **syncobjs = NULL; in msm_wait_deps() local
415 syncobjs = kcalloc(nr_in_syncobjs, sizeof(*syncobjs), in msm_wait_deps()
417 if (!syncobjs) in msm_wait_deps()
455 syncobjs[i] = in msm_wait_deps()
457 if (!syncobjs[i]) { in msm_wait_deps()
466 if (syncobjs[j]) in msm_wait_deps()
467 drm_syncobj_put(syncobjs[j]); in msm_wait_deps()
469 kfree(syncobjs); in msm_wait_deps()
472 return syncobjs; in msm_wait_deps()
475 static void msm_reset_syncobjs(struct drm_syncobj **syncobjs, in msm_reset_syncobjs() argument
[all …]