| /linux/include/linux/ |
| H A D | dma-fence-chain.h | 26 struct dma_fence base; 27 struct dma_fence __rcu *prev; 29 struct dma_fence *fence; 61 to_dma_fence_chain(struct dma_fence *fence) in to_dma_fence_chain() 76 static inline struct dma_fence * 77 dma_fence_chain_contained(struct dma_fence *fence) in dma_fence_chain_contained() 124 struct dma_fence *dma_fence_chain_walk(struct dma_fence *fence); 125 int dma_fence_chain_find_seqno(struct dma_fence **pfence, uint64_t seqno); 127 struct dma_fence *prev, 128 struct dma_fence *fence,
|
| H A D | dma-fence-array.h | 39 struct dma_fence base; 44 struct dma_fence **fences; 59 to_dma_fence_array(struct dma_fence *fence) in to_dma_fence_array() 84 int num_fences, struct dma_fence **fences, 89 struct dma_fence **fences, 93 bool dma_fence_match_context(struct dma_fence *fence, u64 context); 95 struct dma_fence *dma_fence_array_first(struct dma_fence *head); 96 struct dma_fence *dma_fence_array_next(struct dma_fence *head,
|
| H A D | sync_file.h | 52 struct dma_fence *fence; 58 struct sync_file *sync_file_create(struct dma_fence *fence); 59 struct dma_fence *sync_file_get_fence(int fd);
|
| /linux/drivers/dma-buf/ |
| H A D | dma-fence.c | 28 static struct dma_fence dma_fence_stub; 114 static const char *dma_fence_stub_get_name(struct dma_fence *fence) in dma_fence_stub_get_name() 143 struct dma_fence *dma_fence_get_stub(void) in dma_fence_get_stub() 155 struct dma_fence *dma_fence_allocate_private_stub(ktime_t timestamp) in dma_fence_allocate_private_stub() 157 struct dma_fence *fence; in dma_fence_allocate_private_stub() 365 int dma_fence_signal_timestamp_locked(struct dma_fence *fence, in dma_fence_signal_timestamp_locked() 408 int dma_fence_signal_timestamp(struct dma_fence *fence, ktime_t timestamp) in dma_fence_signal_timestamp() 440 int dma_fence_signal_locked(struct dma_fence *fence) in dma_fence_signal_locked() 459 int dma_fence_signal(struct dma_fence *fence) in dma_fence_signal() 499 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() [all …]
|
| H A D | st-dma-fence.c | 20 struct dma_fence base; 22 } *to_mock_fence(struct dma_fence *f) { in to_mock_fence() 26 static const char *mock_name(struct dma_fence *f) in mock_name() 31 static void mock_fence_release(struct dma_fence *f) in mock_fence_release() 41 static void mock_wakeup(struct dma_fence *f, struct dma_fence_cb *cb) in mock_wakeup() 46 static long mock_wait(struct dma_fence *f, bool intr, long timeout) in mock_wait() 83 static struct dma_fence *mock_fence(void) in mock_fence() 99 struct dma_fence *f; in sanitycheck() 115 struct dma_fence *f; in test_signaling() 155 static void simple_callback(struct dma_fence *f, struct dma_fence_cb *cb) in simple_callback() [all …]
|
| H A D | dma-resv.c | 66 struct dma_fence __rcu *table[]; 71 struct dma_resv *resv, struct dma_fence **fence, in dma_resv_list_entry() 78 *fence = (struct dma_fence *)(tmp & ~DMA_RESV_LIST_MASK); in dma_resv_list_entry() 86 struct dma_fence *fence, in dma_resv_list_set() 91 RCU_INIT_POINTER(list->table[index], (struct dma_fence *)tmp); in dma_resv_list_set() 126 struct dma_fence *fence; in dma_resv_list_free() 217 struct dma_fence *fence; in dma_resv_reserve_fences() 242 struct dma_fence *fence; in dma_resv_reserve_fences() 287 void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence, in dma_resv_add_fence() 291 struct dma_fence *old; in dma_resv_add_fence() [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() 55 static void dma_fence_array_cb_func(struct dma_fence *f, in dma_fence_array_cb_func() 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() 199 int num_fences, struct dma_fence **fences, in dma_fence_array_init() 253 struct dma_fence **fences, in dma_fence_array_create() 279 bool dma_fence_match_context(struct dma_fence *fence, u64 context) in dma_fence_match_context() [all …]
|
| H A D | st-dma-fence-chain.c | 25 struct dma_fence base; 27 } *to_mock_fence(struct dma_fence *f) { in to_mock_fence() 31 static const char *mock_name(struct dma_fence *f) in mock_name() 36 static void mock_fence_release(struct dma_fence *f) in mock_fence_release() 47 static struct dma_fence *mock_fence(void) in mock_fence() 61 static struct dma_fence *mock_chain(struct dma_fence *prev, in mock_chain() 62 struct dma_fence *fence, in mock_chain() 79 struct dma_fence *f, *chain; in sanitycheck() 102 struct dma_fence **fences; 103 struct dma_fence **chains; [all …]
|
| H A D | st-dma-resv.c | 16 static const char *fence_name(struct dma_fence *f) in fence_name() 26 static struct dma_fence *alloc_fence(void) in alloc_fence() 28 struct dma_fence *f; in alloc_fence() 41 struct dma_fence *f; in sanitycheck() 67 struct dma_fence *f; in test_signaling() 113 struct dma_fence *f, *fence; in test_for_each() 174 struct dma_fence *f, *fence; in test_for_each_unlocked() 247 struct dma_fence *f, **fences = NULL; in test_get_fences()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.h | 11 struct dma_fence; 116 struct dma_fence *xe_migrate_to_vram(struct xe_migrate *m, 120 struct dma_fence *deps); 122 struct dma_fence *xe_migrate_from_vram(struct xe_migrate *m, 126 struct dma_fence *deps); 128 struct dma_fence *xe_migrate_copy(struct xe_migrate *m, 141 struct dma_fence *xe_migrate_vram_copy_chunk(struct xe_bo *vram_bo, u64 vram_offset, 152 struct dma_fence *xe_migrate_clear(struct xe_migrate *m, 159 struct dma_fence *
|
| H A D | xe_preempt_fence.h | 13 struct dma_fence * 21 struct dma_fence * 26 to_preempt_fence(struct dma_fence *fence) in to_preempt_fence() 60 bool xe_fence_is_xe_preempt(const struct dma_fence *fence);
|
| H A D | xe_hw_fence.h | 27 struct dma_fence *xe_hw_fence_alloc(void); 29 void xe_hw_fence_free(struct dma_fence *fence); 31 void xe_hw_fence_init(struct dma_fence *fence, struct xe_hw_fence_ctx *ctx,
|
| H A D | xe_sched_job_types.h | 14 struct dma_fence; 22 struct dma_fence *lrc_fence; 48 struct dma_fence *fence;
|
| /linux/include/drm/ |
| H A D | drm_syncobj.h | 51 struct dma_fence __rcu *fence; 106 static inline struct dma_fence * 109 struct dma_fence *fence; in drm_syncobj_fence_get() 122 struct dma_fence *fence, 125 struct dma_fence *fence); 128 struct dma_fence **fence); 131 struct dma_fence *fence);
|
| H A D | drm_pagemap.h | 11 struct dma_fence; 190 struct dma_fence *pre_migrate_fence); 209 struct dma_fence *pre_migrate_fence); 246 struct dma_fence *pre_migrate_fence; 265 struct dma_fence *pre_migrate_fence);
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_active.h | 48 void i915_active_noop(struct dma_fence *fence, struct dma_fence_cb *cb); 74 struct dma_fence * 76 struct dma_fence *fence); 100 static inline struct dma_fence * 103 struct dma_fence *fence; in i915_active_fence_get() 169 struct dma_fence * 170 i915_active_set_exclusive(struct i915_active *ref, struct dma_fence *f); 222 struct dma_fence *fence; in __i915_request_await_exclusive()
|
| H A D | i915_deps.h | 12 struct dma_fence; 25 struct dma_fence *single; 26 struct dma_fence **fences; 37 struct dma_fence *fence,
|
| H A D | i915_deps.c | 75 static int i915_deps_grow(struct i915_deps *deps, struct dma_fence *fence, in i915_deps_grow() 82 struct dma_fence **new_fences; in i915_deps_grow() 134 struct dma_fence **fences = deps->fences; in i915_deps_sync() 177 struct dma_fence *fence, in i915_deps_add_dependency() 194 struct dma_fence *entry = deps->fences[i]; in i915_deps_add_dependency() 226 struct dma_fence *fence; in i915_deps_add_resv()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_fence.c | 85 struct amdgpu_amdkfd_fence *to_amdgpu_amdkfd_fence(struct dma_fence *f) in to_amdgpu_amdkfd_fence() 99 static const char *amdkfd_fence_get_driver_name(struct dma_fence *f) in amdkfd_fence_get_driver_name() 104 static const char *amdkfd_fence_get_timeline_name(struct dma_fence *f) in amdkfd_fence_get_timeline_name() 119 static bool amdkfd_fence_enable_signaling(struct dma_fence *f) in amdkfd_fence_enable_signaling() 147 static void amdkfd_fence_release(struct dma_fence *f) in amdkfd_fence_release() 171 bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm) in amdkfd_fence_check_mm()
|
| H A D | amdgpu_userq_fence.c | 57 static inline struct amdgpu_userq_fence *to_amdgpu_userq_fence(struct dma_fence *f) in to_amdgpu_userq_fence() 155 struct dma_fence *fence; in amdgpu_userq_fence_driver_process() 193 struct dma_fence *f; in amdgpu_userq_fence_driver_destroy() 238 u64 seq, struct dma_fence **f) in amdgpu_userq_fence_create() 241 struct dma_fence *fence; in amdgpu_userq_fence_create() 302 static const char *amdgpu_userq_fence_get_driver_name(struct dma_fence *f) in amdgpu_userq_fence_get_driver_name() 307 static const char *amdgpu_userq_fence_get_timeline_name(struct dma_fence *f) in amdgpu_userq_fence_get_timeline_name() 314 static bool amdgpu_userq_fence_signaled(struct dma_fence *f) in amdgpu_userq_fence_signaled() 331 struct dma_fence *fence = container_of(rcu, struct dma_fence, rcu); in amdgpu_userq_fence_free() 342 static void amdgpu_userq_fence_release(struct dma_fence *f) in amdgpu_userq_fence_release() [all …]
|
| H A D | amdgpu_fence.c | 48 static inline struct amdgpu_fence *to_amdgpu_fence(struct dma_fence *f) in to_amdgpu_fence() 116 struct dma_fence *fence; in amdgpu_fence_emit() 117 struct dma_fence __rcu **ptr; in amdgpu_fence_emit() 137 struct dma_fence *old; in amdgpu_fence_emit() 243 struct dma_fence *fence, **ptr; in amdgpu_fence_process() 300 struct dma_fence *fence, **ptr; in amdgpu_fence_wait_empty() 373 struct dma_fence *fence; in amdgpu_fence_last_unsignaled_time_us() 404 struct dma_fence *fence; in amdgpu_fence_update_start_timestamp() 671 struct dma_fence *fence; in amdgpu_fence_driver_set_error() 718 struct dma_fence *unprocesse in amdgpu_fence_driver_guilty_force_completion() [all...] |
| /linux/drivers/gpu/host1x/ |
| H A D | fence.c | 18 static const char *host1x_syncpt_fence_get_driver_name(struct dma_fence *f) in host1x_syncpt_fence_get_driver_name() 23 static const char *host1x_syncpt_fence_get_timeline_name(struct dma_fence *f) in host1x_syncpt_fence_get_timeline_name() 28 static struct host1x_syncpt_fence *to_host1x_fence(struct dma_fence *f) in to_host1x_fence() 33 static bool host1x_syncpt_fence_enable_signaling(struct dma_fence *f) in host1x_syncpt_fence_enable_signaling() 125 struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold, in host1x_fence_create() 147 void host1x_fence_cancel(struct dma_fence *f) in host1x_fence_cancel()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_ccb.h | 53 struct dma_fence *pvr_kccb_fence_alloc(void); 54 void pvr_kccb_fence_put(struct dma_fence *fence); 55 struct dma_fence * 56 pvr_kccb_reserve_slot(struct pvr_device *pvr_dev, struct dma_fence *f);
|
| /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/scheduler/ |
| H A D | sched_entity.c | 164 struct dma_fence *fence; in drm_sched_entity_error() 176 static void drm_sched_entity_kill_jobs_cb(struct dma_fence *f, 182 struct dma_fence *f; in drm_sched_entity_kill_jobs_work() 219 static void drm_sched_entity_kill_jobs_cb(struct dma_fence *f, in drm_sched_entity_kill_jobs_cb() 235 struct dma_fence *prev; in drm_sched_entity_kill() 367 static void drm_sched_entity_wakeup(struct dma_fence *f, in drm_sched_entity_wakeup() 403 struct dma_fence *fence = entity->dependency; in drm_sched_entity_add_dependency_cb() 442 static struct dma_fence * 446 struct dma_fence *f; in drm_sched_job_dependency() 527 struct dma_fence *fence; in drm_sched_entity_select_rq() [all …]
|