Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager.c pm_create_runlist_ib() -> pm_release_ib()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->allocated | 1 |
| PARAM_VALUE | 0 | pm->dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pm->dqm->processes_count | 0-s32max |
| PARAM_VALUE | 0 | pm->ib_buffer_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->ib_buffer_obj->range_end | 0-64 |
| PARAM_VALUE | 0 | pm->ib_buffer_obj->range_start | 0-64 |
| PARAM_VALUE | 0 | pm->ib_size_bytes | 1-u32max |
| PARAM_VALUE | 0 | pm->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pm->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pm->pmf->map_process_size | 64,84 |
| PARAM_VALUE | 0 | pm->pmf->map_queues_size | 28 |
| CAPPED_DATA | 0 | pm->dqm->active_cp_queue_count | 1 |
| CAPPED_DATA | 0 | pm->dqm->processes_count | 1 |
| DATA_SOURCE | 0 | pm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->dev->adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager.c pm_send_runlist() -> pm_release_ib()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pm->dqm->dev->kfd->gtt_sa_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->ib_buffer_obj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pm->ib_buffer_obj->range_end | 0-64 |
| PARAM_VALUE | 0 | pm->ib_buffer_obj->range_start | 0-64 |
| PARAM_VALUE | 0 | pm->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pm->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pm->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pm->pmf | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->pmf->map_process_size | 64,84 |
| PARAM_VALUE | 0 | pm->pmf->map_queues_size | 28 |
| PARAM_VALUE | 0 | pm->priv_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue->rptr_kernel | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue->wptr_kernel | 4096-ptr_max |
| CAPPED_DATA | 0 | &pm->lock | 1 |
| DATA_SOURCE | 0 | pm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->dev->adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &target->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c stop_cpsch() -> pm_release_ib()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c unmap_queues_cpsch() -> pm_release_ib()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pm->pmf | 4096-ptr_max |
| PARAM_VALUE | 0 | pm->priv_queue | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqm->dev->adev->reset_domain->sem | ||
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &dqm->dev->adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &target->mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |