Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 162
- drivers/dma-buf/dma-fence-chain.c
- drivers/dma-buf/dma-fence-unwrap.c, line 21
- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c, line 255
- drivers/gpu/drm/xe/xe_sched_job.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_resv() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | resv |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_enable_signaling() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| DATA_SOURCE | 0 | fence | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_set_deadline() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| DATA_SOURCE | 0 | fence | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_signaled() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| DATA_SOURCE | 0 | fence | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fence->seqno | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &cli->lock | ||
| HALF_LOCKED2 | &fctx->lock | ||
| HALF_LOCKED2 | &fence_drv->fence_list_lock | ||
| HALF_LOCKED2 | &id_mgr->lock | ||
| HALF_LOCKED2 | &irq->lock | ||
| HALF_LOCKED2 | &man->eviction_lock | ||
| HALF_LOCKED2 | &obj->lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| HALF_LOCKED2 | &sched->lock | ||
| HALF_LOCKED2 | &ttm_bo->base._resv | ||
| HALF_LOCKED2 | &v3d->sched_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | global &sync_timeline_list_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | obj->base.resv |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_completed() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &guc->submission_state.lock | ||
| TYPE_LOCK | (struct xe_guc)->submission_state.lock |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_set_error() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_started() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &guc->submission_state.lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_cmd_get_out_fence() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock |
drivers/dma-buf/dma-fence-unwrap.c __dma_fence_unwrap_array() -> dma_fence_chain_contained()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | dmabuf->resv |