Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_add_hw_queue() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev->vmhub | 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 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 3735325504988753920 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 152 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_detect_and_reset_hung_queues() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->hung_queue_db_array_gpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->saved_flags | 0,2048 |
| PARAM_VALUE | 1 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 8301158416034557952 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 112 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_inv_tlbs_pasid() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 1 |
| PARAM_VALUE | 2 | pkt | 5491559194872090624 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 8 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &vm->eviction_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_map_legacy_queue() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev | 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 | pipe | 0-1 |
| PARAM_VALUE | 2 | pkt | 7513806298726457344 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 152 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| FUZZY_MAX | 1 | pipe | 1 |
| HARD_MAX | 1 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mes->kiq_version | 0-u32max |
| HOST_DATA | 0 | mes->sched_version | 0-u32max |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_misc_op() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev | 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 | pipe | 0-1 |
| PARAM_VALUE | 2 | pkt | 6210359453982973952 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 8 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| FUZZY_MAX | 1 | pipe | 1 |
| HARD_MAX | 1 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mes->kiq_version | 0-u32max |
| HOST_DATA | 0 | mes->sched_version | 0-u32max |
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &adev->enforce_isolation_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_query_sched_status() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pkt | 1378291570834825216 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 8 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| UNITS | 3 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_remove_hw_queue() -> mes_v12_0_submit_pkt_and_poll_completion()
| 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 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 8260363579179151360 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 24 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_reset_hw_queue() -> mes_v12_0_submit_pkt_and_poll_completion()
| 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 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 6738710338463105024 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 112 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_resume_gang() -> mes_v12_0_submit_pkt_and_poll_completion()
| 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 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 788598693726437376 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 16 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_set_hw_resources() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev->enforce_isolation | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->query_status_fence_gpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->sch_ctx_gpu_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | pkt | 4731058208114429952 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 200 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| UNITS | 3 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_set_hw_resources_1() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->resource_1_gpu_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | pkt | 2355966314957873152 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 8 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| DATA_SOURCE | 1 | pipe | $1 |
| UNITS | 3 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_suspend_gang() -> mes_v12_0_submit_pkt_and_poll_completion()
| 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 | pipe | 0 |
| PARAM_VALUE | 2 | pkt | 7366913752590487552 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 32 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_unmap_legacy_queue() -> mes_v12_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev | 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 | pipe | 0-1 |
| PARAM_VALUE | 2 | pkt | 435916622130847744 |
| PARAM_VALUE | 3 | size | 256 |
| PARAM_VALUE | 4 | api_status_off | 24 |
| BUF_SIZE | 2 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| FUZZY_MAX | 1 | pipe | 1 |
| HARD_MAX | 1 | pipe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |