| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_sw_fence.c | 49 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init() 54 static inline __maybe_unused void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack() 59 static inline void debug_fence_activate(struct i915_sw_fence *fence) in debug_fence_activate() 64 static inline void debug_fence_set_state(struct i915_sw_fence *fence, in debug_fence_set_state() 70 static inline void debug_fence_deactivate(struct i915_sw_fence *fence) in debug_fence_deactivate() 75 static inline void debug_fence_destroy(struct i915_sw_fence *fence) in debug_fence_destroy() 80 static inline __maybe_unused void debug_fence_free(struct i915_sw_fence *fence) in debug_fence_free() 86 static inline void debug_fence_assert(struct i915_sw_fence *fence) in debug_fence_assert() 93 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init() 97 static inline __maybe_unused void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack() [all …]
|
| H A D | i915_sw_fence.h | 47 #define i915_sw_fence_init(fence, fn) \ argument 55 #define i915_sw_fence_init(fence, fn) \ argument 67 static inline void i915_sw_fence_fini(struct i915_sw_fence *fence) {} in i915_sw_fence_fini() 81 struct i915_sw_fence *fence; member 101 static inline bool i915_sw_fence_signaled(const struct i915_sw_fence *fence) in i915_sw_fence_signaled() 106 static inline bool i915_sw_fence_done(const struct i915_sw_fence *fence) in i915_sw_fence_done() 111 static inline void i915_sw_fence_wait(struct i915_sw_fence *fence) in i915_sw_fence_wait() 117 i915_sw_fence_set_error_once(struct i915_sw_fence *fence, int error) in i915_sw_fence_set_error_once()
|
| H A D | i915_active.c | 210 active_fence_cb(struct dma_fence *fence, struct dma_fence_cb *cb) in active_fence_cb() 219 node_retire(struct dma_fence *fence, struct dma_fence_cb *cb) in node_retire() 226 excl_retire(struct dma_fence *fence, struct dma_fence_cb *cb) in excl_retire() 434 struct dma_fence *fence = &rq->fence; in i915_active_add_request() local 470 struct dma_fence *fence) in __i915_active_set_fence() 542 struct dma_fence *fence; in enable_signaling() local 614 int (*fn)(void *arg, struct dma_fence *fence), in __await_active() 617 struct dma_fence *fence; in __await_active() local 654 static int __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) in __await_barrier() 679 int (*fn)(void *arg, struct dma_fence *fence), in await_active() [all …]
|
| H A D | i915_active.h | 64 void *fence, in __i915_active_fence_init() 103 struct dma_fence *fence; in i915_active_fence_get() local 222 struct dma_fence *fence; in __i915_request_await_exclusive() local
|
| H A D | i915_deps.c | 75 static int i915_deps_grow(struct i915_deps *deps, struct dma_fence *fence, in i915_deps_grow() 177 struct dma_fence *fence, in i915_deps_add_dependency() 226 struct dma_fence *fence; in i915_deps_add_resv() local
|
| /linux/drivers/dma-buf/ |
| H A D | dma-fence.c | 113 static const char *dma_fence_stub_get_name(struct dma_fence *fence) in dma_fence_stub_get_name() 153 struct dma_fence *fence; in dma_fence_allocate_private_stub() local 353 void dma_fence_signal_timestamp_locked(struct dma_fence *fence, in dma_fence_signal_timestamp_locked() 402 void dma_fence_signal_timestamp(struct dma_fence *fence, ktime_t timestamp) in dma_fence_signal_timestamp() 428 void dma_fence_signal_locked(struct dma_fence *fence) in dma_fence_signal_locked() 445 bool dma_fence_check_and_signal_locked(struct dma_fence *fence) in dma_fence_check_and_signal_locked() 465 bool dma_fence_check_and_signal(struct dma_fence *fence) in dma_fence_check_and_signal() 488 void dma_fence_signal(struct dma_fence *fence) in dma_fence_signal() 525 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() 573 struct dma_fence *fence = in dma_fence_release() local [all …]
|
| H A D | sync_file.c | 65 struct sync_file *sync_file_create(struct dma_fence *fence) in sync_file_create() 106 struct dma_fence *fence; in sync_file_get_fence() local 137 struct dma_fence *fence = sync_file->fence; in sync_file_get_name() local 169 struct dma_fence *fence; in sync_file_merge() local 268 static int sync_fill_fence_info(struct dma_fence *fence, in sync_fill_fence_info() 302 struct dma_fence *fence; in sync_file_ioctl_fence_info() local
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_fence.c | 23 struct vmw_fence_obj fence; member 48 fman_from_fence(struct vmw_fence_obj *fence) in fman_from_fence() 56 struct vmw_fence_obj *fence = in vmw_fence_obj_destroy() local 101 struct vmw_fence_obj *fence = in vmw_fence_enable_signaling() local 159 static int vmw_fence_obj_init(struct vmw_fence_manager *fman, in vmw_fence_obj_init() 160 struct vmw_fence_obj *fence, u32 seqno, in vmw_fence_obj_init() 189 struct vmw_fence_obj *fence, *next_fence; in __vmw_fences_update() local 218 bool vmw_fence_obj_signaled(struct vmw_fence_obj *fence) in vmw_fence_obj_signaled() 230 int vmw_fence_obj_wait(struct vmw_fence_obj *fence, bool lazy, in vmw_fence_obj_wait() 243 static void vmw_fence_destroy(struct vmw_fence_obj *fence) in vmw_fence_destroy() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_fence.c | 134 struct radeon_fence **fence, in radeon_fence_emit() 168 struct radeon_fence *fence; in radeon_fence_check_signaled() local 355 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_is_signaled() local 383 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_enable_signaling() local 426 bool radeon_fence_signaled(struct radeon_fence *fence) in radeon_fence_signaled() 533 long radeon_fence_wait_timeout(struct radeon_fence *fence, bool intr, long timeout) in radeon_fence_wait_timeout() 567 int radeon_fence_wait(struct radeon_fence *fence, bool intr) in radeon_fence_wait() 645 struct radeon_fence *radeon_fence_ref(struct radeon_fence *fence) in radeon_fence_ref() 658 void radeon_fence_unref(struct radeon_fence **fence) in radeon_fence_unref() 705 bool radeon_fence_need_sync(struct radeon_fence *fence, int dst_ring) in radeon_fence_need_sync() [all …]
|
| H A D | radeon_sync.c | 63 struct radeon_fence *fence) in radeon_sync_fence() 95 struct radeon_fence *fence; in radeon_sync_resv() local 129 struct radeon_fence *fence = sync->sync_to[i]; in radeon_sync_rings() local 198 struct radeon_fence *fence) in radeon_sync_free()
|
| H A D | evergreen_dma.c | 41 struct radeon_fence *fence) in evergreen_dma_fence_ring_emit() 112 struct radeon_fence *fence; in evergreen_copy_dma() local
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_fence.c | 82 bool msm_fence_completed(struct msm_fence_context *fctx, uint32_t fence) in msm_fence_completed() 93 void msm_update_fence(struct msm_fence_context *fctx, uint32_t fence) in msm_update_fence() 110 static inline struct msm_fence *to_msm_fence(struct dma_fence *fence) in to_msm_fence() 115 static const char *msm_fence_get_driver_name(struct dma_fence *fence) in msm_fence_get_driver_name() 120 static const char *msm_fence_get_timeline_name(struct dma_fence *fence) in msm_fence_get_timeline_name() 126 static bool msm_fence_signaled(struct dma_fence *fence) in msm_fence_signaled() 132 static void msm_fence_set_deadline(struct dma_fence *fence, ktime_t deadline) in msm_fence_set_deadline() 187 msm_fence_init(struct dma_fence *fence, struct msm_fence_context *fctx) in msm_fence_init()
|
| /linux/drivers/gpu/drm/vgem/ |
| H A D | vgem_fence.c | 38 static const char *vgem_fence_get_driver_name(struct dma_fence *fence) in vgem_fence_get_driver_name() 43 static const char *vgem_fence_get_timeline_name(struct dma_fence *fence) in vgem_fence_get_timeline_name() 50 struct vgem_fence *fence = container_of(base, typeof(*fence), base); in vgem_fence_release() local 64 struct vgem_fence *fence = timer_container_of(fence, t, timer); in vgem_fence_timeout() local 72 struct vgem_fence *fence; in vgem_fence_create() local 119 struct dma_fence *fence; in vgem_fence_attach_ioctl() local 196 struct dma_fence *fence; in vgem_fence_signal_ioctl() local
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | lib_sw_fence.c | 30 nop_fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in nop_fence_notify() 35 void __onstack_fence_init(struct i915_sw_fence *fence, in __onstack_fence_init() 47 void onstack_fence_fini(struct i915_sw_fence *fence) in onstack_fence_fini() 85 struct i915_sw_fence fence; member 93 heap_fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in heap_fence_notify() 131 void heap_fence_put(struct i915_sw_fence *fence) in heap_fence_put()
|
| H A D | lib_sw_fence.h | 16 #define onstack_fence_init(fence) \ argument 23 #define onstack_fence_init(fence) \ argument 33 struct i915_sw_fence fence; member
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_fence.c | 26 static const char *vc4_fence_get_driver_name(struct dma_fence *fence) in vc4_fence_get_driver_name() 31 static const char *vc4_fence_get_timeline_name(struct dma_fence *fence) in vc4_fence_get_timeline_name() 36 static bool vc4_fence_signaled(struct dma_fence *fence) in vc4_fence_signaled()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_queue.c | 115 struct pvr_queue_fence *fence = container_of(w, struct pvr_queue_fence, release_work); in pvr_queue_fence_release_work() local 123 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_fence_release() local 132 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_job_fence_get_timeline_name() local 155 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_cccb_fence_get_timeline_name() local 276 struct pvr_queue_fence *fence; in pvr_queue_fence_alloc() local 301 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_fence_init() local 322 pvr_queue_cccb_fence_init(struct dma_fence *fence, struct pvr_queue *queue) in pvr_queue_cccb_fence_init() 340 pvr_queue_job_fence_init(struct dma_fence *fence, struct pvr_queue *queue) in pvr_queue_job_fence_init() 389 is_paired_job_fence(struct dma_fence *fence, struct pvr_job *job) in is_paired_job_fence() 406 struct dma_fence *fence = NULL; in job_count_remaining_native_deps() local [all …]
|
| /linux/tools/testing/selftests/sync/ |
| H A D | sync_alloc.c | 46 int timeline, fence, valid; in test_alloc_fence() local 63 int fence, timeline; in test_alloc_fence_negative() local
|
| H A D | sync_stress_consumer.c | 40 static int busy_wait_on_fence(int fence) in busy_wait_on_fence() 66 int fence, valid, i; in mpsc_producer_thread() local 108 int fence, merged, tmp, valid, it, i; in mpcs_consumer_thread() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 432 struct dma_fence *fence; in amdgpu_cs_p2_dependencies() local 475 struct dma_fence *fence; in amdgpu_syncobj_lookup_and_add() local 1210 struct dma_fence *fence; in amdgpu_cs_sync_rings() local 1298 struct dma_fence *fence; in amdgpu_cs_submit() local 1508 struct dma_fence *fence; in amdgpu_cs_wait_ioctl() local 1556 struct dma_fence *fence; in amdgpu_cs_get_fence() local 1581 struct dma_fence *fence; in amdgpu_cs_fence_to_handle_ioctl() local 1654 struct dma_fence *fence; in amdgpu_cs_wait_all_fences() local 1708 struct dma_fence *fence; in amdgpu_cs_wait_any_fence() local
|
| H A D | amdgpu_vm_tlb_fence.c | 41 static const char *amdgpu_tlb_fence_get_driver_name(struct dma_fence *fence) in amdgpu_tlb_fence_get_driver_name() 79 struct dma_fence **fence) in amdgpu_vm_tlb_fence_create()
|
| /linux/include/drm/ |
| H A D | drm_syncobj.h | 51 struct dma_fence __rcu *fence; member 109 struct dma_fence *fence; in drm_syncobj_fence_get() local
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nv10_fence.c | 33 nv10_fence_emit(struct nouveau_fence *fence) in nv10_fence_emit() 46 nv10_fence_sync(struct nouveau_fence *fence, in nv10_fence_sync()
|
| H A D | nv04_fence.c | 40 nv04_fence_emit(struct nouveau_fence *fence) in nv04_fence_emit() 52 nv04_fence_sync(struct nouveau_fence *fence, in nv04_fence_sync()
|
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_vq.c | 388 struct virtio_gpu_fence *fence, in virtio_gpu_queue_ctrl_sgs() 483 struct virtio_gpu_fence *fence) in virtio_gpu_queue_fenced_ctrl_buffer() 631 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_create_resource() 738 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_resource_flush() 793 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_transfer_to_host_2d() 824 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_resource_attach_backing() 845 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_resource_detach_backing() 1191 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_resource_create_3d() 1226 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_transfer_to_host_3d() 1261 struct virtio_gpu_fence *fence) in virtio_gpu_cmd_transfer_from_host_3d() [all …]
|