Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_submit.c590 int out_fence_fd = -1; in msm_ioctl_gem_submit() local
673 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in msm_ioctl_gem_submit()
674 if (out_fence_fd < 0) { in msm_ioctl_gem_submit()
675 ret = out_fence_fd; in msm_ioctl_gem_submit()
793 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit()
794 args->fence_fd = out_fence_fd; in msm_ioctl_gem_submit()
809 if (ret && (out_fence_fd >= 0)) in msm_ioctl_gem_submit()
810 put_unused_fd(out_fence_fd); in msm_ioctl_gem_submit()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c3824 int32_t out_fence_fd) in vmw_execbuf_copy_fence_user() argument
3834 fence_rep.fd = out_fence_fd; in vmw_execbuf_copy_fence_user()
4040 int32_t out_fence_fd = -1; in vmw_execbuf_process() local
4047 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in vmw_execbuf_process()
4048 if (out_fence_fd < 0) { in vmw_execbuf_process()
4050 return out_fence_fd; in vmw_execbuf_process()
4201 put_unused_fd(out_fence_fd); in vmw_execbuf_process()
4202 out_fence_fd = -1; in vmw_execbuf_process()
4210 user_fence_rep, fence, handle, out_fence_fd); in vmw_execbuf_process()
4216 put_unused_fd(out_fence_fd); in vmw_execbuf_process()
[all …]
Dvmwgfx_drv.h1098 int32_t out_fence_fd);