Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c ta_if_load_debugfs_write() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ta_funcs | 8902418124512165888 |
| PARAM_VALUE | 0 | psp->ta_funcs->fn_ta_initialize | 7965889238484389888 |
| PARAM_VALUE | 0 | psp->ta_funcs->fn_ta_invoke | 8854155054293012480 |
| PARAM_VALUE | 0 | psp->ta_funcs->fn_ta_terminate | 3355142997158596608 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| BUF_SIZE | 0 | psp | 4848 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_dtm_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->asic_type | 0-3,5-9,11-u32max |
| PARAM_VALUE | 0 | psp->dtm_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->dtm_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->dtm_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->dtm_context.context.ta_load_type | 1 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_hdcp_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->asic_type | 0-3,5-9,11-u32max |
| PARAM_VALUE | 0 | psp->hdcp_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->hdcp_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->hdcp_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->hdcp_context.context.ta_load_type | 1 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_rap_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->rap_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->rap_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->rap_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->rap_context.context.ta_load_type | 1 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ras_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->ras_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->ras_context.context.ta_load_type | 1 |
| PARAM_VALUE | 0 | psp->ta_funcs | 8902418124512165888 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_securedisplay_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->asic_type | 0-3,5-9,11-u32max |
| PARAM_VALUE | 0 | psp->securedisplay_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->securedisplay_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->securedisplay_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->securedisplay_context.context.ta_load_type | 1 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_xgmi_initialize() -> psp_ta_init_shared_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->ta_fw | 1-u64max |
| PARAM_VALUE | 0 | psp->xgmi_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->xgmi_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 0 | psp->xgmi_context.context.mem_context.shared_mem_size | 16384 |
| PARAM_VALUE | 0 | psp->xgmi_context.context.ta_load_type | 1 |
| PARAM_VALUE | 1 | mem_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_ctx->shared_buf | 0 |
| PARAM_VALUE | 1 | mem_ctx->shared_mem_size | 16384 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |