Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c destroy_queue_cpsch() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->dev->kfd2kgd->hqd_sdma_get_counter | 0,8119819425731366912 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dqm->mqd_mgrs | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->packet_mgr->ib_buffer_obj->cpu_ptr | 0-u32max |
| PARAM_VALUE | 0 | dqm->packet_mgr.dqm->dev->kfd->gtt_sa_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->packet_mgr.dqm->dev->kfd->gtt_sa_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dqm->packet_mgr.dqm->dev->kfd->gtt_sa_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dqm->packet_mgr.dqm->dev->kfd->gtt_sa_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->packet_mgr.ib_buffer_obj->cpu_ptr | 0 |
| PARAM_VALUE | 0 | dqm->packet_mgr.ib_buffer_obj->gpu_addr | 0 |
| PARAM_VALUE | 0 | dqm->packet_mgr.ib_buffer_obj->mem | 0 |
| PARAM_VALUE | 0 | dqm->packet_mgr.ib_buffer_obj->range_end | 0-64 |
| PARAM_VALUE | 0 | dqm->packet_mgr.ib_buffer_obj->range_start | 0-64 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dqm->packet_mgr.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device->dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.cwsr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.eop_buf_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.is_active | 0 |
| PARAM_VALUE | 1 | q->properties.ring_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.rptr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.wptr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->is_debug | 0 |
| PARAM_VALUE | 2 | qpd->mapped_gws_queue | 0 |
| CAPPED_DATA | 1 | q->device | 1 |
| CAPPED_DATA | 1 | q->process->n_pdds | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $2 |
| DATA_SOURCE | 2 | qpd | $1 |
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c evict_process_queues_cpsch() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.is_active | 0 |
| PARAM_VALUE | 1 | q->properties.is_evicted | 1 |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->evicted | 1 |
| CAPPED_DATA | 0 | dqm->dev | 1 |
| CAPPED_DATA | 2 | &qpd->queues_list | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 2 | qpd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dqm->lock_hidden | |
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c process_termination_cpsch() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.is_active | 1 |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| CAPPED_DATA | 0 | dqm->dev | 1 |
| CAPPED_DATA | 2 | &qpd->priv_queue_list | 1 |
| CAPPED_DATA | 2 | &qpd->queues_list | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 2 | qpd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dqm->lock_hidden | |
| HALF_LOCKED2 | global &srcu | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c remove_all_kfd_queues_mes() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->config_dequeue_wait_counts | 0,6237321825388060672 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->config_dequeue_wait_counts_size | 0,20 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->map_process | 4835145893302464512,4988202128237047808,6402545163349889024 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->map_process_size | 64,84 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->map_queues | 2809169266525949952,3777663538193334272 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->map_queues_size | 28 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->query_status | 4911077022648942592,7079740379078197248 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->query_status_size | 28 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->release_mem | 0,7975742670733651968 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->release_mem_size | 0,28 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->runlist | 5447334817451048960,6399464136469876736 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->runlist_size | 16 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->set_resources | 4693554422575738880,7734836186155761664 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->set_resources_size | 32 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->unmap_queues | 1406635404738904064,2159158752007307264 |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->unmap_queues_size | 24 |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->sched_running | 1 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.is_active | 1 |
| CAPPED_DATA | 0 | dqm->dev | 1 |
| CAPPED_DATA | 0 | &dqm->queues | 1 |
| CAPPED_DATA | 2 | &qpd->queues_list | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| HOST_DATA | 0 | dqm->wait_times | 0-u32max |
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c suspend_single_queue() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.is_active | 1 |
| PARAM_VALUE | 1 | q->properties.is_being_destroyed | 0 |
| PARAM_VALUE | 1 | q->properties.is_suspended | 1 |
| PARAM_VALUE | 1 | q->properties.queue_id | 0-s32max |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| CAPPED_DATA | 1 | q->properties.queue_id | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $2 |
| LOCK2 | &p->event_mutex | ||
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->event_mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c update_queue() -> remove_queue_mes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->shared_resources.enable_mes | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->mqd_mgrs | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->packet_mgr.pmf->unmap_queues_size | 24 |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->sched_policy | s32min-1,3-s32max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device->dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device->dqm->packet_mgr.pmf->unmap_queues_size | 24 |
| PARAM_VALUE | 1 | q->process | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | q->properties.is_active | 1 |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| CAPPED_DATA | 1 | q->device | 1 |
| CAPPED_DATA | 1 | q->process->n_pdds | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | q->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | q->properties.priority | 0-15[u] |
| USER_DATA | 1 | q->properties.queue_address | 0-u64max[c] |
| USER_DATA | 1 | q->properties.queue_size | 1024-u32max[u] |
| LOCK2 | 0 | &dqm->lock_hidden | |
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |