Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c122 int out_fence_fd = -1; in virtio_gpu_execbuffer_ioctl() local
155 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_execbuffer_ioctl()
156 if (out_fence_fd < 0) in virtio_gpu_execbuffer_ioctl()
157 return out_fence_fd; in virtio_gpu_execbuffer_ioctl()
212 if (out_fence_fd >= 0) { in virtio_gpu_execbuffer_ioctl()
220 exbuf->fence_fd = out_fence_fd; in virtio_gpu_execbuffer_ioctl()
221 fd_install(out_fence_fd, sync_file->file); in virtio_gpu_execbuffer_ioctl()
244 if (out_fence_fd >= 0) in virtio_gpu_execbuffer_ioctl()
245 put_unused_fd(out_fence_fd); in virtio_gpu_execbuffer_ioctl()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem_submit.c409 int out_fence_fd = -1; in msm_ioctl_gem_submit() local
468 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in msm_ioctl_gem_submit()
469 if (out_fence_fd < 0) { in msm_ioctl_gem_submit()
470 ret = out_fence_fd; in msm_ioctl_gem_submit()
585 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit()
586 args->fence_fd = out_fence_fd; in msm_ioctl_gem_submit()
594 if (ret && (out_fence_fd >= 0)) in msm_ioctl_gem_submit()
595 put_unused_fd(out_fence_fd); in msm_ioctl_gem_submit()
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c437 int out_fence_fd = -1; in etnaviv_ioctl_gem_submit() local
514 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit()
515 if (out_fence_fd < 0) { in etnaviv_ioctl_gem_submit()
516 ret = out_fence_fd; in etnaviv_ioctl_gem_submit()
600 fd_install(out_fence_fd, sync_file->file); in etnaviv_ioctl_gem_submit()
603 args->fence_fd = out_fence_fd; in etnaviv_ioctl_gem_submit()
613 if (ret && (out_fence_fd >= 0)) in etnaviv_ioctl_gem_submit()
614 put_unused_fd(out_fence_fd); in etnaviv_ioctl_gem_submit()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2485 int out_fence_fd = -1; in i915_gem_do_execbuffer() local
2547 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in i915_gem_do_execbuffer()
2548 if (out_fence_fd < 0) { in i915_gem_do_execbuffer()
2549 err = out_fence_fd; in i915_gem_do_execbuffer()
2665 if (out_fence_fd != -1) { in i915_gem_do_execbuffer()
2695 fd_install(out_fence_fd, out_fence->file); in i915_gem_do_execbuffer()
2697 args->rsvd2 |= (u64)out_fence_fd << 32; in i915_gem_do_execbuffer()
2698 out_fence_fd = -1; in i915_gem_do_execbuffer()
2720 if (out_fence_fd != -1) in i915_gem_do_execbuffer()
2721 put_unused_fd(out_fence_fd); in i915_gem_do_execbuffer()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c3421 int32_t out_fence_fd, struct sync_file *sync_file) in vmw_execbuf_copy_fence_user() argument
3431 fence_rep.fd = out_fence_fd; in vmw_execbuf_copy_fence_user()
3643 int32_t out_fence_fd = -1; in vmw_execbuf_process() local
3650 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in vmw_execbuf_process()
3651 if (out_fence_fd < 0) { in vmw_execbuf_process()
3653 return out_fence_fd; in vmw_execbuf_process()
3804 put_unused_fd(out_fence_fd); in vmw_execbuf_process()
3805 out_fence_fd = -1; in vmw_execbuf_process()
3811 fd_install(out_fence_fd, sync_file->file); in vmw_execbuf_process()
3816 user_fence_rep, fence, handle, out_fence_fd, in vmw_execbuf_process()
[all …]
Dvmwgfx_drv.h1012 int32_t out_fence_fd,