/linux/drivers/dma-buf/ |
A D | sync_file.c | 24 struct sync_file *sync_file; in sync_file_alloc() local 26 sync_file = kzalloc(sizeof(*sync_file), GFP_KERNEL); in sync_file_alloc() 27 if (!sync_file) in sync_file_alloc() 48 struct sync_file *sync_file; in fence_check_cb_func() local 50 sync_file = container_of(cb, struct sync_file, cb); in fence_check_cb_func() 66 struct sync_file *sync_file; in sync_file_create() local 104 struct sync_file *sync_file; in sync_file_get_fence() local 213 struct sync_file *sync_file; in sync_file_merge() local 297 struct sync_file *sync_file = file->private_data; in sync_file_release() local 309 struct sync_file *sync_file = file->private_data; in sync_file_poll() local [all …]
|
A D | sync_debug.c | 36 void sync_file_debug_add(struct sync_file *sync_file) in sync_file_debug_add() argument 45 void sync_file_debug_remove(struct sync_file *sync_file) in sync_file_debug_remove() argument 50 list_del(&sync_file->sync_file_list); in sync_file_debug_remove() 122 struct sync_file *sync_file) in sync_print_sync_file() argument 127 seq_printf(s, "[%p] %s: %s\n", sync_file, in sync_print_sync_file() 128 sync_file_get_name(sync_file, buf, sizeof(buf)), in sync_print_sync_file() 131 if (dma_fence_is_array(sync_file->fence)) { in sync_print_sync_file() 137 sync_print_fence(s, sync_file->fence, true); in sync_print_sync_file() 162 struct sync_file *sync_file = in sync_info_debugfs_show() local 163 container_of(pos, struct sync_file, sync_file_list); in sync_info_debugfs_show() [all …]
|
A D | sw_sync.c | 333 struct sync_file *sync_file; in sw_sync_ioctl_create_fence() local 350 sync_file = sync_file_create(&pt->base); in sw_sync_ioctl_create_fence() 352 if (!sync_file) { in sw_sync_ioctl_create_fence() 359 fput(sync_file->file); in sw_sync_ioctl_create_fence() 364 fd_install(fd, sync_file->file); in sw_sync_ioctl_create_fence()
|
A D | sync_debug.h | 69 void sync_file_debug_add(struct sync_file *fence); 70 void sync_file_debug_remove(struct sync_file *fence);
|
A D | .sync_file.o.cmd | 1 …sync_file.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bi… 3 source_drivers/dma-buf/sync_file.o := drivers/dma-buf/sync_file.c 5 deps_drivers/dma-buf/sync_file.o := \ 846 include/linux/sync_file.h \ 854 include/uapi/linux/sync_file.h \ 856 drivers/dma-buf/sync_file.o: $(deps_drivers/dma-buf/sync_file.o) 858 $(deps_drivers/dma-buf/sync_file.o):
|
A D | built-in.a | 8 sync_file.o/
|
A D | Makefile | 6 obj-$(CONFIG_SYNC_FILE) += sync_file.o
|
A D | .built-in.a.cmd | 1 …ce-array.o drivers/dma-buf/dma-fence-chain.o drivers/dma-buf/dma-resv.o drivers/dma-buf/sync_file.o
|
A D | Kconfig | 18 Documentation/driver-api/sync_file.rst.
|
/linux/Documentation/driver-api/ |
A D | sync_file.rst | 8 sync_file API is, and how drivers can support it. Sync file is the carrier of 12 The sync_file API is meant to be used to send and receive fence information 15 driver) sends the fence related to the buffer to userspace via a sync_file. 39 On the other hand if the driver receives fence(s) through a sync_file from 51 struct sync_file *sync_file_create(struct dma_fence *fence); 59 and installs it on sync_file->file:: 61 fd_install(fd, sync_file->file); 63 The sync_file fd now can be sent to userspace. 66 other reason fput(sync_file->file) should be used. 85 1. struct sync_file in include/linux/sync_file.h [all …]
|
A D | index.rst | 103 sync_file
|
A D | dma-buf.rst | 200 .. kernel-doc:: drivers/dma-buf/sync_file.c 203 .. kernel-doc:: include/linux/sync_file.h
|
/linux/include/linux/ |
A D | sync_file.h | 35 struct sync_file { struct 58 struct sync_file *sync_file_create(struct dma_fence *fence); argument 60 char *sync_file_get_name(struct sync_file *sync_file, char *buf, int len);
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_gem_submit.c | 435 struct sync_file *sync_file = NULL; in etnaviv_ioctl_gem_submit() local 594 sync_file = sync_file_create(submit->out_fence); in etnaviv_ioctl_gem_submit() 595 if (!sync_file) { in etnaviv_ioctl_gem_submit() 599 fd_install(out_fence_fd, sync_file->file); in etnaviv_ioctl_gem_submit()
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_ioctl.c | 128 struct sync_file *sync_file; in virtio_gpu_execbuffer_ioctl() local 233 sync_file = sync_file_create(&out_fence->f); in virtio_gpu_execbuffer_ioctl() 234 if (!sync_file) { in virtio_gpu_execbuffer_ioctl() 241 fd_install(out_fence_fd, sync_file->file); in virtio_gpu_execbuffer_ioctl()
|
/linux/drivers/gpu/drm/ |
A D | drm_atomic_uapi.c | 1117 struct sync_file *sync_file; member 1131 fence_state->sync_file = sync_file_create(fence); in setup_out_fence() 1132 if (!fence_state->sync_file) in setup_out_fence() 1274 fence_state[i].sync_file->file); in complete_signaling() 1297 if (fence_state[i].sync_file) in complete_signaling() 1298 fput(fence_state[i].sync_file->file); in complete_signaling()
|
A D | drm_syncobj.c | 709 struct sync_file *sync_file; in drm_syncobj_export_sync_file() local 719 sync_file = sync_file_create(fence); in drm_syncobj_export_sync_file() 723 if (!sync_file) { in drm_syncobj_export_sync_file() 728 fd_install(fd, sync_file->file); in drm_syncobj_export_sync_file()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_submit.c | 891 struct sync_file *sync_file = sync_file_create(submit->user_fence); in msm_ioctl_gem_submit() local 892 if (!sync_file) { in msm_ioctl_gem_submit() 895 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_cs.c | 1465 struct sync_file *sync_file; in amdgpu_cs_fence_to_handle_ioctl() local 1501 sync_file = sync_file_create(fence); in amdgpu_cs_fence_to_handle_ioctl() 1503 if (!sync_file) { in amdgpu_cs_fence_to_handle_ioctl() 1508 fd_install(fd, sync_file->file); in amdgpu_cs_fence_to_handle_ioctl()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_execbuf.c | 3831 int32_t out_fence_fd, struct sync_file *sync_file) in vmw_execbuf_copy_fence_user() argument 3864 if (sync_file) in vmw_execbuf_copy_fence_user() 3865 fput(sync_file->file); in vmw_execbuf_copy_fence_user() 4054 struct sync_file *sync_file = NULL; in vmw_execbuf_process() local 4207 sync_file = sync_file_create(&fence->base); in vmw_execbuf_process() 4208 if (!sync_file) { in vmw_execbuf_process() 4217 fd_install(out_fence_fd, sync_file->file); in vmw_execbuf_process() 4223 sync_file); in vmw_execbuf_process()
|
A D | vmwgfx_drv.h | 1126 struct sync_file *sync_file);
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_execbuffer.c | 2997 static struct sync_file * 3000 struct sync_file *out_fence = NULL; in eb_composite_fence_create() 3044 static struct sync_file * 3048 struct sync_file *out_fence = NULL; in eb_fences_add() 3106 static struct sync_file * 3110 struct sync_file *out_fence = NULL; in eb_requests_create() 3161 struct sync_file *out_fence = NULL; in i915_gem_do_execbuffer()
|
/linux/drivers/ |
A D | built-in.a | 1363 dma-buf/sync_file.o/
|
/linux/ |
A D | MAINTAINERS | 18309 F: Documentation/driver-api/sync_file.rst 18313 F: include/linux/sync_file.h 18314 F: include/uapi/linux/sync_file.h
|