Defined in 7 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c, line 142 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c, line 356 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c, line 426 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c, line 305 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c, line 380 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c, line 512 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c, line 352 (as a function)
Referenced in 7 files:
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c, line 444
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c, line 524
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c, line 569
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c, line 448
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c, line 709
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c, line 1070
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c, line 515
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_kernel_queue.c kq_initialize() -> (struct mqd_manager)->init_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd | 4096-ptr_max |
| PARAM_VALUE | 2 | mqd_mem_obj | 4096-ptr_max |
| PARAM_VALUE | 3 | gart_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | q | 4096-ptr_max |
| PARAM_VALUE | 4 | q->cwsr_bo | 0 |
| PARAM_VALUE | 4 | q->exception_status | 0,1073741824 |
| PARAM_VALUE | 4 | q->is_gws | 0 |
| PARAM_VALUE | 4 | q->is_interop | 0 |
| PARAM_VALUE | 4 | q->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 4 | q->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 4 | q->queue_id | 0-1023 |
| PARAM_VALUE | 4 | q->ring_bo | 0 |
| PARAM_VALUE | 4 | q->rptr_bo | 0 |
| PARAM_VALUE | 4 | q->type | 0-4 |
| PARAM_VALUE | 4 | q->vmid | 0 |
| PARAM_VALUE | 4 | q->wptr_bo | 0 |
| CONTAINER | 0 | *(-8+0) | $(-1) |
| CONTAINER | 1 | -8-8+16+16 | $(-1) |
| CONTAINER | 2 | *(-8-8+24+16) | $(-1) |
| CONTAINER | 3 | -8-8+32+16 | $(-1) |
| CONTAINER | 4 | -8-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_cpsch() -> (struct mqd_manager)->init_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd | 4096-ptr_max |
| PARAM_VALUE | 2 | mqd_mem_obj | 4096-ptr_max |
| PARAM_VALUE | 3 | gart_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | q | 4096-ptr_max |
| PARAM_VALUE | 4 | q->exception_status | 0,1073741824 |
| PARAM_VALUE | 4 | q->is_gws | 0 |
| PARAM_VALUE | 4 | q->is_reset | 0 |
| PARAM_VALUE | 4 | q->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 4 | q->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 4 | q->queue_id | 0-1023 |
| PARAM_VALUE | 4 | q->type | 0-3 |
| PARAM_VALUE | 4 | q->vmid | 0 |
| CONTAINER | 0 | -8+0 | $(-1) |
| NOSPEC | 4 | q->ctl_stack_size | |
| NOSPEC | 4 | q->queue_id | |
| NOCHECK_CALL | |||
| USER_DATA | 4 | q->ctl_stack_size | 0-u32max |
| USER_DATA | 4 | q->ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 4 | q->ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 4 | q->eop_ring_buffer_address | 0-u64max |
| USER_DATA | 4 | q->eop_ring_buffer_size | 0-u32max |
| USER_DATA | 4 | q->format | 0-u32max |
| USER_DATA | 4 | q->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 4 | q->pm4_target_xcc | 0-255[c] |
| USER_DATA | 4 | q->priority | 0-u32max |
| USER_DATA | 4 | q->queue_address | 0-u64max |
| USER_DATA | 4 | q->queue_id | 0-1023[c] |
| USER_DATA | 4 | q->queue_percent | 0-u32max |
| USER_DATA | 4 | q->queue_size | 0-u64max |
| USER_DATA | 4 | q->sdma_engine_id | 0-u32max |
| USER_DATA | 4 | q->sdma_queue_id | 0-s32max[c] |
| USER_DATA | 4 | q->type | 0,2 |
| 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 create_queue_nocpsch() -> (struct mqd_manager)->init_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd | 4096-ptr_max |
| PARAM_VALUE | 2 | mqd_mem_obj | 4096-ptr_max |
| PARAM_VALUE | 3 | gart_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | q | 4096-ptr_max |
| PARAM_VALUE | 4 | q->exception_status | 0,1073741824 |
| PARAM_VALUE | 4 | q->is_gws | 0 |
| PARAM_VALUE | 4 | q->is_reset | 0 |
| PARAM_VALUE | 4 | q->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 4 | q->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 4 | q->queue_id | 0-1023 |
| PARAM_VALUE | 4 | q->type | 0-4 |
| CONTAINER | 0 | -8+0 | $(-1) |
| NOSPEC | 4 | q->ctl_stack_size | |
| NOSPEC | 4 | q->queue_id | |
| NOCHECK_CALL | |||
| USER_DATA | 4 | q->ctl_stack_size | 0-u32max |
| USER_DATA | 4 | q->ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 4 | q->ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 4 | q->eop_ring_buffer_address | 0-u64max |
| USER_DATA | 4 | q->eop_ring_buffer_size | 0-u32max |
| USER_DATA | 4 | q->format | 0-u32max |
| USER_DATA | 4 | q->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 4 | q->pm4_target_xcc | 0-255[c] |
| USER_DATA | 4 | q->priority | 0-u32max |
| USER_DATA | 4 | q->queue_address | 0-u64max |
| USER_DATA | 4 | q->queue_id | 0-1023[c] |
| USER_DATA | 4 | q->queue_percent | 0-u32max |
| USER_DATA | 4 | q->queue_size | 0-u64max |
| USER_DATA | 4 | q->sdma_engine_id | 0-u32max |
| USER_DATA | 4 | q->sdma_queue_id | 0-s32max[c] |
| USER_DATA | 4 | q->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 |