Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c, line 145
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 267
- drivers/gpu/drm/amd/amdgpu/mes_userqueue.c, line 74
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_create_wptr_mapping() -> amdgpu_evf_mgr_attach_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evf_mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo->tbo.base.size | 0-4096 |
| DATA_SOURCE | 1 | bo | r amdgpu_bo_ref |
| FUZZY_MAX | 1 | bo->tbo.base.size | 4096 |
| HARD_MAX | 1 | bo->tbo.base.size | 4096 |
| LOCK2 | obj->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_evf_mgr_rearm() -> amdgpu_evf_mgr_attach_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evf_mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->error | 0 |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->flags | 1,3,5,7 |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->ops | 5943217009927733248 |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | evf_mgr->ev_fence->seqno | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | evf_mgr->ev_fence | 128 |
| CAPPED_DATA | 0 | evf_mgr->ev_fence | 1 |
| DATA_SOURCE | 0 | evf_mgr | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_open() -> amdgpu_evf_mgr_attach_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evf_mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo->tbo.base.funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo->vm_bo->vm->stats_lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &obj->dev->object_name_lock |