/drivers/gpu/drm/i915/ |
D | i915_sw_fence.c | 18 static int __i915_sw_fence_notify(struct i915_sw_fence *fence, in __i915_sw_fence_notify() 29 struct i915_sw_fence *fence = container_of(kref, typeof(*fence), kref); in i915_sw_fence_free() local 39 static void i915_sw_fence_put(struct i915_sw_fence *fence) in i915_sw_fence_put() 44 static struct i915_sw_fence *i915_sw_fence_get(struct i915_sw_fence *fence) in i915_sw_fence_get() 50 static void __i915_sw_fence_wake_up_all(struct i915_sw_fence *fence, in __i915_sw_fence_wake_up_all() 91 static void __i915_sw_fence_complete(struct i915_sw_fence *fence, in __i915_sw_fence_complete() 104 static void i915_sw_fence_complete(struct i915_sw_fence *fence) in i915_sw_fence_complete() 112 static void i915_sw_fence_await(struct i915_sw_fence *fence) in i915_sw_fence_await() 117 void i915_sw_fence_init(struct i915_sw_fence *fence, i915_sw_fence_notify_t fn) in i915_sw_fence_init() 127 void i915_sw_fence_commit(struct i915_sw_fence *fence) in i915_sw_fence_commit() [all …]
|
D | i915_gem_fence.c | 60 static void i965_write_fence_reg(struct drm_i915_fence_reg *fence, in i965_write_fence_reg() 115 static void i915_write_fence_reg(struct drm_i915_fence_reg *fence, in i915_write_fence_reg() 162 static void i830_write_fence_reg(struct drm_i915_fence_reg *fence, in i830_write_fence_reg() 200 static void fence_write(struct drm_i915_fence_reg *fence, in fence_write() 222 static int fence_update(struct drm_i915_fence_reg *fence, in fence_update() 291 struct drm_i915_fence_reg *fence = vma->fence; in i915_vma_put_fence() local 306 struct drm_i915_fence_reg *fence; in fence_find() local 343 struct drm_i915_fence_reg *fence; in i915_vma_get_fence() local
|
D | i915_gem_request.c | 29 static const char *i915_fence_get_driver_name(struct fence *fence) in i915_fence_get_driver_name() 34 static const char *i915_fence_get_timeline_name(struct fence *fence) in i915_fence_get_timeline_name() 45 static bool i915_fence_signaled(struct fence *fence) in i915_fence_signaled() 50 static bool i915_fence_enable_signaling(struct fence *fence) in i915_fence_enable_signaling() 59 static signed long i915_fence_wait(struct fence *fence, in i915_fence_wait() 88 static void i915_fence_value_str(struct fence *fence, char *str, int size) in i915_fence_value_str() 93 static void i915_fence_timeline_value_str(struct fence *fence, char *str, in i915_fence_timeline_value_str() 100 static void i915_fence_release(struct fence *fence) in i915_fence_release() 322 submit_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in submit_notify()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 45 from_fence(struct fence *fence) in from_fence() 51 nouveau_fctx(struct nouveau_fence *fence) in nouveau_fctx() 57 nouveau_fence_signal(struct nouveau_fence *fence) in nouveau_fence_signal() 77 nouveau_local_fence(struct fence *fence, struct nouveau_drm *drm) { in nouveau_local_fence() 94 struct nouveau_fence *fence; in nouveau_fence_context_del() local 130 struct nouveau_fence *fence; in nouveau_fence_update() local 156 struct nouveau_fence *fence; in nouveau_fence_wait_uevent_handler() local 217 static void nouveau_fence_work_cb(struct fence *fence, struct fence_cb *cb) in nouveau_fence_work_cb() 225 nouveau_fence_work(struct fence *fence, in nouveau_fence_work() 259 nouveau_fence_emit(struct nouveau_fence *fence, struct nouveau_channel *chan) in nouveau_fence_emit() [all …]
|
D | nv10_fence.c | 30 nv10_fence_emit(struct nouveau_fence *fence) in nv10_fence_emit() 44 nv10_fence_sync(struct nouveau_fence *fence, in nv10_fence_sync()
|
/drivers/dma-buf/ |
D | fence.c | 66 int fence_signal_locked(struct fence *fence) in fence_signal_locked() 109 int fence_signal(struct fence *fence) in fence_signal() 157 fence_wait_timeout(struct fence *fence, bool intr, signed long timeout) in fence_wait_timeout() 173 struct fence *fence = in fence_release() local 187 void fence_free(struct fence *fence) in fence_free() 200 void fence_enable_sw_signaling(struct fence *fence) in fence_enable_sw_signaling() 241 int fence_add_callback(struct fence *fence, struct fence_cb *cb, in fence_add_callback() 294 int fence_get_status(struct fence *fence) in fence_get_status() 323 fence_remove_callback(struct fence *fence, struct fence_cb *cb) in fence_remove_callback() 350 fence_default_wait_cb(struct fence *fence, struct fence_cb *cb) in fence_default_wait_cb() [all …]
|
D | seqno-fence.c | 24 static const char *seqno_fence_get_driver_name(struct fence *fence) in seqno_fence_get_driver_name() 31 static const char *seqno_fence_get_timeline_name(struct fence *fence) in seqno_fence_get_timeline_name() 38 static bool seqno_enable_signaling(struct fence *fence) in seqno_enable_signaling() 45 static bool seqno_signaled(struct fence *fence) in seqno_signaled() 52 static void seqno_release(struct fence *fence) in seqno_release() 63 static signed long seqno_wait(struct fence *fence, bool intr, in seqno_wait()
|
D | sw_sync.c | 61 __s32 fence; /* fd of new fence */ member 73 static inline struct sync_pt *fence_to_sync_pt(struct fence *fence) in fence_to_sync_pt() 128 static const char *timeline_fence_get_driver_name(struct fence *fence) in timeline_fence_get_driver_name() 133 static const char *timeline_fence_get_timeline_name(struct fence *fence) in timeline_fence_get_timeline_name() 140 static void timeline_fence_release(struct fence *fence) in timeline_fence_release() 160 static bool timeline_fence_signaled(struct fence *fence) in timeline_fence_signaled() 167 static bool timeline_fence_enable_signaling(struct fence *fence) in timeline_fence_enable_signaling() 172 static void timeline_fence_disable_signaling(struct fence *fence) in timeline_fence_disable_signaling() 179 static void timeline_fence_value_str(struct fence *fence, in timeline_fence_value_str() 185 static void timeline_fence_timeline_value_str(struct fence *fence, in timeline_fence_timeline_value_str()
|
D | fence-array.c | 26 static const char *fence_array_get_driver_name(struct fence *fence) in fence_array_get_driver_name() 31 static const char *fence_array_get_timeline_name(struct fence *fence) in fence_array_get_timeline_name() 47 static bool fence_array_enable_signaling(struct fence *fence) in fence_array_enable_signaling() 75 static bool fence_array_signaled(struct fence *fence) in fence_array_signaled() 82 static void fence_array_release(struct fence *fence) in fence_array_release()
|
D | reservation.c | 105 struct fence *fence) in reservation_object_add_shared_inplace() 146 struct fence *fence) in reservation_object_add_shared_replace() 211 struct fence *fence) in reservation_object_add_shared_fence() 234 struct fence *fence) in reservation_object_add_excl_fence() 371 struct fence *fence; in reservation_object_wait_timeout_rcu() local 446 struct fence *fence, *lfence = passed_fence; in reservation_object_test_signaled_single() local 492 struct fence *fence = rcu_dereference(fobj->shared[i]); in reservation_object_test_signaled_rcu() local
|
D | sync_debug.h | 48 static inline struct sync_timeline *fence_parent(struct fence *fence) in fence_parent() 78 # define sync_file_debug_add(fence) argument 79 # define sync_file_debug_remove(fence) argument
|
D | sync_file.c | 75 struct sync_file *sync_file_create(struct fence *fence) in sync_file_create() 121 struct fence *fence; in sync_file_get_fence() local 173 static void add_fence(struct fence **fences, int *i, struct fence *fence) in add_fence() 366 static void sync_fill_fence_info(struct fence *fence, in sync_fill_fence_info()
|
/drivers/gpu/drm/vgem/ |
D | vgem_fence.c | 36 static const char *vgem_fence_get_driver_name(struct fence *fence) in vgem_fence_get_driver_name() 41 static const char *vgem_fence_get_timeline_name(struct fence *fence) in vgem_fence_get_timeline_name() 46 static bool vgem_fence_signaled(struct fence *fence) in vgem_fence_signaled() 51 static bool vgem_fence_enable_signaling(struct fence *fence) in vgem_fence_enable_signaling() 58 struct vgem_fence *fence = container_of(base, typeof(*fence), base); in vgem_fence_release() local 64 static void vgem_fence_value_str(struct fence *fence, char *str, int size) in vgem_fence_value_str() 69 static void vgem_fence_timeline_value_str(struct fence *fence, char *str, in vgem_fence_timeline_value_str() 89 struct vgem_fence *fence = (struct vgem_fence *)data; in vgem_fence_timeout() local 97 struct vgem_fence *fence; in vgem_fence_create() local 160 struct fence *fence; in vgem_fence_attach_ioctl() local [all …]
|
/drivers/gpu/drm/msm/ |
D | msm_fence.c | 47 static inline bool fence_completed(struct msm_fence_context *fctx, uint32_t fence) in fence_completed() 53 int msm_wait_fence(struct msm_fence_context *fctx, uint32_t fence, in msm_wait_fence() 92 void msm_update_fence(struct msm_fence_context *fctx, uint32_t fence) in msm_update_fence() 106 static inline struct msm_fence *to_msm_fence(struct fence *fence) in to_msm_fence() 111 static const char *msm_fence_get_driver_name(struct fence *fence) in msm_fence_get_driver_name() 116 static const char *msm_fence_get_timeline_name(struct fence *fence) in msm_fence_get_timeline_name() 122 static bool msm_fence_enable_signaling(struct fence *fence) in msm_fence_enable_signaling() 127 static bool msm_fence_signaled(struct fence *fence) in msm_fence_signaled() 133 static void msm_fence_release(struct fence *fence) in msm_fence_release()
|
/drivers/gpu/drm/amd/scheduler/ |
D | sched_fence.c | 52 struct amd_sched_fence *fence = NULL; in amd_sched_fence_create() local 72 void amd_sched_fence_scheduled(struct amd_sched_fence *fence) in amd_sched_fence_scheduled() 82 void amd_sched_fence_finished(struct amd_sched_fence *fence) in amd_sched_fence_finished() 92 static const char *amd_sched_fence_get_driver_name(struct fence *fence) in amd_sched_fence_get_driver_name() 99 struct amd_sched_fence *fence = to_amd_sched_fence(f); in amd_sched_fence_get_timeline_name() local 118 struct amd_sched_fence *fence = to_amd_sched_fence(f); in amd_sched_fence_free() local 134 struct amd_sched_fence *fence = to_amd_sched_fence(f); in amd_sched_fence_release_scheduled() local 148 struct amd_sched_fence *fence = to_amd_sched_fence(f); in amd_sched_fence_release_finished() local
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fence.c | 54 struct vmw_fence_obj fence; member 76 struct vmw_fence_obj *fence; member 84 fman_from_fence(struct vmw_fence_obj *fence) in fman_from_fence() 113 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 fence *fence, struct fence_cb *cb) in vmwgfx_wait_cb() 172 struct vmw_fence_obj *fence = in vmw_fence_wait() local 322 static int vmw_fence_obj_init(struct vmw_fence_manager *fman, in vmw_fence_obj_init() 323 struct vmw_fence_obj *fence, u32 seqno, in vmw_fence_obj_init() 389 struct vmw_fence_obj *fence; in vmw_fence_goal_new_locked() local [all …]
|
D | vmwgfx_fence.h | 70 struct vmw_fence_obj *fence = *fence_p; in vmw_fence_obj_unreference() local 78 vmw_fence_obj_reference(struct vmw_fence_obj *fence) in vmw_fence_obj_reference()
|
/drivers/staging/goldfish/ |
D | goldfish_sync_timeline_fence.c | 49 static inline struct goldfish_sync_timeline *fence_parent(struct fence *fence) in fence_parent() 57 static inline struct sync_pt *goldfish_sync_fence_to_sync_pt(struct fence *fence) in goldfish_sync_fence_to_sync_pt() 174 struct fence *fence) in goldfish_sync_timeline_fence_get_driver_name() 180 struct fence *fence) in goldfish_sync_timeline_fence_get_timeline_name() 187 static void goldfish_sync_timeline_fence_release(struct fence *fence) in goldfish_sync_timeline_fence_release() 203 static bool goldfish_sync_timeline_fence_signaled(struct fence *fence) in goldfish_sync_timeline_fence_signaled() 210 static bool goldfish_sync_timeline_fence_enable_signaling(struct fence *fence) in goldfish_sync_timeline_fence_enable_signaling() 222 static void goldfish_sync_timeline_fence_disable_signaling(struct fence *fence) in goldfish_sync_timeline_fence_disable_signaling() 229 static void goldfish_sync_timeline_fence_value_str(struct fence *fence, in goldfish_sync_timeline_fence_value_str() 236 struct fence *fence, in goldfish_sync_timeline_fence_timeline_value_str()
|
/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 130 struct radeon_fence **fence, in radeon_fence_emit() 161 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 431 bool radeon_fence_signaled(struct radeon_fence *fence) in radeon_fence_signaled() 542 long radeon_fence_wait_timeout(struct radeon_fence *fence, bool intr, long timeout) in radeon_fence_wait_timeout() 580 int radeon_fence_wait(struct radeon_fence *fence, bool intr) in radeon_fence_wait() 698 struct radeon_fence *radeon_fence_ref(struct radeon_fence *fence) in radeon_fence_ref() 711 void radeon_fence_unref(struct radeon_fence **fence) in radeon_fence_unref() 759 bool radeon_fence_need_sync(struct radeon_fence *fence, int dst_ring) in radeon_fence_need_sync() [all …]
|
D | radeon_sync.c | 64 struct radeon_fence *fence) in radeon_sync_fence() 96 struct radeon_fence *fence; in radeon_sync_resv() local 145 struct radeon_fence *fence = sync->sync_to[i]; in radeon_sync_rings() local 214 struct radeon_fence *fence) in radeon_sync_free()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 46 struct virtio_gpu_fence *fence = to_virtio_fence(f); in virtio_signaled() local 55 struct virtio_gpu_fence *fence = to_virtio_fence(f); in virtio_fence_value_str() local 62 struct virtio_gpu_fence *fence = to_virtio_fence(f); in virtio_timeline_value_str() local 79 struct virtio_gpu_fence **fence) in virtio_gpu_fence_emit() 106 struct virtio_gpu_fence *fence, *tmp; in virtio_gpu_fence_event_process() local
|
D | virtgpu_vq.c | 353 struct virtio_gpu_fence **fence) in virtio_gpu_queue_fenced_ctrl_buffer() 518 struct virtio_gpu_fence **fence) in virtio_gpu_cmd_transfer_to_host_2d() 542 struct virtio_gpu_fence **fence) in virtio_gpu_cmd_resource_attach_backing() 798 struct virtio_gpu_fence **fence) in virtio_gpu_cmd_resource_create_3d() 817 struct virtio_gpu_fence **fence) in virtio_gpu_cmd_transfer_to_host_3d() 839 struct virtio_gpu_fence **fence) in virtio_gpu_cmd_transfer_from_host_3d() 859 uint32_t ctx_id, struct virtio_gpu_fence **fence) in virtio_gpu_cmd_submit() 880 struct virtio_gpu_fence **fence) in virtio_gpu_object_attach()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gpu.c | 915 u32 fence = gpu->completed_fence; in hangcheck_handler() local 958 static inline struct etnaviv_fence *to_etnaviv_fence(struct fence *fence) in to_etnaviv_fence() 963 static const char *etnaviv_fence_get_driver_name(struct fence *fence) in etnaviv_fence_get_driver_name() 968 static const char *etnaviv_fence_get_timeline_name(struct fence *fence) in etnaviv_fence_get_timeline_name() 975 static bool etnaviv_fence_enable_signaling(struct fence *fence) in etnaviv_fence_enable_signaling() 980 static bool etnaviv_fence_signaled(struct fence *fence) in etnaviv_fence_signaled() 987 static void etnaviv_fence_release(struct fence *fence) in etnaviv_fence_release() 1024 struct fence *fence; in etnaviv_gpu_fence_sync_obj() local 1155 u32 fence = gpu->completed_fence; in retire_worker() local 1195 u32 fence, struct timespec *timeout) in etnaviv_gpu_wait_fence_interruptible() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fence.c | 137 struct amdgpu_fence *fence; in amdgpu_fence_emit() local 215 struct fence *fence, **ptr; in amdgpu_fence_process() local 264 struct fence *fence, **ptr; in amdgpu_fence_wait_empty() local 545 static const char *amdgpu_fence_get_driver_name(struct fence *fence) in amdgpu_fence_get_driver_name() 552 struct amdgpu_fence *fence = to_amdgpu_fence(f); in amdgpu_fence_get_timeline_name() local 566 struct amdgpu_fence *fence = to_amdgpu_fence(f); in amdgpu_fence_enable_signaling() local 587 struct amdgpu_fence *fence = to_amdgpu_fence(f); in amdgpu_fence_free() local
|
/drivers/gpu/drm/qxl/ |
D | qxl_release.c | 43 static const char *qxl_get_driver_name(struct fence *fence) in qxl_get_driver_name() 48 static const char *qxl_get_timeline_name(struct fence *fence) in qxl_get_timeline_name() 53 static bool qxl_nop_signaling(struct fence *fence) in qxl_nop_signaling() 59 static long qxl_fence_wait(struct fence *fence, bool intr, signed long timeout) in qxl_fence_wait()
|