Home
last modified time | relevance | path

Searched refs:post_deps (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c29 struct virtio_gpu_submit_post_dep *post_deps; member
173 virtio_gpu_free_post_deps(struct virtio_gpu_submit_post_dep *post_deps, in virtio_gpu_free_post_deps() argument
179 kfree(post_deps[i].chain); in virtio_gpu_free_post_deps()
180 drm_syncobj_put(post_deps[i].syncobj); in virtio_gpu_free_post_deps()
183 kvfree(post_deps); in virtio_gpu_free_post_deps()
190 struct virtio_gpu_submit_post_dep *post_deps; in virtio_gpu_parse_post_deps() local
198 post_deps = kvcalloc(num_out_syncobjs, sizeof(*post_deps), GFP_KERNEL); in virtio_gpu_parse_post_deps()
199 if (!post_deps) in virtio_gpu_parse_post_deps()
214 post_deps[i].point = syncobj_desc.point; in virtio_gpu_parse_post_deps()
222 post_deps[i].chain = dma_fence_chain_alloc(); in virtio_gpu_parse_post_deps()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c664 struct msm_submit_post_dep *post_deps; in msm_parse_post_deps() local
669 post_deps = kcalloc(nr_syncobjs, sizeof(*post_deps), in msm_parse_post_deps()
671 if (!post_deps) in msm_parse_post_deps()
684 post_deps[i].point = syncobj_desc.point; in msm_parse_post_deps()
698 post_deps[i].chain = dma_fence_chain_alloc(); in msm_parse_post_deps()
699 if (!post_deps[i].chain) { in msm_parse_post_deps()
705 post_deps[i].syncobj = in msm_parse_post_deps()
707 if (!post_deps[i].syncobj) { in msm_parse_post_deps()
715 dma_fence_chain_free(post_deps[j].chain); in msm_parse_post_deps()
716 if (post_deps[j].syncobj) in msm_parse_post_deps()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c505 if (p->post_deps) in amdgpu_cs_p2_syncobj_out()
508 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_out()
512 if (!p->post_deps) in amdgpu_cs_p2_syncobj_out()
517 p->post_deps[i].syncobj = in amdgpu_cs_p2_syncobj_out()
519 if (!p->post_deps[i].syncobj) in amdgpu_cs_p2_syncobj_out()
521 p->post_deps[i].chain = NULL; in amdgpu_cs_p2_syncobj_out()
522 p->post_deps[i].point = 0; in amdgpu_cs_p2_syncobj_out()
539 if (p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
542 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_timeline_signal()
546 if (!p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
[all …]
H A Damdgpu_cs.h79 struct amdgpu_cs_post_dep *post_deps; member
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_gem.c537 struct drm_v3d_sem __user *post_deps; in v3d_get_multisync_post_deps() local
550 post_deps = u64_to_user_ptr(handles); in v3d_get_multisync_post_deps()
555 if (copy_from_user(&out, post_deps++, sizeof(out))) { in v3d_get_multisync_post_deps()