Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_map() -> (struct amdgpu_mes_funcs)->add_hw_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->mutex_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mes->mutex_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mes->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | input | 5394143864480735232 |
| PARAM_VALUE | 1 | input->gang_global_priority_level | 0-3 |
| PARAM_VALUE | 1 | input->gang_quantum | 10000 |
| PARAM_VALUE | 1 | input->inprocess_gang_priority | 1 |
| PARAM_VALUE | 1 | input->paging | 0 |
| PARAM_VALUE | 1 | input->process_quantum | 100000 |
| PARAM_VALUE | 1 | input->process_va_start | 0 |
| PARAM_VALUE | 1 | input->queue_size | 0-1073741823 |
| CONTAINER | 0 | -0-24120+0 | $(-1) |
| MEM_ZERO | 1 | input | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | input->queue_size | 0-1073741823 |
| USER_DATA | 1 | input->queue_type | 0-2[u] |
| USER_DATA | 1 | input->wptr_addr | 0-u64max[u] |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c add_queue_mes() -> (struct amdgpu_mes_funcs)->add_hw_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->mutex_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mes->mutex_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mes->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | input | 46816109874089984 |
| PARAM_VALUE | 1 | input->exclusively_scheduled | 0-1 |
| PARAM_VALUE | 1 | input->gang_global_priority_level | 1 |
| PARAM_VALUE | 1 | input->gang_quantum | 10000 |
| PARAM_VALUE | 1 | input->is_aql_queue | 0-1 |
| PARAM_VALUE | 1 | input->is_kfd_process | 1 |
| PARAM_VALUE | 1 | input->paging | 0 |
| PARAM_VALUE | 1 | input->process_quantum | 100000 |
| PARAM_VALUE | 1 | input->process_va_start | 0 |
| PARAM_VALUE | 1 | input->queue_type | 1-2 |
| PARAM_VALUE | 1 | input->skip_process_ctx_clear | 0-1 |
| PARAM_VALUE | 1 | input->trap_en | 0-1 |
| CONTAINER | 0 | -0-24120+0 | $(-1) |
| MEM_ZERO | 1 | input | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | input->inprocess_gang_priority | 0-u32max |
| USER_DATA | 1 | input->is_aql_queue | 0[c] |
| USER_DATA | 1 | input->queue_size | 0-u32max |
| LOCK2 | &adev->mes.mutex_hidden | ||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |