Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_reset_queue() -> amdgpu_userq_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | userq | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->doorbell_index | 0-u32max |
| PARAM_VALUE | 0 | userq->queue_type | 0-7 |
| PARAM_VALUE | 0 | userq->state | 3 |
| PARAM_VALUE | 0 | userq->userq_mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.funcs->remove_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.saved_flags | 0,2048 |
| CAPPED_DATA | 0 | userq->doorbell_index | 1 |
| CAPPED_DATA | 0 | userq->queue_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_hang_detect_work() -> amdgpu_userq_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | userq | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->queue_type | 0-2 |
| PARAM_VALUE | 0 | userq->userq_mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.mutex_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->mes.saved_flags | 0,2048 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | userq->userq_mgr->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | userq->vm | 0,4096-ptr_max |
| CAPPED_DATA | 0 | userq | 1 |
| BIT_INFO | 0 | userq->queue_type | 0x0,0xf |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_pre_reset() -> amdgpu_userq_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | userq | 4096-ptr_max |
| PARAM_VALUE | 0 | userq->state | 0,2-u32max |
| FUZZY_MAX | 0 | userq->state | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |