Searched refs:in_fence (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_sched.c | 28 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()
|
D | etnaviv_gem_submit.c | 406 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()
|
D | etnaviv_gem.h | 98 struct dma_fence *out_fence, *in_fence; member
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 134 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/ |
D | msm_gem_submit.c | 443 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/ |
D | vc4_gem.c | 1137 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/ |
D | v3d_gem.c | 436 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/ |
D | i915_gem_execbuffer.c | 2482 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/ |
D | vmwgfx_execbuf.c | 4004 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()
|