/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_sw_fence.c | 49 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init() 54 static inline 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 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 void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack() [all …]
|
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()
|
D | i915_sw_fence_work.c | 27 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()
|
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() 430 struct dma_fence *fence = &rq->fence; in i915_active_add_request() local 466 struct dma_fence *fence) in __i915_active_set_fence() 556 struct dma_fence *fence; in enable_signaling() local 628 int (*fn)(void *arg, struct dma_fence *fence), in __await_active() 631 struct dma_fence *fence; in __await_active() local 668 static int __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) in __await_barrier() 693 int (*fn)(void *arg, struct dma_fence *fence), in await_active() [all …]
|
/Linux-v6.6/drivers/dma-buf/ |
D | dma-fence.c | 114 static const char *dma_fence_stub_get_name(struct dma_fence *fence) in dma_fence_stub_get_name() 159 struct dma_fence *fence; in dma_fence_allocate_private_stub() local 367 int dma_fence_signal_timestamp_locked(struct dma_fence *fence, in dma_fence_signal_timestamp_locked() 410 int dma_fence_signal_timestamp(struct dma_fence *fence, ktime_t timestamp) in dma_fence_signal_timestamp() 442 int dma_fence_signal_locked(struct dma_fence *fence) in dma_fence_signal_locked() 461 int dma_fence_signal(struct dma_fence *fence) in dma_fence_signal() 501 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() 533 struct dma_fence *fence = in dma_fence_release() local 573 void dma_fence_free(struct dma_fence *fence) in dma_fence_free() 579 static bool __dma_fence_enable_signaling(struct dma_fence *fence) in __dma_fence_enable_signaling() [all …]
|
D | dma-fence-chain.c | 39 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() 145 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() 178 static void dma_fence_chain_release(struct dma_fence *fence) in dma_fence_chain_release() 210 static void dma_fence_chain_set_deadline(struct dma_fence *fence, in dma_fence_chain_set_deadline() 243 struct dma_fence *fence, in dma_fence_chain_init()
|
D | dma-resv.c | 71 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 210 struct dma_fence *fence; in dma_resv_reserve_fences() local 235 struct dma_fence *fence; in dma_resv_reserve_fences() local 280 void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence, in dma_resv_add_fence() 465 struct dma_fence *fence; in dma_resv_iter_first() local 487 struct dma_fence *fence; in dma_resv_iter_next() local 565 struct dma_fence *fence; in dma_resv_get_fences() local 620 struct dma_fence **fence) in dma_resv_get_singleton() [all …]
|
D | dma-fence-array.c | 18 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() 114 static void dma_fence_array_release(struct dma_fence *fence) in dma_fence_array_release() 126 static void dma_fence_array_set_deadline(struct dma_fence *fence, in dma_fence_array_set_deadline() 219 bool dma_fence_match_context(struct dma_fence *fence, u64 context) in dma_fence_match_context()
|
D | sw_sync.c | 52 __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()
|
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 163 struct dma_fence *fence; in sync_file_merge() local 262 static int sync_fill_fence_info(struct dma_fence *fence, in sync_fill_fence_info() 286 struct dma_fence *fence; in sync_file_ioctl_fence_info() local
|
/Linux-v6.6/drivers/gpu/drm/scheduler/ |
D | sched_fence.c | 52 struct dma_fence *fence) in drm_sched_fence_set_parent() 65 void drm_sched_fence_scheduled(struct drm_sched_fence *fence, in drm_sched_fence_scheduled() 80 void drm_sched_fence_finished(struct drm_sched_fence *fence, int result) in drm_sched_fence_finished() 87 static const char *drm_sched_fence_get_driver_name(struct dma_fence *fence) in drm_sched_fence_get_driver_name() 94 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_get_timeline_name() local 101 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_free_rcu() local 115 void drm_sched_fence_free(struct drm_sched_fence *fence) in drm_sched_fence_free() 132 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_scheduled() local 147 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_finished() local 155 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_set_deadline_finished() local [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 42 from_fence(struct dma_fence *fence) in from_fence() 48 nouveau_fctx(struct nouveau_fence *fence) in nouveau_fctx() 54 nouveau_fence_signal(struct nouveau_fence *fence) in nouveau_fence_signal() 74 nouveau_local_fence(struct dma_fence *fence, struct nouveau_drm *drm) in nouveau_local_fence() 86 struct nouveau_fence *fence; in nouveau_fence_context_kill() local 132 struct nouveau_fence *fence; in nouveau_fence_update() local 157 struct nouveau_fence *fence; in nouveau_fence_wait_uevent_handler() local 208 nouveau_fence_emit(struct nouveau_fence *fence) in nouveau_fence_emit() 247 nouveau_fence_done(struct nouveau_fence *fence) in nouveau_fence_done() 270 struct nouveau_fence *fence = from_fence(f); in nouveau_fence_wait_legacy() local [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt_fencing.c | 49 static struct drm_i915_private *fence_to_i915(struct i915_fence_reg *fence) in fence_to_i915() 54 static struct intel_uncore *fence_to_uncore(struct i915_fence_reg *fence) in fence_to_uncore() 59 static void i965_write_fence_reg(struct i915_fence_reg *fence) in i965_write_fence_reg() 113 static void i915_write_fence_reg(struct i915_fence_reg *fence) in i915_write_fence_reg() 147 static void i830_write_fence_reg(struct i915_fence_reg *fence) in i830_write_fence_reg() 172 static void fence_write(struct i915_fence_reg *fence) in fence_write() 195 static bool gpu_uses_fence_registers(struct i915_fence_reg *fence) in gpu_uses_fence_registers() 200 static int fence_update(struct i915_fence_reg *fence, in fence_update() 293 struct i915_fence_reg *fence = vma->fence; in i915_vma_revoke_fence() local 323 static bool fence_is_active(const struct i915_fence_reg *fence) in fence_is_active() [all …]
|
/Linux-v6.6/include/linux/ |
D | dma-fence.h | 293 static inline void dma_fence_put(struct dma_fence *fence) in dma_fence_put() 305 static inline struct dma_fence *dma_fence_get(struct dma_fence *fence) in dma_fence_get() 319 static inline struct dma_fence *dma_fence_get_rcu(struct dma_fence *fence) in dma_fence_get_rcu() 347 struct dma_fence *fence; in dma_fence_get_rcu_safe() local 419 dma_fence_is_signaled_locked(struct dma_fence *fence) in dma_fence_is_signaled_locked() 449 dma_fence_is_signaled(struct dma_fence *fence) in dma_fence_is_signaled() 541 static inline int dma_fence_get_status_locked(struct dma_fence *fence) in dma_fence_get_status_locked() 562 static inline void dma_fence_set_error(struct dma_fence *fence, in dma_fence_set_error() 579 static inline ktime_t dma_fence_timestamp(struct dma_fence *fence) in dma_fence_timestamp() 612 static inline signed long dma_fence_wait(struct dma_fence *fence, bool intr) in dma_fence_wait() [all …]
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fence.c | 52 struct vmw_fence_obj fence; member 72 struct vmw_fence_obj *fence; member 80 fman_from_fence(struct vmw_fence_obj *fence) in fman_from_fence() 125 struct vmw_fence_obj *fence = in vmw_fence_obj_destroy() local 149 struct vmw_fence_obj *fence = in vmw_fence_enable_signaling() local 168 vmwgfx_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb) in vmwgfx_wait_cb() 180 struct vmw_fence_obj *fence = in vmw_fence_wait() local 341 static int vmw_fence_obj_init(struct vmw_fence_manager *fman, in vmw_fence_obj_init() 342 struct vmw_fence_obj *fence, u32 seqno, in vmw_fence_obj_init() 406 struct vmw_fence_obj *fence; in vmw_fence_goal_new_locked() local [all …]
|
/Linux-v6.6/drivers/gpu/drm/vgem/ |
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 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 134 struct dma_fence *fence; in vgem_fence_attach_ioctl() local 211 struct dma_fence *fence; in vgem_fence_signal_ioctl() local
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_fence.c | 67 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-v6.6/drivers/gpu/drm/msm/ |
D | msm_fence.c | 83 bool msm_fence_completed(struct msm_fence_context *fctx, uint32_t fence) in msm_fence_completed() 94 void msm_update_fence(struct msm_fence_context *fctx, uint32_t fence) in msm_update_fence() 111 static inline struct msm_fence *to_msm_fence(struct dma_fence *fence) in to_msm_fence() 116 static const char *msm_fence_get_driver_name(struct dma_fence *fence) in msm_fence_get_driver_name() 121 static const char *msm_fence_get_timeline_name(struct dma_fence *fence) in msm_fence_get_timeline_name() 127 static bool msm_fence_signaled(struct dma_fence *fence) in msm_fence_signaled() 133 static void msm_fence_set_deadline(struct dma_fence *fence, ktime_t deadline) in msm_fence_set_deadline() 188 msm_fence_init(struct dma_fence *fence, struct msm_fence_context *fctx) in msm_fence_init()
|
/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 135 struct radeon_fence **fence, in radeon_fence_emit() 168 struct radeon_fence *fence; in radeon_fence_check_signaled() local 356 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_is_signaled() local 386 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_enable_signaling() local 429 bool radeon_fence_signaled(struct radeon_fence *fence) in radeon_fence_signaled() 536 long radeon_fence_wait_timeout(struct radeon_fence *fence, bool intr, long timeout) in radeon_fence_wait_timeout() 571 int radeon_fence_wait(struct radeon_fence *fence, bool intr) in radeon_fence_wait() 689 struct radeon_fence *radeon_fence_ref(struct radeon_fence *fence) in radeon_fence_ref() 702 void radeon_fence_unref(struct radeon_fence **fence) in radeon_fence_unref() 750 bool radeon_fence_need_sync(struct radeon_fence *fence, int dst_ring) in radeon_fence_need_sync() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
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()
|
/Linux-v6.6/drivers/gpu/drm/i915/gem/ |
D | i915_gem_wait.c | 18 i915_gem_object_wait_fence(struct dma_fence *fence, in i915_gem_object_wait_fence() 39 struct dma_fence *fence; in i915_gem_object_boost() local 72 struct dma_fence *fence; in i915_gem_object_wait_reservation() local 92 static void fence_set_priority(struct dma_fence *fence, in fence_set_priority() 110 static inline bool __dma_fence_is_chain(const struct dma_fence *fence) in __dma_fence_is_chain() 115 void i915_gem_fence_wait_priority(struct dma_fence *fence, in i915_gem_fence_wait_priority() 153 struct dma_fence *fence; in i915_gem_object_wait_priority() local
|
D | i915_gem_busy.c | 41 __busy_set_if_active(struct dma_fence *fence, u32 (*flag)(u16 id)) in __busy_set_if_active() 98 busy_check_reader(struct dma_fence *fence) in busy_check_reader() 104 busy_check_writer(struct dma_fence *fence) in busy_check_writer() 119 struct dma_fence *fence; in i915_gem_busy_ioctl() local
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_syncobj.c | 212 struct dma_fence *fence; member 222 struct dma_fence *fence; member 263 struct dma_fence *fence; in drm_syncobj_fence_add_wait() local 329 struct dma_fence *fence, in drm_syncobj_add_point() 367 struct dma_fence *fence) in drm_syncobj_replace_fence() 403 struct dma_fence *fence = dma_fence_allocate_private_stub(ktime_get()); in drm_syncobj_assign_null_handle() local 432 struct dma_fence **fence) in drm_syncobj_find_fence() 546 struct dma_fence *fence) in drm_syncobj_create() 741 struct dma_fence *fence = sync_file_get_fence(fd); in drm_syncobj_import_sync_file_fence() local 763 struct dma_fence *fence; in drm_syncobj_export_sync_file() local [all …]
|
/Linux-v6.6/drivers/gpu/host1x/ |
D | intr.c | 15 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-v6.6/drivers/gpu/drm/lima/ |
D | lima_sched.c | 49 static inline struct lima_fence *to_lima_fence(struct dma_fence *fence) in to_lima_fence() 54 static const char *lima_fence_get_driver_name(struct dma_fence *fence) in lima_fence_get_driver_name() 59 static const char *lima_fence_get_timeline_name(struct dma_fence *fence) in lima_fence_get_timeline_name() 69 struct lima_fence *fence = to_lima_fence(f); in lima_fence_release_rcu() local 74 static void lima_fence_release(struct dma_fence *fence) in lima_fence_release() 89 struct lima_fence *fence; in lima_fence_create() local 173 struct dma_fence *fence = dma_fence_get(&task->base.s_fence->finished); in lima_sched_context_queue_task() local 207 struct lima_fence *fence; in lima_sched_run_job() local
|