Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 1176
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 1269
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 986
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 3032
- drivers/gpu/drm/imagination/pvr_sync.c, line 196
- drivers/gpu/drm/msm/msm_syncobj.c, line 163
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 260
- drivers/gpu/drm/panthor/panthor_drv.c, line 586
- drivers/gpu/drm/virtio/virtgpu_submit.c, line 262
- drivers/gpu/drm/xe/xe_sync.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_post_dependencies() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 2 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 3 | point | 1-u64max |
| CAPPED_DATA | 2 | fence | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &p->adev->notifier_lock | ||
| TYPE_LOCK | (struct amdgpu_device)->notifier_lock |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c signal_fence_array() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | syncobj | 0,4-u64max |
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 2 | fence | (-1),128 |
| BUF_SIZE | 2 | fence | (-1),128 |
| DATA_SOURCE | 2 | fence | $1 [m] |
| NOCHECK_CALL |
drivers/gpu/drm/msm/msm_syncobj.c msm_syncobj_process_post_deps() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| CAPPED_DATA | 2 | fence | 1 |
| DATA_SOURCE | 2 | fence | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/panthor/panthor_drv.c panthor_submit_ctx_push_fences() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 1 | chain->base.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 1 | chain->base.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| NOCHECK_CALL | |||
| UNITS | 3 | point | unit_array_size |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_job_fence_attach() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &sched->mutex | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| TYPE_LOCK | (struct nouveau_sched)->mutex |
drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_signal() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 2 | fence | 128,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 2 | fence | (-1),128 |
| BUF_SIZE | 2 | fence | (-1),128 |
| CAPPED_DATA | 2 | fence | 1 |
| DATA_SOURCE | 2 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_pending.counter | |
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_signal() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | fence | 128,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 2 | fence | (-1),128 |
| BUF_SIZE | 2 | fence | (-1),128 |
| CAPPED_DATA | 2 | fence | 1 |
| DATA_SOURCE | 2 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_pending.counter | |
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_process_post_deps() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 1-u64max |
| PARAM_VALUE | 2 | fence | 0 |
| PARAM_VALUE | 2 | fence->node.node.next | 0 |
| PARAM_VALUE | 2 | fence->node.node.prev | 0 |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 2 | fence | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_import_sync_file_fence() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | syncobj | 4096-ptr_max |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| PARAM_VALUE | 3 | point | 1-u64max |
| BUF_SIZE | 1 | chain | 184 |
| DATA_SOURCE | 0 | syncobj | r drm_syncobj_find |
| DATA_SOURCE | 1 | chain | r _kmalloc_noprof |
| DATA_SOURCE | 2 | fence | r sync_file_get_fence |
| DATA_SOURCE | 3 | point | $3 |
| NOCHECK_CALL | |||
| USER_DATA | 3 | point | 1-u64max[u] |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_timeline_signal_ioctl() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | fence | 7374952732141793280 |
| DATA_SOURCE | 2 | fence | r dma_fence_get_stub |
| NOCHECK_CALL | |||
| USER_DATA | 3 | point | 0-u64max |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_timeline() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | syncobj | 4096-ptr_max |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 2 | fence | 1-u64max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 3 | point | 1-u64max |
| BUF_SIZE | 1 | chain | 184 |
| BUF_SIZE | 2 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 2 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | syncobj | r drm_syncobj_find |
| DATA_SOURCE | 1 | chain | r _kmalloc_noprof |
| DATA_SOURCE | 2 | fence | r __dma_fence_unwrap_merge |
| NOCHECK_CALL | |||
| USER_DATA | 3 | point | 1-u64max[u] |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_pending.counter |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_ioctl() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | syncobj | 4096-ptr_max |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 3 | point | 1-u64max |
| BUF_SIZE | 2 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 2 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 2 | fence | r amdgpu_gem_va_update_vm |
| NOCHECK_CALL | |||
| USER_DATA | 3 | point | 1-u64max[u] |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 2 | fence->num_pending.counter | |
| HALF_LOCKED2 | gobj->resv |
drivers/accel/amdxdna/aie2_ctx.c aie2_cmd_submit() -> drm_syncobj_add_point()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| PARAM_VALUE | 2 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 2 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| BUF_SIZE | 1 | chain | 184 |
| DATA_SOURCE | 1 | chain | r _kmalloc_noprof |
| DATA_SOURCE | 2 | fence | r dma_fence_get |
| NOCHECK_CALL | |||
| LOCK2 | &client->hwctx_srcu | ||
| LOCK2 | &hwctx->priv->io_lock | ||
| LOCK2 | &hwctx->priv->job_sem | ||
| LOCK2 | &xdna->notifier_lock | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_client)->hwctx_srcu | ||
| TYPE_LOCK | (struct amdxdna_dev)->notifier_lock | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->io_lock | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->job_sem |