Home
last modified time | relevance | path

Searched refs:in_fence (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/etnaviv/
Detnaviv_sched.c28 if (unlikely(submit->in_fence)) { in etnaviv_sched_dependency()
29 fence = submit->in_fence; in etnaviv_sched_dependency()
30 submit->in_fence = NULL; in etnaviv_sched_dependency()
Detnaviv_gem_submit.c406 if (submit->in_fence) in submit_cleanup()
407 dma_fence_put(submit->in_fence); in submit_cleanup()
552 submit->in_fence = sync_file_get_fence(args->fence_fd); in etnaviv_ioctl_gem_submit()
553 if (!submit->in_fence) { in etnaviv_ioctl_gem_submit()
Detnaviv_gem.h98 struct dma_fence *out_fence, *in_fence; member
/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c134 struct dma_fence *in_fence; in virtio_gpu_execbuffer_ioctl() local
136 in_fence = sync_file_get_fence(in_fence_fd); in virtio_gpu_execbuffer_ioctl()
138 if (!in_fence) in virtio_gpu_execbuffer_ioctl()
146 if (!dma_fence_match_context(in_fence, vgdev->fence_drv.context)) in virtio_gpu_execbuffer_ioctl()
147 ret = dma_fence_wait(in_fence, true); in virtio_gpu_execbuffer_ioctl()
149 dma_fence_put(in_fence); in virtio_gpu_execbuffer_ioctl()
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c443 struct dma_fence *in_fence; in msm_ioctl_gem_submit() local
445 in_fence = sync_file_get_fence(args->fence_fd); in msm_ioctl_gem_submit()
447 if (!in_fence) in msm_ioctl_gem_submit()
455 if (!dma_fence_match_context(in_fence, ring->fctx->context)) in msm_ioctl_gem_submit()
456 ret = dma_fence_wait(in_fence, true); in msm_ioctl_gem_submit()
458 dma_fence_put(in_fence); in msm_ioctl_gem_submit()
/drivers/gpu/drm/vc4/
Dvc4_gem.c1137 struct dma_fence *in_fence; in vc4_submit_cl_ioctl() local
1188 0, 0, &in_fence); in vc4_submit_cl_ioctl()
1197 if (!dma_fence_match_context(in_fence, in vc4_submit_cl_ioctl()
1199 ret = dma_fence_wait(in_fence, true); in vc4_submit_cl_ioctl()
1201 dma_fence_put(in_fence); in vc4_submit_cl_ioctl()
1206 dma_fence_put(in_fence); in vc4_submit_cl_ioctl()
/drivers/gpu/drm/v3d/
Dv3d_gem.c436 struct dma_fence *in_fence = NULL; in v3d_job_init() local
448 ret = drm_syncobj_find_fence(file_priv, in_sync, 0, 0, &in_fence); in v3d_job_init()
452 ret = drm_gem_fence_array_add(&job->deps, in_fence); in v3d_job_init()
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2482 struct dma_fence *in_fence = NULL; in i915_gem_do_execbuffer() local
2528 in_fence = sync_file_get_fence(lower_32_bits(args->rsvd2)); in i915_gem_do_execbuffer()
2529 if (!in_fence) in i915_gem_do_execbuffer()
2534 if (in_fence) { in i915_gem_do_execbuffer()
2646 if (in_fence) { in i915_gem_do_execbuffer()
2647 err = i915_request_await_dma_fence(eb.request, in_fence); in i915_gem_do_execbuffer()
2725 dma_fence_put(in_fence); in i915_gem_do_execbuffer()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c4004 struct dma_fence *in_fence = NULL; in vmw_execbuf_ioctl() local
4031 in_fence = sync_file_get_fence(arg->imported_fence_fd); in vmw_execbuf_ioctl()
4033 if (!in_fence) { in vmw_execbuf_ioctl()
4038 ret = vmw_wait_dma_fence(dev_priv->fman, in_fence); in vmw_execbuf_ioctl()
4061 if (in_fence) in vmw_execbuf_ioctl()
4062 dma_fence_put(in_fence); in vmw_execbuf_ioctl()