Home
last modified time | relevance | path

Searched refs:syncobj (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/
Ddrm_syncobj.c211 static void syncobj_wait_syncobj_func(struct drm_syncobj *syncobj,
225 struct drm_syncobj *syncobj; in drm_syncobj_find() local
230 syncobj = idr_find(&file_private->syncobj_idr, handle); in drm_syncobj_find()
231 if (syncobj) in drm_syncobj_find()
232 drm_syncobj_get(syncobj); in drm_syncobj_find()
236 return syncobj; in drm_syncobj_find()
240 static void drm_syncobj_fence_add_wait(struct drm_syncobj *syncobj, in drm_syncobj_fence_add_wait() argument
248 spin_lock(&syncobj->lock); in drm_syncobj_fence_add_wait()
253 fence = dma_fence_get(rcu_dereference_protected(syncobj->fence, 1)); in drm_syncobj_fence_add_wait()
256 list_add_tail(&wait->node, &syncobj->cb_list); in drm_syncobj_fence_add_wait()
[all …]
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c230 struct drm_syncobj *syncobj; /* Use with ptr_mask_bits() */ member
2673 drm_syncobj_put(ptr_mask_bits(fences[n].syncobj, 2)); in __free_fence_array()
2723 struct drm_syncobj *syncobj; in add_timeline_fence_array() local
2738 syncobj = drm_syncobj_find(eb->file, user_fence.handle); in add_timeline_fence_array()
2739 if (!syncobj) { in add_timeline_fence_array()
2744 fence = drm_syncobj_fence_get(syncobj); in add_timeline_fence_array()
2749 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2759 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2769 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2785 drm_syncobj_put(syncobj); in add_timeline_fence_array()
[all …]
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c398 struct drm_syncobj *syncobj; member
535 post_deps[i].syncobj = in msm_parse_post_deps()
537 if (!post_deps[i].syncobj) { in msm_parse_post_deps()
546 if (post_deps[j].syncobj) in msm_parse_post_deps()
547 drm_syncobj_put(post_deps[j].syncobj); in msm_parse_post_deps()
564 drm_syncobj_add_point(post_deps[i].syncobj, in msm_process_post_deps()
569 drm_syncobj_replace_fence(post_deps[i].syncobj, in msm_process_post_deps()
816 drm_syncobj_put(post_deps[i].syncobj); in msm_ioctl_gem_submit()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c684 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini()
1079 p->post_deps[i].syncobj = in amdgpu_cs_process_syncobj_out_dep()
1081 if (!p->post_deps[i].syncobj) in amdgpu_cs_process_syncobj_out_dep()
1123 dep->syncobj = drm_syncobj_find(p->filp, in amdgpu_cs_process_syncobj_timeline_out_dep()
1125 if (!dep->syncobj) { in amdgpu_cs_process_syncobj_timeline_out_dep()
1185 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1190 drm_syncobj_replace_fence(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1428 struct drm_syncobj *syncobj; in amdgpu_cs_fence_to_handle_ioctl() local
1441 r = drm_syncobj_create(&syncobj, 0, fence); in amdgpu_cs_fence_to_handle_ioctl()
1445 r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle); in amdgpu_cs_fence_to_handle_ioctl()
[all …]
Damdgpu.h491 struct drm_syncobj *syncobj; member
/drivers/gpu/drm/i915/
DKconfig.debug33 select SW_SYNC # signaling validation framework (igt/syncobj*)