Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/drivers/gpu/drm/i915/
Di915_sw_fence.c42 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init()
47 static inline void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack()
52 static inline void debug_fence_activate(struct i915_sw_fence *fence) in debug_fence_activate()
57 static inline void debug_fence_set_state(struct i915_sw_fence *fence, in debug_fence_set_state()
63 static inline void debug_fence_deactivate(struct i915_sw_fence *fence) in debug_fence_deactivate()
68 static inline void debug_fence_destroy(struct i915_sw_fence *fence) in debug_fence_destroy()
73 static inline void debug_fence_free(struct i915_sw_fence *fence) in debug_fence_free()
79 static inline void debug_fence_assert(struct i915_sw_fence *fence) in debug_fence_assert()
86 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init()
90 static inline void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack()
[all …]
Di915_sw_fence.h46 #define i915_sw_fence_init(fence, fn) \ argument
53 #define i915_sw_fence_init(fence, fn) \ argument
62 static inline void i915_sw_fence_fini(struct i915_sw_fence *fence) {} in i915_sw_fence_fini()
76 struct i915_sw_fence *fence; member
97 static inline bool i915_sw_fence_signaled(const struct i915_sw_fence *fence) in i915_sw_fence_signaled()
102 static inline bool i915_sw_fence_done(const struct i915_sw_fence *fence) in i915_sw_fence_done()
107 static inline void i915_sw_fence_wait(struct i915_sw_fence *fence) in i915_sw_fence_wait()
113 i915_sw_fence_set_error_once(struct i915_sw_fence *fence, int error) in i915_sw_fence_set_error_once()
Di915_sw_fence_work.c30 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify()
58 static const char *get_driver_name(struct dma_fence *fence) in get_driver_name()
63 static const char *get_timeline_name(struct dma_fence *fence) in get_timeline_name()
70 static void fence_release(struct dma_fence *fence) in fence_release()
Di915_request.c47 struct i915_sw_fence *fence; member
58 static const char *i915_fence_get_driver_name(struct dma_fence *fence) in i915_fence_get_driver_name()
63 static const char *i915_fence_get_timeline_name(struct dma_fence *fence) in i915_fence_get_timeline_name()
86 static bool i915_fence_signaled(struct dma_fence *fence) in i915_fence_signaled()
91 static bool i915_fence_enable_signaling(struct dma_fence *fence) in i915_fence_enable_signaling()
96 static signed long i915_fence_wait(struct dma_fence *fence, in i915_fence_wait()
110 static void i915_fence_release(struct dma_fence *fence) in i915_fence_release()
672 submit_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in submit_notify()
706 semaphore_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in semaphore_notify()
955 struct dma_fence *fence; in i915_request_await_start() local
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_fence.c44 from_fence(struct dma_fence *fence) in from_fence()
50 nouveau_fctx(struct nouveau_fence *fence) in nouveau_fctx()
56 nouveau_fence_signal(struct nouveau_fence *fence) in nouveau_fence_signal()
76 nouveau_local_fence(struct dma_fence *fence, struct nouveau_drm *drm) in nouveau_local_fence()
92 struct nouveau_fence *fence; in nouveau_fence_context_kill() local
136 struct nouveau_fence *fence; in nouveau_fence_update() local
162 struct nouveau_fence *fence; in nouveau_fence_wait_uevent_handler() local
210 nouveau_fence_emit(struct nouveau_fence *fence, struct nouveau_channel *chan) in nouveau_fence_emit()
244 nouveau_fence_done(struct nouveau_fence *fence) in nouveau_fence_done()
267 struct nouveau_fence *fence = from_fence(f); in nouveau_fence_wait_legacy() local
[all …]
/Linux-v5.10/drivers/dma-buf/
Ddma-fence.c113 static const char *dma_fence_stub_get_name(struct dma_fence *fence) in dma_fence_stub_get_name()
330 int dma_fence_signal_locked(struct dma_fence *fence) in dma_fence_signal_locked()
370 int dma_fence_signal(struct dma_fence *fence) in dma_fence_signal()
410 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout()
440 struct dma_fence *fence = in dma_fence_release() local
480 void dma_fence_free(struct dma_fence *fence) in dma_fence_free()
486 static bool __dma_fence_enable_signaling(struct dma_fence *fence) in __dma_fence_enable_signaling()
518 void dma_fence_enable_sw_signaling(struct dma_fence *fence) in dma_fence_enable_sw_signaling()
556 int dma_fence_add_callback(struct dma_fence *fence, struct dma_fence_cb *cb, in dma_fence_add_callback()
598 int dma_fence_get_status(struct dma_fence *fence) in dma_fence_get_status()
[all …]
Dseqno-fence.c16 static const char *seqno_fence_get_driver_name(struct dma_fence *fence) in seqno_fence_get_driver_name()
23 static const char *seqno_fence_get_timeline_name(struct dma_fence *fence) in seqno_fence_get_timeline_name()
30 static bool seqno_enable_signaling(struct dma_fence *fence) in seqno_enable_signaling()
37 static bool seqno_signaled(struct dma_fence *fence) in seqno_signaled()
44 static void seqno_release(struct dma_fence *fence) in seqno_release()
55 static signed long seqno_wait(struct dma_fence *fence, bool intr, in seqno_wait()
Ddma-fence-chain.c39 struct dma_fence *dma_fence_chain_walk(struct dma_fence *fence) in dma_fence_chain_walk()
112 static const char *dma_fence_chain_get_driver_name(struct dma_fence *fence) in dma_fence_chain_get_driver_name()
117 static const char *dma_fence_chain_get_timeline_name(struct dma_fence *fence) in dma_fence_chain_get_timeline_name()
144 static bool dma_fence_chain_enable_signaling(struct dma_fence *fence) in dma_fence_chain_enable_signaling()
164 static bool dma_fence_chain_signaled(struct dma_fence *fence) in dma_fence_chain_signaled()
179 static void dma_fence_chain_release(struct dma_fence *fence) in dma_fence_chain_release()
232 struct dma_fence *fence, in dma_fence_chain_init()
Dsw_sync.c52 __s32 fence; /* fd of new fence */ member
64 static inline struct sync_pt *dma_fence_to_sync_pt(struct dma_fence *fence) in dma_fence_to_sync_pt()
119 static const char *timeline_fence_get_driver_name(struct dma_fence *fence) in timeline_fence_get_driver_name()
124 static const char *timeline_fence_get_timeline_name(struct dma_fence *fence) in timeline_fence_get_timeline_name()
131 static void timeline_fence_release(struct dma_fence *fence) in timeline_fence_release()
148 static bool timeline_fence_signaled(struct dma_fence *fence) in timeline_fence_signaled()
155 static bool timeline_fence_enable_signaling(struct dma_fence *fence) in timeline_fence_enable_signaling()
160 static void timeline_fence_value_str(struct dma_fence *fence, in timeline_fence_value_str()
166 static void timeline_fence_timeline_value_str(struct dma_fence *fence, in timeline_fence_timeline_value_str()
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()
110 static void dma_fence_array_release(struct dma_fence *fence) in dma_fence_array_release()
188 bool dma_fence_match_context(struct dma_fence *fence, u64 context) in dma_fence_match_context()
Ddma-resv.c217 struct dma_fence *fence; in dma_resv_reserve_shared() local
243 struct dma_fence *fence; in dma_resv_reserve_shared() local
263 void dma_resv_add_shared_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_shared_fence()
308 void dma_resv_add_excl_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_excl_fence()
376 struct dma_fence *fence; in dma_resv_copy_fences() local
536 struct dma_fence *fence; in dma_resv_wait_timeout_rcu() local
610 struct dma_fence *fence, *lfence = passed_fence; in dma_resv_test_signaled_single() local
654 struct dma_fence *fence = rcu_dereference(fobj->shared[i]); in dma_resv_test_signaled_rcu() local
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_ggtt_fencing.c61 static struct drm_i915_private *fence_to_i915(struct i915_fence_reg *fence) in fence_to_i915()
66 static struct intel_uncore *fence_to_uncore(struct i915_fence_reg *fence) in fence_to_uncore()
71 static void i965_write_fence_reg(struct i915_fence_reg *fence) in i965_write_fence_reg()
125 static void i915_write_fence_reg(struct i915_fence_reg *fence) in i915_write_fence_reg()
159 static void i830_write_fence_reg(struct i915_fence_reg *fence) in i830_write_fence_reg()
184 static void fence_write(struct i915_fence_reg *fence) in fence_write()
207 static bool gpu_uses_fence_registers(struct i915_fence_reg *fence) in gpu_uses_fence_registers()
212 static int fence_update(struct i915_fence_reg *fence, in fence_update()
304 struct i915_fence_reg *fence = vma->fence; in i915_vma_revoke_fence() local
325 struct i915_fence_reg *fence; in fence_find() local
[all …]
/Linux-v5.10/drivers/gpu/drm/scheduler/
Dsched_fence.c51 void drm_sched_fence_scheduled(struct drm_sched_fence *fence) in drm_sched_fence_scheduled()
63 void drm_sched_fence_finished(struct drm_sched_fence *fence) in drm_sched_fence_finished()
75 static const char *drm_sched_fence_get_driver_name(struct dma_fence *fence) in drm_sched_fence_get_driver_name()
82 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_get_timeline_name() local
96 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_free() local
111 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_scheduled() local
126 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_finished() local
158 struct drm_sched_fence *fence = NULL; in drm_sched_fence_create() local
/Linux-v5.10/drivers/gpu/drm/vgem/
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
56 static void vgem_fence_value_str(struct dma_fence *fence, char *str, int size) in vgem_fence_value_str()
61 static void vgem_fence_timeline_value_str(struct dma_fence *fence, char *str, in vgem_fence_timeline_value_str()
79 struct vgem_fence *fence = from_timer(fence, t, timer); in vgem_fence_timeout() local
87 struct vgem_fence *fence; in vgem_fence_create() local
133 struct dma_fence *fence; in vgem_fence_attach_ioctl() local
211 struct dma_fence *fence; in vgem_fence_signal_ioctl() local
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c55 struct vmw_fence_obj fence; member
77 struct vmw_fence_obj *fence; member
85 fman_from_fence(struct vmw_fence_obj *fence) in fman_from_fence()
114 struct vmw_fence_obj *fence = in vmw_fence_obj_destroy() local
138 struct vmw_fence_obj *fence = in vmw_fence_enable_signaling() local
160 vmwgfx_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb) in vmwgfx_wait_cb()
172 struct vmw_fence_obj *fence = in vmw_fence_wait() local
339 static int vmw_fence_obj_init(struct vmw_fence_manager *fman, in vmw_fence_obj_init()
340 struct vmw_fence_obj *fence, u32 seqno, in vmw_fence_obj_init()
405 struct vmw_fence_obj *fence; in vmw_fence_goal_new_locked() local
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_fence.c65 struct amdgpu_amdkfd_fence *fence; in amdgpu_amdkfd_fence_create() local
85 struct amdgpu_amdkfd_fence *fence; in to_amdgpu_amdkfd_fence() local
104 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_get_timeline_name() local
117 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_enable_signaling() local
141 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_release() local
162 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_check_mm() local
/Linux-v5.10/drivers/gpu/drm/msm/
Dmsm_fence.c36 static inline bool fence_completed(struct msm_fence_context *fctx, uint32_t fence) in fence_completed()
42 int msm_wait_fence(struct msm_fence_context *fctx, uint32_t fence, in msm_wait_fence()
81 void msm_update_fence(struct msm_fence_context *fctx, uint32_t fence) in msm_update_fence()
95 static inline struct msm_fence *to_msm_fence(struct dma_fence *fence) in to_msm_fence()
100 static const char *msm_fence_get_driver_name(struct dma_fence *fence) in msm_fence_get_driver_name()
105 static const char *msm_fence_get_timeline_name(struct dma_fence *fence) in msm_fence_get_timeline_name()
111 static bool msm_fence_signaled(struct dma_fence *fence) in msm_fence_signaled()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_fence.c136 struct radeon_fence **fence, in radeon_fence_emit()
169 struct radeon_fence *fence; in radeon_fence_check_signaled() local
364 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_is_signaled() local
394 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_enable_signaling() local
439 bool radeon_fence_signaled(struct radeon_fence *fence) in radeon_fence_signaled()
550 long radeon_fence_wait_timeout(struct radeon_fence *fence, bool intr, long timeout) in radeon_fence_wait_timeout()
588 int radeon_fence_wait(struct radeon_fence *fence, bool intr) in radeon_fence_wait()
706 struct radeon_fence *radeon_fence_ref(struct radeon_fence *fence) in radeon_fence_ref()
719 void radeon_fence_unref(struct radeon_fence **fence) in radeon_fence_unref()
767 bool radeon_fence_need_sync(struct radeon_fence *fence, int dst_ring) in radeon_fence_need_sync()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
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()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_fence.c16 stub_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in stub_notify()
33 static const char *stub_driver_name(struct dma_fence *fence) in stub_driver_name()
38 static const char *stub_timeline_name(struct dma_fence *fence) in stub_timeline_name()
43 static void stub_release(struct dma_fence *fence) in stub_release()
90 struct dma_fence *fence) in i915_gem_object_unlock_fence()
Di915_gem_busy.c39 __busy_set_if_active(const struct dma_fence *fence, u32 (*flag)(u16 id)) in __busy_set_if_active()
65 busy_check_reader(const struct dma_fence *fence) in busy_check_reader()
71 busy_check_writer(const struct dma_fence *fence) in busy_check_writer()
125 struct dma_fence *fence = in i915_gem_busy_ioctl() local
/Linux-v5.10/include/linux/
Ddma-fence.h276 static inline void dma_fence_put(struct dma_fence *fence) in dma_fence_put()
288 static inline struct dma_fence *dma_fence_get(struct dma_fence *fence) in dma_fence_get()
302 static inline struct dma_fence *dma_fence_get_rcu(struct dma_fence *fence) in dma_fence_get_rcu()
330 struct dma_fence *fence; in dma_fence_get_rcu_safe() local
399 dma_fence_is_signaled_locked(struct dma_fence *fence) in dma_fence_is_signaled_locked()
429 dma_fence_is_signaled(struct dma_fence *fence) in dma_fence_is_signaled()
521 static inline int dma_fence_get_status_locked(struct dma_fence *fence) in dma_fence_get_status_locked()
542 static inline void dma_fence_set_error(struct dma_fence *fence, in dma_fence_set_error()
573 static inline signed long dma_fence_wait(struct dma_fence *fence, bool intr) in dma_fence_wait()
/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c45 struct virtio_gpu_fence *fence = to_virtio_fence(f); in virtio_fence_signaled() local
63 struct virtio_gpu_fence *fence = to_virtio_fence(f); in virtio_timeline_value_str() local
79 struct virtio_gpu_fence *fence = kzalloc(sizeof(struct virtio_gpu_fence), in virtio_gpu_fence_alloc() local
97 struct virtio_gpu_fence *fence) in virtio_gpu_fence_emit()
118 struct virtio_gpu_fence *fence, *tmp; in virtio_gpu_fence_event_process() local
/Linux-v5.10/drivers/gpu/drm/
Ddrm_syncobj.c206 struct dma_fence *fence; member
243 struct dma_fence *fence; in drm_syncobj_fence_add_wait() local
287 struct dma_fence *fence, in drm_syncobj_add_point()
322 struct dma_fence *fence) in drm_syncobj_replace_fence()
355 struct dma_fence *fence = dma_fence_get_stub(); in drm_syncobj_assign_null_handle() local
380 struct dma_fence **fence) in drm_syncobj_find_fence()
468 struct dma_fence *fence) in drm_syncobj_create()
656 struct dma_fence *fence = sync_file_get_fence(fd); in drm_syncobj_import_sync_file_fence() local
678 struct dma_fence *fence; in drm_syncobj_export_sync_file() local
830 struct dma_fence *fence; in drm_syncobj_transfer_to_timeline() local
[all …]
/Linux-v5.10/drivers/gpu/drm/vc4/
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()

123456789