Home
last modified time | relevance | path

Searched defs:fence (Results 1 – 25 of 155) sorted by relevance

1234567

/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence.c49 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 Di915_sw_fence.h47 #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 Di915_sw_fence_work.c27 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify()
55 static const char *get_driver_name(struct dma_fence *fence) in get_driver_name()
60 static const char *get_timeline_name(struct dma_fence *fence) in get_timeline_name()
67 static void fence_release(struct dma_fence *fence) in fence_release()
H A Di915_vma_resource.c69 static const char *get_driver_name(struct dma_fence *fence) in get_driver_name()
74 static const char *get_timeline_name(struct dma_fence *fence) in get_timeline_name()
87 static void unbind_fence_release(struct dma_fence *fence) in unbind_fence_release()
190 i915_vma_resource_fence_notify(struct i915_sw_fence *fence, in i915_vma_resource_fence_notify()
333 struct dma_fence *fence; in i915_vma_resource_bind_dep_sync_all() local
H A Di915_active.h64 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 Di915_deps.c75 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/gpu/drm/nouveau/
H A Dnouveau_fence.c42 nouveau_fctx(struct nouveau_fence *fence) in nouveau_fctx()
48 nouveau_fence_signal(struct nouveau_fence *fence) in nouveau_fence_signal()
68 nouveau_local_fence(struct dma_fence *fence, struct nouveau_drm *drm) in nouveau_local_fence()
80 struct nouveau_fence *fence, *tmp; in nouveau_fence_context_kill() local
125 struct nouveau_fence *fence, *tmp; in nouveau_fence_update() local
147 struct nouveau_fence *fence; in nouveau_fence_uevent_work() local
207 nouveau_fence_emit(struct nouveau_fence *fence) in nouveau_fence_emit()
244 nouveau_fence_done(struct nouveau_fence *fence) in nouveau_fence_done()
265 struct nouveau_fence *fence = to_nouveau_fence(f); in nouveau_fence_wait_legacy() local
298 nouveau_fence_wait_busy(struct nouveau_fence *fence, bool intr) in nouveau_fence_wait_busy()
[all …]
/linux/drivers/dma-buf/
H A Ddma-resv.c71 struct dma_resv *resv, struct dma_fence **fence, in dma_resv_list_entry()
86 struct dma_fence *fence, in dma_resv_list_set()
126 struct dma_fence *fence; in dma_resv_list_free() local
217 struct dma_fence *fence; in dma_resv_reserve_fences() local
242 struct dma_fence *fence; in dma_resv_reserve_fences() local
287 void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence, in dma_resv_add_fence()
473 struct dma_fence *fence; in dma_resv_iter_first() local
495 struct dma_fence *fence; in dma_resv_iter_next() local
573 struct dma_fence *fence; in dma_resv_get_fences() local
628 struct dma_fence **fence) in dma_resv_get_singleton()
[all …]
H A Ddma-fence-array.c18 static const char *dma_fence_array_get_driver_name(struct dma_fence *fence) in dma_fence_array_get_driver_name()
23 static const char *dma_fence_array_get_timeline_name(struct dma_fence *fence) in dma_fence_array_get_timeline_name()
70 static bool dma_fence_array_enable_signaling(struct dma_fence *fence) in dma_fence_array_enable_signaling()
103 static bool dma_fence_array_signaled(struct dma_fence *fence) in dma_fence_array_signaled()
140 static void dma_fence_array_release(struct dma_fence *fence) in dma_fence_array_release()
152 static void dma_fence_array_set_deadline(struct dma_fence *fence, in dma_fence_array_set_deadline()
279 bool dma_fence_match_context(struct dma_fence *fence, u64 context) in dma_fence_match_context()
H A Dst-dma-fence-chain.c62 struct dma_fence *fence, in mock_chain()
184 struct dma_fence *fence; in find_seqno() local
262 struct dma_fence *fence; in find_signaled() local
300 struct dma_fence *fence; in find_out_of_order() local
344 struct dma_fence *fence; in find_gap() local
400 struct dma_fence *fence = dma_fence_get(data->fc.tail); in __find_race() local
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_fence.c67 struct amdgpu_amdkfd_fence *fence; in amdgpu_amdkfd_fence_create() local
87 struct amdgpu_amdkfd_fence *fence; in to_amdgpu_amdkfd_fence() local
106 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_get_timeline_name() local
121 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_enable_signaling() local
149 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_release() local
173 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_check_mm() local
/linux/drivers/gpu/drm/vgem/
H A Dvgem_fence.c38 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 Dlib_sw_fence.c30 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 Di915_sw_fence.c32 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify()
48 struct i915_sw_fence *fence; in alloc_fence() local
58 static void free_fence(struct i915_sw_fence *fence) in free_fence()
64 static int __test_self(struct i915_sw_fence *fence) in __test_self()
82 struct i915_sw_fence *fence; in test_self() local
626 static const char *mock_name(struct dma_fence *fence) in mock_name()
652 struct i915_sw_fence *fence; in wrap_dma_fence() local
H A Dlib_sw_fence.h16 #define onstack_fence_init(fence) \ argument
23 #define onstack_fence_init(fence) \ argument
33 struct i915_sw_fence fence; member
/linux/drivers/gpu/host1x/
H A Dintr.c15 struct host1x_syncpt_fence *fence) in host1x_intr_add_fence_to_list()
33 struct host1x_syncpt_fence *fence; in host1x_intr_update_hw_state() local
45 void host1x_intr_add_fence_locked(struct host1x *host, struct host1x_syncpt_fence *fence) in host1x_intr_add_fence_locked()
55 bool host1x_intr_remove_fence(struct host1x *host, struct host1x_syncpt_fence *fence) in host1x_intr_remove_fence()
78 struct host1x_syncpt_fence *fence, *tmp; in host1x_intr_handle_interrupt() local
/linux/drivers/gpu/drm/lima/
H A Dlima_sched.c50 static inline struct lima_fence *to_lima_fence(struct dma_fence *fence) in to_lima_fence()
55 static const char *lima_fence_get_driver_name(struct dma_fence *fence) in lima_fence_get_driver_name()
60 static const char *lima_fence_get_timeline_name(struct dma_fence *fence) in lima_fence_get_timeline_name()
70 struct lima_fence *fence = to_lima_fence(f); in lima_fence_release_rcu() local
75 static void lima_fence_release(struct dma_fence *fence) in lima_fence_release()
90 struct lima_fence *fence; in lima_fence_create() local
175 struct dma_fence *fence = dma_fence_get(&task->base.s_fence->finished); in lima_sched_context_queue_task() local
209 struct lima_fence *fence; in lima_sched_run_job() local
/linux/drivers/gpu/drm/radeon/
H A Dradeon_sync.c63 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()
/linux/drivers/gpu/drm/xe/
H A Dxe_preempt_fence.c48 preempt_fence_get_driver_name(struct dma_fence *fence) in preempt_fence_get_driver_name()
54 preempt_fence_get_timeline_name(struct dma_fence *fence) in preempt_fence_get_timeline_name()
59 static bool preempt_fence_enable_signaling(struct dma_fence *fence) in preempt_fence_enable_signaling()
170 bool xe_fence_is_xe_preempt(const struct dma_fence *fence) in xe_fence_is_xe_preempt()
H A Dxe_sync.c99 static void kick_ufence(struct xe_user_fence *ufence, struct dma_fence *fence) in kick_ufence()
106 static void user_fence_cb(struct dma_fence *fence, struct dma_fence_cb *cb) in user_fence_cb()
224 void xe_sync_entry_signal(struct xe_sync_entry *sync, struct dma_fence *fence) in xe_sync_entry_signal()
286 struct dma_fence *fence; in xe_sync_in_fence_get() local
/linux/drivers/gpu/drm/vc4/
H A Dvc4_fence.c26 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/v3d/
H A Dv3d_fence.c9 struct v3d_fence *fence; in v3d_fence_create() local
24 static const char *v3d_fence_get_driver_name(struct dma_fence *fence) in v3d_fence_get_driver_name()
29 static const char *v3d_fence_get_timeline_name(struct dma_fence *fence) in v3d_fence_get_timeline_name()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_queue.c114 struct pvr_queue_fence *fence = container_of(w, struct pvr_queue_fence, release_work); in pvr_queue_fence_release_work() local
122 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_fence_release() local
131 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_job_fence_get_timeline_name() local
154 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_cccb_fence_get_timeline_name() local
250 struct pvr_queue_fence *fence; in pvr_queue_fence_alloc() local
275 struct pvr_queue_fence *fence = container_of(f, struct pvr_queue_fence, base); in pvr_queue_fence_init() local
296 pvr_queue_cccb_fence_init(struct dma_fence *fence, struct pvr_queue *queue) in pvr_queue_cccb_fence_init()
314 pvr_queue_job_fence_init(struct dma_fence *fence, struct pvr_queue *queue) in pvr_queue_job_fence_init()
368 struct dma_fence *fence = NULL; in job_count_remaining_native_deps() local
617 struct dma_fence *fence; in pvr_queue_submit_job_to_cccb() local
/linux/include/linux/
H A Ddma-fence-chain.h29 struct dma_fence *fence; member
61 to_dma_fence_chain(struct dma_fence *fence) in to_dma_fence_chain()
77 dma_fence_chain_contained(struct dma_fence *fence) in dma_fence_chain_contained()
/linux/tools/testing/selftests/sync/
H A Dsync_stress_consumer.c40 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

1234567