/linux/drivers/gpu/drm/i915/ |
A D | i915_sw_fence.c | 47 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init() 78 static inline void debug_fence_free(struct i915_sw_fence *fence) in debug_fence_free() 126 static int __i915_sw_fence_notify(struct i915_sw_fence *fence, in __i915_sw_fence_notify() 136 void i915_sw_fence_fini(struct i915_sw_fence *fence) in i915_sw_fence_fini() 213 void i915_sw_fence_complete(struct i915_sw_fence *fence) in i915_sw_fence_complete() 223 bool i915_sw_fence_await(struct i915_sw_fence *fence) in i915_sw_fence_await() 240 void __i915_sw_fence_init(struct i915_sw_fence *fence, in __i915_sw_fence_init() 253 void i915_sw_fence_reinit(struct i915_sw_fence *fence) in i915_sw_fence_reinit() 264 void i915_sw_fence_commit(struct i915_sw_fence *fence) in i915_sw_fence_commit() 427 struct i915_sw_fence *fence; in timer_i915_sw_fence_wake() local [all …]
|
A D | i915_sw_fence.h | 46 #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()
|
A 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()
|
A D | i915_active.c | 220 node_retire(struct dma_fence *fence, struct dma_fence_cb *cb) in node_retire() 227 excl_retire(struct dma_fence *fence, struct dma_fence_cb *cb) in excl_retire() 460 struct dma_fence *fence) in __i915_active_set_fence() 577 struct dma_fence *fence; in enable_signaling() local 649 int (*fn)(void *arg, struct dma_fence *fence), in __await_active() 652 struct dma_fence *fence; in __await_active() local 714 int (*fn)(void *arg, struct dma_fence *fence), in await_active() 754 static int rq_await_fence(void *arg, struct dma_fence *fence) in rq_await_fence() 772 int i915_sw_fence_await_active(struct i915_sw_fence *fence, in i915_sw_fence_await_active() 1049 struct dma_fence *fence) in __i915_active_fence_set() [all …]
|
/linux/drivers/dma-buf/ |
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 357 int dma_fence_signal_timestamp_locked(struct dma_fence *fence, in dma_fence_signal_timestamp_locked() 432 int dma_fence_signal_locked(struct dma_fence *fence) in dma_fence_signal_locked() 451 int dma_fence_signal(struct dma_fence *fence) in dma_fence_signal() 521 struct dma_fence *fence = in dma_fence_release() local 561 void dma_fence_free(struct dma_fence *fence) in dma_fence_free() 599 void dma_fence_enable_sw_signaling(struct dma_fence *fence) in dma_fence_enable_sw_signaling() 676 int dma_fence_get_status(struct dma_fence *fence) in dma_fence_get_status() 811 struct dma_fence *fence = fences[i]; in dma_fence_test_signaled_any() local [all …]
|
A 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() 165 static bool dma_fence_chain_signaled(struct dma_fence *fence) in dma_fence_chain_signaled() 180 static void dma_fence_chain_release(struct dma_fence *fence) in dma_fence_chain_release() 233 struct dma_fence *fence, in dma_fence_chain_init()
|
A 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()
|
A 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() 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()
|
A D | dma-resv.c | 178 struct dma_fence *fence; in dma_resv_reserve_shared() local 204 struct dma_fence *fence; in dma_resv_reserve_shared() local 248 void dma_resv_add_shared_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_shared_fence() 295 void dma_resv_add_excl_fence(struct dma_resv *obj, struct dma_fence *fence) in dma_resv_add_excl_fence() 439 struct dma_fence *fence; in dma_resv_iter_first() local 558 struct dma_fence *fence; in dma_resv_get_fences() local 622 struct dma_fence *fence; in dma_resv_wait_timeout() local 657 struct dma_fence *fence; in dma_resv_test_signaled() local
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_fence.c | 44 from_fence(struct dma_fence *fence) in from_fence() 50 nouveau_fctx(struct nouveau_fence *fence) in nouveau_fctx() 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 267 struct nouveau_fence *fence = from_fence(f); in nouveau_fence_wait_legacy() local 345 struct dma_fence *fence; in nouveau_fence_sync() local 420 struct nouveau_fence *fence; in nouveau_fence_new() local 445 struct nouveau_fence *fence = from_fence(f); in nouveau_fence_get_timeline_name() local 459 struct nouveau_fence *fence = from_fence(f); in nouveau_fence_is_signaled() local [all …]
|
/linux/drivers/gpu/drm/scheduler/ |
A D | sched_fence.c | 51 void drm_sched_fence_scheduled(struct drm_sched_fence *fence) in drm_sched_fence_scheduled() 56 void drm_sched_fence_finished(struct drm_sched_fence *fence) in drm_sched_fence_finished() 61 static const char *drm_sched_fence_get_driver_name(struct dma_fence *fence) in drm_sched_fence_get_driver_name() 68 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_get_timeline_name() local 75 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_free_rcu() local 89 void drm_sched_fence_free(struct drm_sched_fence *fence) in drm_sched_fence_free() 106 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_scheduled() local 121 struct drm_sched_fence *fence = to_drm_sched_fence(f); in drm_sched_fence_release_finished() local 153 struct drm_sched_fence *fence = NULL; in drm_sched_fence_alloc() local 165 void drm_sched_fence_init(struct drm_sched_fence *fence, in drm_sched_fence_init()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_ggtt_fencing.c | 53 static void i965_write_fence_reg(struct i915_fence_reg *fence) in i965_write_fence_reg() 107 static void i915_write_fence_reg(struct i915_fence_reg *fence) in i915_write_fence_reg() 166 static void fence_write(struct i915_fence_reg *fence) in fence_write() 194 static int fence_update(struct i915_fence_reg *fence, in fence_update() 286 struct i915_fence_reg *fence = vma->fence; in i915_vma_revoke_fence() local 324 struct i915_fence_reg *fence, *fn; in fence_find() local 357 struct i915_fence_reg *fence; in __i915_vma_pin_fence() local 450 struct i915_fence_reg *fence; in i915_reserve_fence() local 485 void i915_unreserve_fence(struct i915_fence_reg *fence) in i915_unreserve_fence() 868 struct i915_fence_reg *fence = &ggtt->fence_regs[i]; in intel_ggtt_init_fences() local [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_fence.c | 55 struct vmw_fence_obj fence; member 75 struct vmw_fence_obj *fence; member 112 struct vmw_fence_obj *fence = in vmw_fence_obj_destroy() local 136 struct vmw_fence_obj *fence = in vmw_fence_enable_signaling() local 167 struct vmw_fence_obj *fence = in vmw_fence_wait() local 398 struct vmw_fence_obj *fence; in vmw_fence_goal_new_locked() local 538 struct vmw_fence_obj *fence; in vmw_fence_create() local 664 struct dma_fence *fence) in vmw_wait_dma_fence() 716 struct vmw_fence_obj *fence = in vmw_fence_fifo_down() local 791 struct vmw_fence_obj *fence; in vmw_fence_obj_wait_ioctl() local [all …]
|
/linux/drivers/gpu/drm/vgem/ |
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 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 210 struct dma_fence *fence; in vgem_fence_signal_ioctl() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A 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 170 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_check_mm() local
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_fence.c | 37 static inline bool fence_completed(struct msm_fence_context *fctx, uint32_t fence) in fence_completed() 48 void msm_update_fence(struct msm_fence_context *fctx, uint32_t fence) in msm_update_fence() 60 static inline struct msm_fence *to_msm_fence(struct dma_fence *fence) in to_msm_fence() 65 static const char *msm_fence_get_driver_name(struct dma_fence *fence) in msm_fence_get_driver_name() 70 static const char *msm_fence_get_timeline_name(struct dma_fence *fence) in msm_fence_get_timeline_name() 76 static bool msm_fence_signaled(struct dma_fence *fence) in msm_fence_signaled()
|
/linux/drivers/gpu/drm/radeon/ |
A 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() 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() 1025 struct radeon_fence *fence = to_radeon_fence(f); in radeon_fence_get_timeline_name() local 1039 static inline bool radeon_test_signaled(struct radeon_fence *fence) in radeon_test_signaled() [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
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()
|
A D | i915_sw_fence.c | 32 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 616 static const char *mock_name(struct dma_fence *fence) in mock_name() 642 struct i915_sw_fence *fence; in wrap_dma_fence() local
|
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/include/linux/ |
A D | dma-fence.h | 272 static inline void dma_fence_put(struct dma_fence *fence) in dma_fence_put() 284 static inline struct dma_fence *dma_fence_get(struct dma_fence *fence) in dma_fence_get() 298 static inline struct dma_fence *dma_fence_get_rcu(struct dma_fence *fence) in dma_fence_get_rcu() 326 struct dma_fence *fence; in dma_fence_get_rcu_safe() local 398 dma_fence_is_signaled_locked(struct dma_fence *fence) in dma_fence_is_signaled_locked() 428 dma_fence_is_signaled(struct dma_fence *fence) in dma_fence_is_signaled() 520 static inline int dma_fence_get_status_locked(struct dma_fence *fence) in dma_fence_get_status_locked() 541 static inline void dma_fence_set_error(struct dma_fence *fence, in dma_fence_set_error() 572 static inline signed long dma_fence_wait(struct dma_fence *fence, bool intr) in dma_fence_wait()
|
/linux/drivers/gpu/drm/ |
A D | drm_syncobj.c | 206 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() 384 struct dma_fence **fence) in drm_syncobj_find_fence() 708 struct dma_fence *fence; in drm_syncobj_export_sync_file() local 860 struct dma_fence *fence; in drm_syncobj_transfer_to_timeline() local 892 struct dma_fence *fence; in drm_syncobj_transfer_to_binary() local 942 struct dma_fence *fence; in syncobj_wait_syncobj_func() local 969 struct dma_fence *fence; in drm_syncobj_array_wait_timeout() local 1001 struct dma_fence *fence; in drm_syncobj_array_wait_timeout() local [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
A 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() 157 struct dma_fence *fence = in i915_gem_busy_ioctl() local
|
/linux/drivers/gpu/drm/vc4/ |
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/v3d/ |
A D | v3d_fence.c | 8 struct v3d_fence *fence; in v3d_fence_create() local 23 static const char *v3d_fence_get_driver_name(struct dma_fence *fence) in v3d_fence_get_driver_name() 28 static const char *v3d_fence_get_timeline_name(struct dma_fence *fence) in v3d_fence_get_timeline_name()
|