Home
last modified time | relevance | path

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

/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c86 int out_fence_fd = -1; in virtio_gpu_execbuffer_ioctl() local
120 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_execbuffer_ioctl()
121 if (out_fence_fd < 0) in virtio_gpu_execbuffer_ioctl()
122 return out_fence_fd; in virtio_gpu_execbuffer_ioctl()
168 if (out_fence_fd >= 0) { in virtio_gpu_execbuffer_ioctl()
176 exbuf->fence_fd = out_fence_fd; in virtio_gpu_execbuffer_ioctl()
177 fd_install(out_fence_fd, sync_file->file); in virtio_gpu_execbuffer_ioctl()
196 if (out_fence_fd >= 0) in virtio_gpu_execbuffer_ioctl()
197 put_unused_fd(out_fence_fd); in virtio_gpu_execbuffer_ioctl()
/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c437 int out_fence_fd = -1; in etnaviv_ioctl_gem_submit() local
520 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit()
521 if (out_fence_fd < 0) { in etnaviv_ioctl_gem_submit()
522 ret = out_fence_fd; in etnaviv_ioctl_gem_submit()
605 fd_install(out_fence_fd, sync_file->file); in etnaviv_ioctl_gem_submit()
608 args->fence_fd = out_fence_fd; in etnaviv_ioctl_gem_submit()
618 if (ret && (out_fence_fd >= 0)) in etnaviv_ioctl_gem_submit()
619 put_unused_fd(out_fence_fd); in etnaviv_ioctl_gem_submit()
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c589 int out_fence_fd = -1; in msm_ioctl_gem_submit() local
672 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in msm_ioctl_gem_submit()
673 if (out_fence_fd < 0) { in msm_ioctl_gem_submit()
674 ret = out_fence_fd; in msm_ioctl_gem_submit()
792 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit()
793 args->fence_fd = out_fence_fd; in msm_ioctl_gem_submit()
808 if (ret && (out_fence_fd >= 0)) in msm_ioctl_gem_submit()
809 put_unused_fd(out_fence_fd); in msm_ioctl_gem_submit()
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c3035 int out_fence_fd = -1; in i915_gem_do_execbuffer() local
3104 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in i915_gem_do_execbuffer()
3105 if (out_fence_fd < 0) { in i915_gem_do_execbuffer()
3106 err = out_fence_fd; in i915_gem_do_execbuffer()
3178 if (out_fence_fd != -1) { in i915_gem_do_execbuffer()
3208 fd_install(out_fence_fd, out_fence->file); in i915_gem_do_execbuffer()
3210 args->rsvd2 |= (u64)out_fence_fd << 32; in i915_gem_do_execbuffer()
3211 out_fence_fd = -1; in i915_gem_do_execbuffer()
3238 if (out_fence_fd != -1) in i915_gem_do_execbuffer()
3239 put_unused_fd(out_fence_fd); in i915_gem_do_execbuffer()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c3817 int32_t out_fence_fd) in vmw_execbuf_copy_fence_user() argument
3827 fence_rep.fd = out_fence_fd; in vmw_execbuf_copy_fence_user()
4033 int32_t out_fence_fd = -1; in vmw_execbuf_process() local
4040 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in vmw_execbuf_process()
4041 if (out_fence_fd < 0) { in vmw_execbuf_process()
4043 return out_fence_fd; in vmw_execbuf_process()
4194 put_unused_fd(out_fence_fd); in vmw_execbuf_process()
4195 out_fence_fd = -1; in vmw_execbuf_process()
4203 user_fence_rep, fence, handle, out_fence_fd); in vmw_execbuf_process()
4209 put_unused_fd(out_fence_fd); in vmw_execbuf_process()
[all …]
Dvmwgfx_drv.h1098 int32_t out_fence_fd);