Defined in 1 files as a member:
Defined in 7 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c, line 159 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c, line 155 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c, line 194 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c, line 169 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c, line 225 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c, line 245 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c, line 162 (as a function)
Referenced in 9 files:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c, line 146
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_kernel_queue.c kq_initialize() -> (struct mqd_manager)->load_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pipe_id | 4 |
| PARAM_VALUE | 3 | queue_id | 0 |
| PARAM_VALUE | 4 | p | 4096-ptr_max |
| PARAM_VALUE | 4 | p->cwsr_bo | 0 |
| PARAM_VALUE | 4 | p->exception_status | 0,1073741824 |
| PARAM_VALUE | 4 | p->is_gws | 0 |
| PARAM_VALUE | 4 | p->is_interop | 0 |
| PARAM_VALUE | 4 | p->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 4 | p->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 4 | p->queue_id | 0-1023 |
| PARAM_VALUE | 4 | p->ring_bo | 0 |
| PARAM_VALUE | 4 | p->rptr_bo | 0 |
| PARAM_VALUE | 4 | p->type | 0-4 |
| PARAM_VALUE | 4 | p->vmid | 0 |
| PARAM_VALUE | 4 | p->wptr_bo | 0 |
| PARAM_VALUE | 5 | mms | 0 |
| CONTAINER | 0 | *(-16+0) | $(-1) |
| CONTAINER | 1 | *(-16-8+16+16) | $(-1) |
| CONTAINER | 2 | *(-16-8+252+16) | $(-1) |
| CONTAINER | 3 | *(-16-8+256+16) | $(-1) |
| CONTAINER | 4 | -16-8+40+16 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c create_queue_nocpsch() -> (struct mqd_manager)->load_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 4 | p | 4096-ptr_max |
| PARAM_VALUE | 4 | p->exception_status | 0,1073741824 |
| PARAM_VALUE | 4 | p->is_active | 1 |
| PARAM_VALUE | 4 | p->is_gws | 0 |
| PARAM_VALUE | 4 | p->is_reset | 0 |
| PARAM_VALUE | 4 | p->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 4 | p->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 4 | p->queue_id | 0-1023 |
| PARAM_VALUE | 4 | p->type | 0-4 |
| CONTAINER | 0 | -16+0 | $(-1) |
| NOSPEC | 4 | p->ctl_stack_size | |
| NOSPEC | 4 | p->queue_id | |
| USER_DATA | 4 | p->ctl_stack_size | 0-u32max |
| USER_DATA | 4 | p->ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 4 | p->ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 4 | p->eop_ring_buffer_address | 0-u64max |
| USER_DATA | 4 | p->eop_ring_buffer_size | 0-u32max |
| USER_DATA | 4 | p->format | 0-u32max |
| USER_DATA | 4 | p->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 4 | p->pm4_target_xcc | 0-255[c] |
| USER_DATA | 4 | p->priority | 0-u32max |
| USER_DATA | 4 | p->queue_address | 0-u64max |
| USER_DATA | 4 | p->queue_id | 0-1023[c] |
| USER_DATA | 4 | p->queue_percent | 0-u32max |
| USER_DATA | 4 | p->queue_size | 0-u64max |
| USER_DATA | 4 | p->sdma_engine_id | 0-u32max |
| USER_DATA | 4 | p->sdma_queue_id | 0-s32max[c] |
| USER_DATA | 4 | p->type | 0,2,4 |
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| 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 restore_process_queues_nocpsch() -> (struct mqd_manager)->load_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 4 | p | 4096-ptr_max |
| PARAM_VALUE | 4 | p->is_active | 1 |
| PARAM_VALUE | 4 | p->is_evicted | 0 |
| PARAM_VALUE | 5 | mms | 4096-ptr_max |
| DATA_SOURCE | 5 | mms | r get_task_mm |
| CONTAINER | 0 | -16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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 update_queue() -> (struct mqd_manager)->load_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 4 | p | 4096-ptr_max |
| PARAM_VALUE | 4 | p->is_active | 1 |
| PARAM_VALUE | 4 | p->type | 0-1,3 |
| CONTAINER | 0 | -16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | p->pm4_target_xcc | 0-255[c] |
| USER_DATA | 4 | p->priority | 0-15[u] |
| USER_DATA | 4 | p->queue_address | 0-u64max[c] |
| USER_DATA | 4 | p->queue_size | 1024-u32max[u] |
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |