Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/virtio/
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 …]
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_submit.c658 struct msm_submit_post_dep *post_deps; in msm_parse_post_deps() local
663 post_deps = kcalloc(nr_syncobjs, sizeof(*post_deps), in msm_parse_post_deps()
665 if (!post_deps) in msm_parse_post_deps()
678 post_deps[i].point = syncobj_desc.point; in msm_parse_post_deps()
692 post_deps[i].chain = dma_fence_chain_alloc(); in msm_parse_post_deps()
693 if (!post_deps[i].chain) { in msm_parse_post_deps()
699 post_deps[i].syncobj = in msm_parse_post_deps()
701 if (!post_deps[i].syncobj) { in msm_parse_post_deps()
709 dma_fence_chain_free(post_deps[j].chain); in msm_parse_post_deps()
710 if (post_deps[j].syncobj) in msm_parse_post_deps()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c501 if (p->post_deps) in amdgpu_cs_p2_syncobj_out()
504 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_out()
508 if (!p->post_deps) in amdgpu_cs_p2_syncobj_out()
513 p->post_deps[i].syncobj = in amdgpu_cs_p2_syncobj_out()
515 if (!p->post_deps[i].syncobj) in amdgpu_cs_p2_syncobj_out()
517 p->post_deps[i].chain = NULL; in amdgpu_cs_p2_syncobj_out()
518 p->post_deps[i].point = 0; in amdgpu_cs_p2_syncobj_out()
535 if (p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
538 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_timeline_signal()
542 if (!p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
[all …]
Damdgpu_cs.h79 struct amdgpu_cs_post_dep *post_deps; member
/linux-6.6.21/drivers/gpu/drm/v3d/
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()