Lines Matching refs:post_deps
512 if (p->post_deps) in amdgpu_cs_p2_syncobj_out()
515 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_out()
519 if (!p->post_deps) in amdgpu_cs_p2_syncobj_out()
524 p->post_deps[i].syncobj = in amdgpu_cs_p2_syncobj_out()
526 if (!p->post_deps[i].syncobj) in amdgpu_cs_p2_syncobj_out()
528 p->post_deps[i].chain = NULL; in amdgpu_cs_p2_syncobj_out()
529 p->post_deps[i].point = 0; in amdgpu_cs_p2_syncobj_out()
546 if (p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
549 p->post_deps = kmalloc_array(num_deps, sizeof(*p->post_deps), in amdgpu_cs_p2_syncobj_timeline_signal()
553 if (!p->post_deps) in amdgpu_cs_p2_syncobj_timeline_signal()
557 struct amdgpu_cs_post_dep *dep = &p->post_deps[i]; in amdgpu_cs_p2_syncobj_timeline_signal()
1222 if (p->post_deps[i].chain && p->post_deps[i].point) { in amdgpu_cs_post_dependencies()
1223 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1224 p->post_deps[i].chain, in amdgpu_cs_post_dependencies()
1225 p->fence, p->post_deps[i].point); in amdgpu_cs_post_dependencies()
1226 p->post_deps[i].chain = NULL; in amdgpu_cs_post_dependencies()
1228 drm_syncobj_replace_fence(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1345 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini()
1346 kfree(parser->post_deps[i].chain); in amdgpu_cs_parser_fini()
1348 kfree(parser->post_deps); in amdgpu_cs_parser_fini()