Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/
Ddrm_syncobj.c1025 static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, in drm_syncobj_array_wait_timeout() argument
1069 fence = drm_syncobj_fence_get(syncobjs[i]); in drm_syncobj_array_wait_timeout()
1107 drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]); in drm_syncobj_array_wait_timeout()
1157 drm_syncobj_remove_wait(syncobjs[i], &entries[i]); in drm_syncobj_array_wait_timeout()
1208 struct drm_syncobj **syncobjs, bool timeline) in drm_syncobj_array_wait() argument
1215 timeout = drm_syncobj_array_wait_timeout(syncobjs, in drm_syncobj_array_wait()
1225 timeout = drm_syncobj_array_wait_timeout(syncobjs, in drm_syncobj_array_wait()
1243 struct drm_syncobj **syncobjs; in drm_syncobj_array_find() local
1256 syncobjs = kmalloc_array(count_handles, sizeof(*syncobjs), GFP_KERNEL); in drm_syncobj_array_find()
1257 if (syncobjs == NULL) { in drm_syncobj_array_find()
[all …]
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c75 static void virtio_gpu_free_syncobjs(struct drm_syncobj **syncobjs, in virtio_gpu_free_syncobjs() argument
81 if (syncobjs[i]) in virtio_gpu_free_syncobjs()
82 drm_syncobj_put(syncobjs[i]); in virtio_gpu_free_syncobjs()
85 kvfree(syncobjs); in virtio_gpu_free_syncobjs()
95 struct drm_syncobj **syncobjs; in virtio_gpu_parse_deps() local
107 syncobjs = kvcalloc(num_in_syncobjs, sizeof(*syncobjs), GFP_KERNEL); in virtio_gpu_parse_deps()
108 if (!syncobjs) in virtio_gpu_parse_deps()
141 syncobjs[i] = drm_syncobj_find(submit->file, in virtio_gpu_parse_deps()
143 if (!syncobjs[i]) { in virtio_gpu_parse_deps()
151 virtio_gpu_free_syncobjs(syncobjs, i); in virtio_gpu_parse_deps()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_gem_submit.c584 struct drm_syncobj **syncobjs = NULL; in msm_parse_deps() local
589 syncobjs = kcalloc(nr_in_syncobjs, sizeof(*syncobjs), in msm_parse_deps()
591 if (!syncobjs) in msm_parse_deps()
621 syncobjs[i] = in msm_parse_deps()
623 if (!syncobjs[i]) { in msm_parse_deps()
632 if (syncobjs[j]) in msm_parse_deps()
633 drm_syncobj_put(syncobjs[j]); in msm_parse_deps()
635 kfree(syncobjs); in msm_parse_deps()
638 return syncobjs; in msm_parse_deps()
641 static void msm_reset_syncobjs(struct drm_syncobj **syncobjs, in msm_reset_syncobjs() argument
[all …]
/Linux-v6.6/drivers/accel/ivpu/
DTODO6 - Use syncobjs for submit/sync