Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_submit.c492 struct msm_submit_post_dep *post_deps; in msm_parse_post_deps() local
497 post_deps = kmalloc_array(nr_syncobjs, sizeof(*post_deps), in msm_parse_post_deps()
499 if (!post_deps) in msm_parse_post_deps()
512 post_deps[i].point = syncobj_desc.point; in msm_parse_post_deps()
513 post_deps[i].chain = NULL; in msm_parse_post_deps()
527 post_deps[i].chain = in msm_parse_post_deps()
528 kmalloc(sizeof(*post_deps[i].chain), in msm_parse_post_deps()
530 if (!post_deps[i].chain) { in msm_parse_post_deps()
536 post_deps[i].syncobj = in msm_parse_post_deps()
538 if (!post_deps[i].syncobj) { in msm_parse_post_deps()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c694 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini()
695 kfree(parser->post_deps[i].chain); in amdgpu_cs_parser_fini()
697 kfree(parser->post_deps); in amdgpu_cs_parser_fini()
1077 if (p->post_deps) in amdgpu_cs_process_syncobj_out_dep()
1080 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_process_syncobj_out_dep()
1084 if (!p->post_deps) in amdgpu_cs_process_syncobj_out_dep()
1089 p->post_deps[i].syncobj = in amdgpu_cs_process_syncobj_out_dep()
1091 if (!p->post_deps[i].syncobj) in amdgpu_cs_process_syncobj_out_dep()
1093 p->post_deps[i].chain = NULL; in amdgpu_cs_process_syncobj_out_dep()
1094 p->post_deps[i].point = 0; in amdgpu_cs_process_syncobj_out_dep()
[all …]
Damdgpu.h525 struct amdgpu_cs_post_dep *post_deps; member