Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c, line 440
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c, line 358
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c, line 279
- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c, line 2016
- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c, line 1831
Smatch caller information:
2424e8ec9bf51854 gfx_v12_0_kiq_unmap_queues() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_mes | 1 |
| PARAM_VALUE | 0 | adev->gfx.kiq | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 0-1,3 |
| PARAM_VALUE | 5 | xcc_id | 0 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring->funcs | (-1),328 |
| DATA_SOURCE | 1 | ring | $1 |
| DATA_SOURCE | 2 | action | $2 |
| DATA_SOURCE | 3 | gpu_addr | $3 |
| DATA_SOURCE | 4 | seq | $4 |
| HARD_MAX | 2 | action | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
28ad57647bf6154f gfx11_kiq_unmap_queues() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_mes | 1 |
| PARAM_VALUE | 0 | adev->gfx.kiq | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 0-1,3 |
| PARAM_VALUE | 5 | xcc_id | 0 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring->funcs | (-1),328 |
| DATA_SOURCE | 1 | ring | $1 |
| DATA_SOURCE | 2 | action | $2 |
| DATA_SOURCE | 3 | gpu_addr | $3 |
| DATA_SOURCE | 4 | seq | $4 |
| HARD_MAX | 2 | action | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c mes_v12_1_kiq_hw_fini() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_uni_mes | 1 |
| PARAM_VALUE | 0 | adev->mes.ring | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->no_hw_access | 0 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 1 |
| PARAM_VALUE | 3 | gpu_addr | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 5 | xcc_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
3d756af95eb3bd31 gfx_v12_1_kiq_unmap_queues() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_mes | 1 |
| PARAM_VALUE | 0 | adev->gfx.kiq | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 0-1,3 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring | (-1),1360 |
| BUF_SIZE | 1 | ring->funcs | (-1),328 |
| DATA_SOURCE | 1 | ring | $1 |
| DATA_SOURCE | 2 | action | $2 |
| DATA_SOURCE | 3 | gpu_addr | $3 |
| DATA_SOURCE | 4 | seq | $4 |
| HARD_MAX | 2 | action | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_kiq_hw_fini() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_uni_mes | 1 |
| PARAM_VALUE | 0 | adev->mes.ring | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->no_hw_access | 0 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 1 |
| PARAM_VALUE | 3 | gpu_addr | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| PARAM_VALUE | 5 | xcc_id | 0 |
| BUF_SIZE | 1 | ring | 20224 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_disable_kcq() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_mes | 1 |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.kiq | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.num_compute_rings | 1-u32max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mes.funcs->unmap_legacy_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 1 |
| PARAM_VALUE | 3 | gpu_addr | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 5 | xcc_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_disable_kgq() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->enable_mes | 1 |
| PARAM_VALUE | 0 | adev->gfx.gfx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.idle_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.kiq | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.num_gfx_rings | 1-u32max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | adev->mes.funcs->unmap_legacy_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->no_hw_access | 0 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 0 |
| PARAM_VALUE | 3 | gpu_addr | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| PARAM_VALUE | 5 | xcc_id | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 5 | xcc_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_mes_reset_queue_start() -> amdgpu_mes_unmap_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->mes.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | ring->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | ring->adev->mes.saved_flags | 0,2048 |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->mqd_obj | 0,4096-ptr_max |
| PARAM_VALUE | 2 | action | 1 |
| PARAM_VALUE | 3 | gpu_addr | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| PARAM_VALUE | 5 | xcc_id | 0 |
| DATA_SOURCE | 1 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |