Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_dtm_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->dtm_context.context.initialized | 1 |
| PARAM_VALUE | 0 | psp->dtm_context.context.mem_context.shared_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | ta_cmd_id | 2-4 |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | context->initialized | 1 |
| PARAM_VALUE | 2 | context->mem_context.shared_buf | 4096-ptr_max |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| HARD_MAX | 1 | ta_cmd_id | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &psp->dtm_context.mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_hdcp_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->hdcp_context.context.initialized | 1 |
| PARAM_VALUE | 1 | ta_cmd_id | 1-7,9,11,14-16,18-19 |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | context->initialized | 1 |
| BUF_SIZE | 0 | psp | 4840,4848 |
| BUF_SIZE | 0 | psp | 4840,4848 |
| BUF_SIZE | 0 | psp->hdcp_context.context.mem_context.shared_buf | (-1),10264 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| HARD_MAX | 1 | ta_cmd_id | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &psp->hdcp_context.mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_rap_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->rap_context.context.initialized | 1 |
| PARAM_VALUE | 0 | psp->rap_context.context.mem_context.shared_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->rap_context.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->rap_context.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->rap_context.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | psp->rap_context.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | psp->rap_context.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->rap_context.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | psp->rap_context.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ta_cmd_id | 1-2 |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | context->initialized | 1 |
| PARAM_VALUE | 2 | context->mem_context.shared_buf | 4096-ptr_max |
| CAPPED_DATA | 0 | &psp->rap_context.mutex | 1 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| LOCK2 | 0 | &psp->rap_context.mutex | |
| TYPE_LOCK | (struct ta_cp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ras_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | psp->ras_context.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| USER_DATA | 1 | ta_cmd_id | 0-u32max |
| HALF_LOCKED2 | &psp->ras_context.mutex | ||
| HALF_LOCKED2 | 0 | &psp->ras_context.mutex | |
| TYPE_LOCK | (struct psp_ras_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_securedisplay_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->securedisplay_context.context.initialized | 1 |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | psp->securedisplay_context.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ta_cmd_id | 1-3 |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | context->initialized | 1 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| HARD_MAX | 1 | ta_cmd_id | 3 |
| LOCK2 | 0 | &psp->securedisplay_context.mutex | |
| TYPE_LOCK | (struct ta_cp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_xgmi_invoke() -> psp_ta_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->xgmi_context.context.mem_context.shared_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | ta_cmd_id | 0-4,11-12 |
| PARAM_VALUE | 2 | context | 4096-ptr_max |
| PARAM_VALUE | 2 | context->mem_context.shared_buf | 4096-ptr_max |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ta_cmd_id | $1 |
| FUZZY_MAX | 1 | ta_cmd_id | 12 |
| HARD_MAX | 1 | ta_cmd_id | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->adev->mman.gtt_mgr.manager.size | 0,4096-4503599626321920[c] |
| HOST_DATA | 0 | psp->adev->mman.vram_mgr.mm.avail | 0-1099511627520[c] |
| HOST_DATA | 0 | psp->adev->mman.vram_mgr.mm.size | 0-1099511627520[c] |
| HOST_DATA | 0 | psp->cmd_buf_mem->cmd.cmd_setup_reg_prog.reg_value | 0-u32max[c] |
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| HALF_LOCKED2 | &hive->hive_lock |