Home
last modified time | relevance | path

Searched refs:syncobj (Results 1 – 9 of 9) 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.c234 struct drm_syncobj *syncobj; /* Use with ptr_mask_bits() */ member
2480 drm_syncobj_put(ptr_mask_bits(fences[n].syncobj, 2)); in __free_fence_array()
2530 struct drm_syncobj *syncobj; in add_timeline_fence_array() local
2545 syncobj = drm_syncobj_find(eb->file, user_fence.handle); in add_timeline_fence_array()
2546 if (!syncobj) { in add_timeline_fence_array()
2551 fence = drm_syncobj_fence_get(syncobj); in add_timeline_fence_array()
2556 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2566 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2576 drm_syncobj_put(syncobj); in add_timeline_fence_array()
2592 drm_syncobj_put(syncobj); in add_timeline_fence_array()
[all …]
Di915_gem_context_types.h254 struct drm_syncobj *syncobj; member
Di915_gem_context.c1005 if (ctx->syncobj) in i915_gem_context_release()
1006 drm_syncobj_put(ctx->syncobj); in i915_gem_context_release()
1407 err = drm_syncobj_create(&ctx->syncobj, in i915_gem_create_context()
/drivers/gpu/drm/tegra/
Dsubmit.c490 struct drm_syncobj *syncobj = NULL; in tegra_drm_ioctl_channel_submit() local
525 syncobj = drm_syncobj_find(file, args->syncobj_out); in tegra_drm_ioctl_channel_submit()
526 if (!syncobj) { in tegra_drm_ioctl_channel_submit()
593 if (syncobj) { in tegra_drm_ioctl_channel_submit()
600 drm_syncobj_replace_fence(syncobj, fence); in tegra_drm_ioctl_channel_submit()
622 if (syncobj) in tegra_drm_ioctl_channel_submit()
623 drm_syncobj_put(syncobj); in tegra_drm_ioctl_channel_submit()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c686 drm_syncobj_put(parser->post_deps[i].syncobj); in amdgpu_cs_parser_fini()
1081 p->post_deps[i].syncobj = in amdgpu_cs_process_syncobj_out_dep()
1083 if (!p->post_deps[i].syncobj) in amdgpu_cs_process_syncobj_out_dep()
1125 dep->syncobj = drm_syncobj_find(p->filp, in amdgpu_cs_process_syncobj_timeline_out_dep()
1127 if (!dep->syncobj) { in amdgpu_cs_process_syncobj_timeline_out_dep()
1187 drm_syncobj_add_point(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1192 drm_syncobj_replace_fence(p->post_deps[i].syncobj, in amdgpu_cs_post_dependencies()
1452 struct drm_syncobj *syncobj; in amdgpu_cs_fence_to_handle_ioctl() local
1465 r = drm_syncobj_create(&syncobj, 0, fence); in amdgpu_cs_fence_to_handle_ioctl()
1469 r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle); in amdgpu_cs_fence_to_handle_ioctl()
[all …]
Damdgpu.h520 struct drm_syncobj *syncobj; member
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c547 struct drm_syncobj *syncobj; member
679 post_deps[i].syncobj = in msm_parse_post_deps()
681 if (!post_deps[i].syncobj) { in msm_parse_post_deps()
690 if (post_deps[j].syncobj) in msm_parse_post_deps()
691 drm_syncobj_put(post_deps[j].syncobj); in msm_parse_post_deps()
708 drm_syncobj_add_point(post_deps[i].syncobj, in msm_process_post_deps()
713 drm_syncobj_replace_fence(post_deps[i].syncobj, in msm_process_post_deps()
939 drm_syncobj_put(post_deps[i].syncobj); in msm_ioctl_gem_submit()
/drivers/gpu/drm/i915/
DKconfig.debug35 select SW_SYNC # signaling validation framework (igt/syncobj*)