Searched refs:syncobj (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/gpu/drm/ |
A D | drm_syncobj.c | 231 if (syncobj) in drm_syncobj_find() 236 return syncobj; in drm_syncobj_find() 391 if (!syncobj) in drm_syncobj_find_fence() 457 drm_syncobj_put(syncobj); in drm_syncobj_find_fence() 475 kfree(syncobj); in drm_syncobj_free() 498 if (!syncobj) in drm_syncobj_create() 516 *out_syncobj = syncobj; in drm_syncobj_create() 581 if (!syncobj) in drm_syncobj_destroy() 620 syncobj, 0); in drm_syncobj_get_fd() 640 if (!syncobj) in drm_syncobj_handle_to_fd() [all …]
|
/linux/include/drm/ |
A D | drm_syncobj.h | 103 drm_syncobj_fence_get(struct drm_syncobj *syncobj) in drm_syncobj_fence_get() argument 108 fence = dma_fence_get_rcu_safe(&syncobj->fence); in drm_syncobj_fence_get() 116 void drm_syncobj_add_point(struct drm_syncobj *syncobj, 120 void drm_syncobj_replace_fence(struct drm_syncobj *syncobj, 129 struct drm_syncobj *syncobj, u32 *handle); 130 int drm_syncobj_get_fd(struct drm_syncobj *syncobj, int *p_fd);
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_execbuffer.c | 2660 if (!syncobj) { in add_timeline_fence_array() 2670 drm_syncobj_put(syncobj); in add_timeline_fence_array() 2680 drm_syncobj_put(syncobj); in add_timeline_fence_array() 2690 drm_syncobj_put(syncobj); in add_timeline_fence_array() 2706 drm_syncobj_put(syncobj); in add_timeline_fence_array() 2712 drm_syncobj_put(syncobj); in add_timeline_fence_array() 2720 f->syncobj = ptr_pack_bits(syncobj, user_fence.flags, 2); in add_timeline_fence_array() 2774 if (!syncobj) { in add_fence_array() 2791 f->syncobj = ptr_pack_bits(syncobj, user_fence.flags, 2); in add_fence_array() 2819 syncobj = ptr_unpack_bits(eb->fences[n].syncobj, &flags, 2); in await_fence_array() [all …]
|
A D | i915_gem_context_types.h | 270 struct drm_syncobj *syncobj; member
|
A D | i915_gem_context.c | 1220 if (ctx->syncobj) in i915_gem_context_release_work() 1221 drm_syncobj_put(ctx->syncobj); in i915_gem_context_release_work() 1606 err = drm_syncobj_create(&ctx->syncobj, in i915_gem_create_context()
|
/linux/drivers/gpu/drm/tegra/ |
A D | submit.c | 488 struct drm_syncobj *syncobj = NULL; in tegra_drm_ioctl_channel_submit() local 523 syncobj = drm_syncobj_find(file, args->syncobj_out); in tegra_drm_ioctl_channel_submit() 524 if (!syncobj) { in tegra_drm_ioctl_channel_submit() 591 if (syncobj) { in tegra_drm_ioctl_channel_submit() 598 drm_syncobj_replace_fence(syncobj, fence); in tegra_drm_ioctl_channel_submit() 620 if (syncobj) in tegra_drm_ioctl_channel_submit() 621 drm_syncobj_put(syncobj); in tegra_drm_ioctl_channel_submit()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_cs.c | 696 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini() 1091 p->post_deps[i].syncobj = in amdgpu_cs_process_syncobj_out_dep() 1093 if (!p->post_deps[i].syncobj) in amdgpu_cs_process_syncobj_out_dep() 1135 dep->syncobj = drm_syncobj_find(p->filp, in amdgpu_cs_process_syncobj_timeline_out_dep() 1137 if (!dep->syncobj) { in amdgpu_cs_process_syncobj_timeline_out_dep() 1197 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies() 1464 struct drm_syncobj *syncobj; in amdgpu_cs_fence_to_handle_ioctl() local 1477 r = drm_syncobj_create(&syncobj, 0, fence); in amdgpu_cs_fence_to_handle_ioctl() 1482 drm_syncobj_put(syncobj); in amdgpu_cs_fence_to_handle_ioctl() 1486 r = drm_syncobj_create(&syncobj, 0, fence); in amdgpu_cs_fence_to_handle_ioctl() [all …]
|
A D | amdgpu.h | 521 struct drm_syncobj *syncobj; member
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_submit.c | 535 struct drm_syncobj *syncobj; member 668 post_deps[i].syncobj = in msm_parse_post_deps() 670 if (!post_deps[i].syncobj) { in msm_parse_post_deps() 679 if (post_deps[j].syncobj) in msm_parse_post_deps() 680 drm_syncobj_put(post_deps[j].syncobj); in msm_parse_post_deps() 697 drm_syncobj_add_point(post_deps[i].syncobj, in msm_process_post_deps() 702 drm_syncobj_replace_fence(post_deps[i].syncobj, in msm_process_post_deps() 929 drm_syncobj_put(post_deps[i].syncobj); in msm_ioctl_gem_submit()
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_gem.c | 568 drm_syncobj_replace_fence(se->out_syncs[i].syncobj, in v3d_attach_fences_and_unlock_reservation() 570 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_attach_fences_and_unlock_reservation() 585 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_put_multisync_post_deps() 618 se->out_syncs[i].syncobj = drm_syncobj_find(file_priv, in v3d_get_multisync_post_deps() 620 if (!se->out_syncs[i].syncobj) { in v3d_get_multisync_post_deps() 631 drm_syncobj_put(se->out_syncs[i].syncobj); in v3d_get_multisync_post_deps()
|
A D | v3d_drv.h | 289 struct drm_syncobj *syncobj; member
|
/linux/drivers/gpu/drm/i915/ |
A D | Kconfig.debug | 35 select SW_SYNC # signaling validation framework (igt/syncobj*)
|
Completed in 33 milliseconds