Searched refs:out_fence_fd (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 424 int out_fence_fd = -1; in etnaviv_ioctl_gem_submit() local 507 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit() 508 if (out_fence_fd < 0) { in etnaviv_ioctl_gem_submit() 509 ret = out_fence_fd; in etnaviv_ioctl_gem_submit() 608 fd_install(out_fence_fd, sync_file->file); in etnaviv_ioctl_gem_submit() 611 args->fence_fd = out_fence_fd; in etnaviv_ioctl_gem_submit() 624 if (ret && (out_fence_fd >= 0)) in etnaviv_ioctl_gem_submit() 625 put_unused_fd(out_fence_fd); in etnaviv_ioctl_gem_submit()
|
/linux-5.19.10/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 130 int out_fence_fd = -1; in virtio_gpu_execbuffer_ioctl() local 180 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_execbuffer_ioctl() 181 if (out_fence_fd < 0) in virtio_gpu_execbuffer_ioctl() 182 return out_fence_fd; in virtio_gpu_execbuffer_ioctl() 232 if (out_fence_fd >= 0) { in virtio_gpu_execbuffer_ioctl() 240 exbuf->fence_fd = out_fence_fd; in virtio_gpu_execbuffer_ioctl() 241 fd_install(out_fence_fd, sync_file->file); in virtio_gpu_execbuffer_ioctl() 260 if (out_fence_fd >= 0) in virtio_gpu_execbuffer_ioctl() 261 put_unused_fd(out_fence_fd); in virtio_gpu_execbuffer_ioctl()
|
/linux-5.19.10/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 731 int out_fence_fd = -1; in msm_ioctl_gem_submit() local 779 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in msm_ioctl_gem_submit() 780 if (out_fence_fd < 0) { in msm_ioctl_gem_submit() 781 ret = out_fence_fd; in msm_ioctl_gem_submit() 940 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit() 941 args->fence_fd = out_fence_fd; in msm_ioctl_gem_submit() 965 if (ret && (out_fence_fd >= 0)) in msm_ioctl_gem_submit() 966 put_unused_fd(out_fence_fd); in msm_ioctl_gem_submit()
|
/linux-5.19.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 3133 eb_composite_fence_create(struct i915_execbuffer *eb, int out_fence_fd) in eb_composite_fence_create() argument 3166 if (out_fence_fd != -1) { in eb_composite_fence_create() 3181 struct dma_fence *in_fence, int out_fence_fd) in eb_fences_add() argument 3212 out_fence = eb_composite_fence_create(eb, out_fence_fd); in eb_fences_add() 3215 } else if (out_fence_fd != -1) { in eb_fences_add() 3243 int out_fence_fd) in eb_requests_create() argument 3264 in_fence, out_fence_fd); in eb_requests_create() 3297 int out_fence_fd = -1; in i915_gem_do_execbuffer() local 3370 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in i915_gem_do_execbuffer() 3371 if (out_fence_fd < 0) { in i915_gem_do_execbuffer() [all …]
|
/linux-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 3887 int32_t out_fence_fd) in vmw_execbuf_copy_fence_user() argument 3897 fence_rep.fd = out_fence_fd; in vmw_execbuf_copy_fence_user() 4102 int32_t out_fence_fd = -1; in vmw_execbuf_process() local 4107 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in vmw_execbuf_process() 4108 if (out_fence_fd < 0) { in vmw_execbuf_process() 4110 return out_fence_fd; in vmw_execbuf_process() 4258 put_unused_fd(out_fence_fd); in vmw_execbuf_process() 4259 out_fence_fd = -1; in vmw_execbuf_process() 4267 user_fence_rep, fence, handle, out_fence_fd); in vmw_execbuf_process() 4273 put_unused_fd(out_fence_fd); in vmw_execbuf_process() [all …]
|
D | vmwgfx_drv.h | 1161 int32_t out_fence_fd);
|