/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() 430 struct dma_fence *fence = &rq->fence; in i915_active_add_request() local 466 struct dma_fence *fence) in __i915_active_set_fence() 538 struct dma_fence *fence; in enable_signaling() local 610 int (*fn)(void *arg, struct dma_fence *fence), in __await_active() 613 struct dma_fence *fence; in __await_active() local 650 static int __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) in __await_barrier() 675 int (*fn)(void *arg, struct dma_fence *fence), in await_active() [all …]
|
H 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()
|
H A D | i915_vma_resource.c | 69 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 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/gpu/drm/xe/ |
H A D | xe_gt_tlb_invalidation.c | 40 static void xe_gt_tlb_invalidation_fence_fini(struct xe_gt_tlb_invalidation_fence *fence) in xe_gt_tlb_invalidation_fence_fini() 50 __invalidation_fence_signal(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence) in __invalidation_fence_signal() 62 invalidation_fence_signal(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence) in invalidation_fence_signal() 68 void xe_gt_tlb_invalidation_fence_signal(struct xe_gt_tlb_invalidation_fence *fence) in xe_gt_tlb_invalidation_fence_signal() 81 struct xe_gt_tlb_invalidation_fence *fence, *next; in xe_gt_tlb_fence_timeout() local 137 struct xe_gt_tlb_invalidation_fence *fence, *next; in xe_gt_tlb_invalidation_reset() local 190 struct xe_gt_tlb_invalidation_fence *fence, in send_tlb_invalidation() 265 struct xe_gt_tlb_invalidation_fence *fence) in xe_gt_tlb_invalidation_guc() 302 struct xe_gt_tlb_invalidation_fence fence; in xe_gt_tlb_invalidation_ggtt() local 334 struct xe_gt_tlb_invalidation_fence *fence) in send_tlb_invalidation_all() [all …]
|
H A D | xe_preempt_fence.c | 48 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_userq_fence.c | 145 struct dma_fence *fence; in amdgpu_userq_fence_driver_process() local 179 struct amdgpu_userq_fence *fence, *tmp; in amdgpu_userq_fence_driver_destroy() local 230 struct dma_fence *fence; in amdgpu_userq_fence_create() local 298 struct amdgpu_userq_fence *fence = to_amdgpu_userq_fence(f); in amdgpu_userq_fence_get_timeline_name() local 305 struct amdgpu_userq_fence *fence = to_amdgpu_userq_fence(f); in amdgpu_userq_fence_signaled() local 320 struct dma_fence *fence = container_of(rcu, struct dma_fence, rcu); in amdgpu_userq_fence_free() local 406 static void amdgpu_userq_fence_cleanup(struct dma_fence *fence) in amdgpu_userq_fence_cleanup() 426 struct dma_fence *fence; in amdgpu_userq_signal_ioctl() local 700 struct dma_fence *fence; in amdgpu_userq_wait_ioctl() local 720 struct dma_fence *fence; in amdgpu_userq_wait_ioctl() local [all …]
|
H 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 173 struct amdgpu_amdkfd_fence *fence = to_amdgpu_amdkfd_fence(f); in amdkfd_fence_check_mm() local
|
H A D | amdgpu_fence.c | 112 struct dma_fence *fence; in amdgpu_fence_emit() local 258 struct dma_fence *fence, **ptr; in amdgpu_fence_process() local 316 struct dma_fence *fence, **ptr; in amdgpu_fence_wait_empty() local 389 struct dma_fence *fence; in amdgpu_fence_last_unsignaled_time_us() local 420 struct dma_fence *fence; in amdgpu_fence_update_start_timestamp() local 717 struct dma_fence *fence; in amdgpu_fence_driver_set_error() local 762 void amdgpu_fence_driver_guilty_force_completion(struct amdgpu_fence *fence) in amdgpu_fence_driver_guilty_force_completion() 769 void amdgpu_fence_save_wptr(struct dma_fence *fence) in amdgpu_fence_save_wptr() 793 struct amdgpu_fence *fence; in amdgpu_ring_backup_unprocessed_commands() local 824 static const char *amdgpu_fence_get_driver_name(struct dma_fence *fence) in amdgpu_fence_get_driver_name()
|
/linux/drivers/dma-buf/ |
H A 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 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 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() 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 D | st-dma-fence-chain.c | 62 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/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 | 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 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 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/host1x/ |
H A 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/drivers/gpu/drm/radeon/ |
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()
|
/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/v3d/ |
H 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()
|
H A D | v3d_irq.c | 105 struct v3d_fence *fence = in v3d_irq() local 118 struct v3d_fence *fence = in v3d_irq() local 131 struct v3d_fence *fence = in v3d_irq() local 171 struct v3d_fence *fence = in v3d_hub_irq() local
|
/linux/include/linux/ |
H A D | dma-fence-chain.h | 29 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()
|