Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/dma-buf/dma-fence.c, line 292 (as a function)
- include/linux/dma-fence.h, line 430 (as a function)
Referenced in 18 files:
- drivers/dma-buf/dma-fence.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c, line 76
- drivers/gpu/drm/arm/display/komeda/komeda_kms.c, line 92
- drivers/gpu/drm/arm/malidp_drv.c, line 241
- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c, line 367
- drivers/gpu/drm/i915/i915_vma_resource.c
- drivers/gpu/drm/panfrost/panfrost_job.c
- drivers/gpu/drm/panthor/panthor_mmu.c, line 2779
- drivers/gpu/drm/panthor/panthor_sched.c
- drivers/gpu/drm/tegra/drm.c, line 81
- drivers/gpu/drm/vkms/vkms_crtc.c, line 22
- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
- drivers/gpu/drm/xe/xe_devcoredump.c, line 350
- drivers/gpu/drm/xe/xe_hw_fence.c
- drivers/gpu/drm/xe/xe_preempt_fence.c, line 17
- drivers/iio/buffer/industrialio-buffer-dma.c
- drivers/iio/industrialio-buffer.c
- drivers/usb/gadget/function/f_fs.c
Smatch caller information:
drivers/iio/industrialio-buffer.c iio_buffer_enqueue_dmabuf() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &queue->lock |
drivers/iio/industrialio-buffer.c iio_buffer_signal_dmabuf_done() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &queue->list_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/xe/xe_devcoredump.c devcoredump_snapshot() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &coredump->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_devcoredump)->lock |
drivers/gpu/drm/panthor/panthor_sched.c group_sync_upd_work() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_sched.c group_term_post_processing() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_sched.c queue_check_job_completion() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c __memcpy_work() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c __vmw_fences_update() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fman->lock | ||
| TYPE_LOCK | (struct vmw_fence_manager)->lock |
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c vmw_fence_fifo_down() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fman->lock | ||
| TYPE_LOCK | (struct vmw_fence_manager)->lock |
drivers/dma-buf/dma-fence.c dma_fence_signal() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &cli->lock | ||
| HALF_LOCKED2 | &fence_drv->fence_list_lock | ||
| HALF_LOCKED2 | &id_mgr->lock | ||
| HALF_LOCKED2 | &man->eviction_lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &resv | ||
| HALF_LOCKED2 | &rq->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| HALF_LOCKED2 | &tlb_inval->pending_lock | ||
| HALF_LOCKED2 | &ttm_bo->base._resv | ||
| HALF_LOCKED2 | &uq_mgr->userq_mutex | ||
| HALF_LOCKED2 | &v3d->sched_lock | ||
| HALF_LOCKED2 | &vdev->submitted_jobs_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/i915/i915_vma_resource.c i915_vma_resource_hold() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &capture_mutex |
drivers/gpu/drm/i915/i915_vma_resource.c i915_vma_resource_unbind_work() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/drm.c tegra_atomic_commit_tail() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &old_state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &old_state->dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/arm/malidp_drv.c malidp_atomic_commit_tail() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/arm/display/komeda/komeda_kms.c komeda_kms_commit_tail() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &old_state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &old_state->dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_eviction_fence_suspend_worker() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &uq_mgr->userq_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_userq_mgr)->userq_mutex |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_reset() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_reset() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_hw_fence.c hw_fence_irq_run_cb() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/xe/xe_hw_fence.c xe_hw_fence_irq_finish() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/xe/xe_preempt_fence.c preempt_fence_work_func() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_signal_done() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | irq |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_transfer() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &epfile->ffs->eps_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct ffs_data)->eps_lock |
drivers/iio/buffer/industrialio-buffer-dma.c iio_dma_buffer_block_done() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/iio/buffer/industrialio-buffer-dma.c iio_dma_buffer_block_list_abort() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/iio/buffer/industrialio-buffer-dma.c iio_dma_buffer_enqueue_dmabuf() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &queue->lock |
drivers/gpu/drm/vkms/vkms_crtc.c vkms_crtc_handle_vblank_timeout() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_bind_run_job() -> dma_fence_begin_signalling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &sched->job_list_lock |