Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_add_hw_queue() -> mes_v11_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->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 | pkt | 344083131982942208 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 152 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_detect_and_reset_hung_queues() -> mes_v11_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 | pkt | 2572039453721415680 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 112 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_map_legacy_queue() -> mes_v11_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 | pkt | 7903701929662586880 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 152 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mes->kiq_version | 0-u32max |
| HOST_DATA | 0 | mes->sched_version | 0-u32max |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_misc_op() -> mes_v11_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 | pkt | 5394157019227176960 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 8 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mes->kiq_version | 0-u32max |
| HOST_DATA | 0 | mes->sched_version | 0-u32max |
| UNITS | 2 | 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_v11_0.c mes_v11_0_query_ctx_array_sizes() -> mes_v11_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mes | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->ctx_array_size_cpu_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->ring | 4096-ptr_max |
| PARAM_VALUE | 1 | pkt | 6888433960242212864 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 8 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_query_sched_status() -> mes_v11_0_submit_pkt_and_poll_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkt | 3780832539642908672 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 8 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_remove_hw_queue() -> mes_v11_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 | pkt | 2772911022992404480 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 24 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_reset_hw_queue() -> mes_v11_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 | pkt | 5328877128318193664 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 112 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_resume_gang() -> mes_v11_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 | pkt | 1982596350414643200 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 16 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_set_hw_resources() -> mes_v11_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->adev->enforce_isolation | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->adev->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->aggregated_doorbells | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->compute_hqd_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | mes->gfx_hqd_mask | 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 | 0 | mes->sdma_hqd_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | pkt | 5694255058260176896 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 200 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_set_hw_resources_1() -> mes_v11_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->resource_1_gpu_addr | 4096-ptr_max |
| PARAM_VALUE | 1 | pkt | 7269138642941038592 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 8 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_suspend_gang() -> mes_v11_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 | pkt | 2896265306181799936 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 32 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | 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_v11_0.c mes_v11_0_unmap_legacy_queue() -> mes_v11_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 | pkt | 8924966167321997312 |
| PARAM_VALUE | 2 | size | 256 |
| PARAM_VALUE | 3 | api_status_off | 24 |
| BUF_SIZE | 1 | pkt | 256 |
| DATA_SOURCE | 0 | mes | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| TYPE_LOCK | (struct amdgpu_mes)->mutex_hidden |