Defined in 2 files as a prototype:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c, line 47 (as a prototype)
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c, line 47 (as a prototype)
Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c, line 159 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c, line 161 (as a function)
Referenced in 8 files:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c, line 47
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v11.c, line 46
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v12.c, line 46
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v12_1.c, line 38
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c, line 46
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c create_queue_cpsch() -> (struct device_queue_manager_asic_ops)->init_sdma_vm()
| 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->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->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->blocked_on | 0 |
| 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->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->total_queue_count | 0-4294967294 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | q->process->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 1 | q->process->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 1 | q->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 1 | q->properties.is_gws | 0 |
| PARAM_VALUE | 1 | q->properties.is_reset | 0 |
| PARAM_VALUE | 1 | q->properties.metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | q->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | q->properties.queue_id | 0-1023 |
| PARAM_VALUE | 1 | q->properties.tba_addr | 0 |
| PARAM_VALUE | 1 | q->properties.tma_addr | 0 |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| PARAM_VALUE | 1 | q->properties.vmid | 0 |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->dqm | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->queue_count | 0-4294967294 |
| PARAM_VALUE | 2 | qpd->queues_list.next | 4096-ptr_max |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| CAPPED_DATA | 1 | q->properties.queue_id | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| DATA_SOURCE | 2 | qpd | $2 |
| CONTAINER | 0 | -16-176+0 | $(-1) |
| BIT_INFO | 1 | q->properties.type | 0x1,0x3 |
| NOSPEC | 1 | q->properties.ctl_stack_size | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | q->properties.ctl_stack_size | 0-u32max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_address | 0-u64max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_size | 0-u32max |
| USER_DATA | 1 | q->properties.format | 0-u32max |
| USER_DATA | 1 | q->properties.metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | q->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | q->properties.priority | 0-u32max |
| USER_DATA | 1 | q->properties.queue_address | 0-u64max |
| USER_DATA | 1 | q->properties.queue_id | 0-1023[c] |
| USER_DATA | 1 | q->properties.queue_percent | 0-u32max |
| USER_DATA | 1 | q->properties.queue_size | 0-u64max |
| USER_DATA | 1 | q->properties.sdma_engine_id | 0-u32max |
| USER_DATA | 1 | q->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 1 | q->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c create_queue_nocpsch() -> (struct device_queue_manager_asic_ops)->init_sdma_vm()
| 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->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.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->mqd_mgrs | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->total_queue_count | 0-4294967294 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | q->process->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 1 | q->process->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 1 | q->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 1 | q->properties.is_gws | 0 |
| PARAM_VALUE | 1 | q->properties.is_reset | 0 |
| PARAM_VALUE | 1 | q->properties.metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | q->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | q->properties.queue_id | 0-1023 |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| PARAM_VALUE | 2 | qpd | 4096-ptr_max |
| PARAM_VALUE | 2 | qpd->queue_count | 0-4294967294 |
| PARAM_VALUE | 2 | qpd->queues_list.next | 4096-ptr_max |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| CAPPED_DATA | 2 | &qpd->queues_list | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| DATA_SOURCE | 2 | qpd | $2 |
| CONTAINER | 0 | -16-176+0 | $(-1) |
| NOSPEC | 1 | q->properties.ctl_stack_size | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | q->properties.ctl_stack_size | 0-u32max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_address | 0-u64max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_size | 0-u32max |
| USER_DATA | 1 | q->properties.format | 0-u32max |
| USER_DATA | 1 | q->properties.metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | q->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | q->properties.priority | 0-u32max |
| USER_DATA | 1 | q->properties.queue_address | 0-u64max |
| USER_DATA | 1 | q->properties.queue_id | 0-1023 |
| USER_DATA | 1 | q->properties.queue_percent | 0-u32max |
| USER_DATA | 1 | q->properties.queue_size | 0-u64max |
| USER_DATA | 1 | q->properties.sdma_engine_id | 0-u32max |
| USER_DATA | 1 | q->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 1 | q->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |