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_boot_config_get() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 2 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 34 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->ras_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->ras_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 2 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 34 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_boot_config_set() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config_valid | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 34 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->ras_context.context.bin_desc.size_bytes | 1-u32max |
| PARAM_VALUE | 0 | psp->ras_context.context.bin_desc.start_addr | 1-u64max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 1 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 34 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_config_sq_perfmon() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.config_sq_perfmon.core_override | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.config_sq_perfmon.perfmon_override | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.config_sq_perfmon.reg_override | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 70 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.core_override | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.perfmon_override | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd_id | 70 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| POWER_OF_TWO | 2 | cmd->cmd.config_sq_perfmon | |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_execute_ip_fw_load() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | psp->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | psp->adev->ddev.anon_inode->i_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->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 | psp->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 | 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 1-16,18,20-23,25-29,33-34,48-58,62,65-66,68-69,71-73,76-79,81-85,87-102,128-129 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 6 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_dbg_drv | 0,2465237630769131520,3397600854310572032,6710026658707533824 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_intf_drv | 0,893651119209353216,3441620918934929408,4995333456089366528 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ipkeymgr_drv | 0,920095719846940672 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_kdb | 0,2792345310007861248,6451911401701834752,8794356246076211200,9043524584978911232 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ras_drv | 0,4681337037008044032,8126813935377756160 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_soc_drv | 0,3337099692364759040,5300821424090451968,6732923516025434112 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sos | 0,1040494957260591104,1637566750523367424,4806946119810498560,6459812653648613376,7858323642333913088,8984455442092228608 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spdm_drv | 0,4428223074578829312 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spl | 0,1090628093507633152,4027073469825003520,6759431206230638592,7078441006602444800 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sysdrv | 0,1847048533432950784,3628286508802412544,4250887232983580672,4777983195084800000,6349031031274954752,9123753257111609344 |
| PARAM_VALUE | 1 | ucode | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_hi | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_lo | 0 |
| PARAM_VALUE | 1 | ucode->ucode_id | 0-50,52-72 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 1-16,18,20-23,25-29,33-34,48-58,62,65-66,68-69,71-73,76-79,81-85,87-102,128-129 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 6 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 1 | ucode | (-1),144,1008 |
| BUF_SIZE | 1 | ucode | (-1),144,1008 |
| DATA_SOURCE | 0 | psp | $0 |
| DATA_SOURCE | 1 | ucode | $1 |
| FUZZY_MAX | 1 | ucode->ucode_id | 52 |
| 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 |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_get_fw_attestation_records_addr() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 15 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 15 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_get_fw_reservation_info() -> psp_cmd_submit_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->in_suspend | 0 |
| PARAM_VALUE | 0 | psp->adev->mode_info.atom_context->io_mode | s32min-s32max |
| PARAM_VALUE | 0 | psp->adev->psp.sos.fw_version | 3804692-u32max |
| PARAM_VALUE | 0 | psp->adev->reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.dep_map->name | 0-255 |
| 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->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 80-81 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_dbg_drv | 0,2465237630769131520,3397600854310572032,6710026658707533824 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_intf_drv | 0,893651119209353216,3441620918934929408,4995333456089366528 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ipkeymgr_drv | 0,920095719846940672 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_kdb | 0,2792345310007861248,6451911401701834752,8794356246076211200,9043524584978911232 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ras_drv | 0,4681337037008044032,8126813935377756160 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_soc_drv | 0,3337099692364759040,5300821424090451968,6732923516025434112 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sos | 0,1040494957260591104,1637566750523367424,4806946119810498560,6459812653648613376,7858323642333913088,8984455442092228608 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spdm_drv | 0,4428223074578829312 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spl | 0,1090628093507633152,4027073469825003520,6759431206230638592,7078441006602444800 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sysdrv | 0,1847048533432950784,3628286508802412544,4250887232983580672,4777983195084800000,6349031031274954752,9123753257111609344 |
| PARAM_VALUE | 0 | psp->km_ring.ring_size | 0,4096 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 80-81 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| FUZZY_MAX | 0 | psp->adev->psp.sos.fw_version | 3870221 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| LOCK2 | &adev->firmware.mutex | ||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct amdgpu_firmware)->mutex | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_load_toc() -> psp_cmd_submit_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->mode_info.atom_context->io_mode | s32min-s32max |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.ras->eeprom_control.ras_info_offset | 20 |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.ras->eeprom_control.ras_max_record_count | 10911,10921 |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.ras->eeprom_control.ras_record_offset | 20,276 |
| PARAM_VALUE | 0 | psp->adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported | 1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.dep_map->name | 0-255 |
| 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 32 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_dbg_drv | 0,2465237630769131520,3397600854310572032,6710026658707533824 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_intf_drv | 0,893651119209353216,3441620918934929408,4995333456089366528 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ipkeymgr_drv | 0,920095719846940672 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_kdb | 0,2792345310007861248,6451911401701834752,8794356246076211200,9043524584978911232 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ras_drv | 0,4681337037008044032,8126813935377756160 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_soc_drv | 0,3337099692364759040,5300821424090451968,6732923516025434112 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sos | 0,1040494957260591104,1637566750523367424,4806946119810498560,6459812653648613376,7858323642333913088,8984455442092228608 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spdm_drv | 0,4428223074578829312 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spl | 0,1090628093507633152,4027073469825003520,6759431206230638592,7078441006602444800 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sysdrv | 0,1847048533432950784,3628286508802412544,4250887232983580672,4777983195084800000,6349031031274954752,9123753257111609344 |
| PARAM_VALUE | 0 | psp->fw_pri_buf | 1-u64max |
| PARAM_VALUE | 0 | psp->km_ring.ring_size | 0,4096 |
| PARAM_VALUE | 0 | psp->toc.size_bytes | 1-1048576 |
| PARAM_VALUE | 0 | psp->toc.start_addr | 1-u64max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 1-1048576 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 32 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| 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 |
| LOCK2 | &adev->firmware.mutex | ||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct amdgpu_firmware)->mutex | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_memory_partition() -> psp_cmd_submit_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->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 72 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 1-u64max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 72 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| HALF_LOCKED2 | &hive->hive_lock | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ptl_invoke() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0-1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 2684354560-2684354561 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 76 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0-1 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 2684354560-2684354561 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 76 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_reg_program() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 11 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0-25 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 11 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0-u32max[c] |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_rl_load() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 1-1048576 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 67 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 6 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->rl.size_bytes | 1-1048576 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 1-1048576 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 67 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 6 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_rlc_autoload_start() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 33 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 33 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_set_mmhub_eco_sec_level() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 93 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 93 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_spatial_partition() -> psp_cmd_submit_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->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | psp->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0-16 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 39 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 1-u64max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0-16 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 39 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ta_invoke() -> psp_cmd_submit_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 3 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 3 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | (-1),4840,4848 |
| BUF_SIZE | 0 | psp | (-1),4840,4848 |
| DATA_SOURCE | 0 | psp | $0 |
| 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.gtt_mgr.mm.head_node.size | 0-u64max |
| HOST_DATA | 0 | psp->adev->mman.preempt_mgr.size | 1073741824[c] |
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| USER_DATA | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | psp->cmd_buf_mem->cmd.cmd_setup_tmr.buf_size | |
| NO_OVERFLOW_SIMPLE | 0 | psp->xgmi_context.context.mem_context.shared_bo->tbo.resource->size | |
| LOCK2 | 0 | &psp->mutex | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &psp->dtm_context.mutex | |
| HALF_LOCKED2 | 0 | &psp->hdcp_context.mutex | |
| HALF_LOCKED2 | 0 | &psp->rap_context.mutex | |
| HALF_LOCKED2 | 0 | &psp->ras_context.mutex | |
| HALF_LOCKED2 | 0 | &psp->securedisplay_context.mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ta_load() -> psp_cmd_submit_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->gmc.gmc_funcs->query_mem_partition_mode | 0,8159999353309208576 |
| 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 1-1048576 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0,16384 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 1,4 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_ta_unload() -> psp_cmd_submit_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->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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 2 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 2 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_tmr_load() -> psp_cmd_submit_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->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | psp->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | psp->adev->ddev.anon_inode->i_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->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 |
| 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->mman.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.dep_map->name | 0-255 |
| 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.bitfield.virt_phy_addr | 1 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 5,9 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 0 | psp->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_dbg_drv | 0,2465237630769131520,3397600854310572032,6710026658707533824 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_intf_drv | 0,893651119209353216,3441620918934929408,4995333456089366528 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ipkeymgr_drv | 0,920095719846940672 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_kdb | 0,2792345310007861248,6451911401701834752,8794356246076211200,9043524584978911232 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ras_drv | 0,4681337037008044032,8126813935377756160 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_soc_drv | 0,3337099692364759040,5300821424090451968,6732923516025434112 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sos | 0,1040494957260591104,1637566750523367424,4806946119810498560,6459812653648613376,7858323642333913088,8984455442092228608 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spdm_drv | 0,4428223074578829312 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spl | 0,1090628093507633152,4027073469825003520,6759431206230638592,7078441006602444800 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sysdrv | 0,1847048533432950784,3628286508802412544,4250887232983580672,4777983195084800000,6349031031274954752,9123753257111609344 |
| PARAM_VALUE | 0 | psp->km_ring.ring_size | 0,4096 |
| PARAM_VALUE | 0 | psp->km_ring.ring_type | 2 |
| PARAM_VALUE | 0 | psp->tmr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.bitfield.virt_phy_addr | 1 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 5,9 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
| 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.gtt_mgr.mm.head_node.size | 0-u64max |
| HOST_DATA | 0 | psp->adev->mman.preempt_mgr.size | 1073741824[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->sos.fw_version | 0-u32max |
| LOCK2 | &adev->firmware.mutex | ||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct amdgpu_firmware)->mutex | ||
| TYPE_LOCK | (struct psp_context)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_tmr_unload() -> psp_cmd_submit_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->mode_info.atom_context->io_mode | s32min-s32max |
| 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->cmd->buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->buf_version | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->cmd_id | 7,10 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.session_id | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.status | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_buf_size | 0 |
| PARAM_VALUE | 0 | psp->cmd->resp_offset | 0 |
| PARAM_VALUE | 1 | ucode | 0 |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd->buf_size | 0 |
| PARAM_VALUE | 2 | cmd->buf_version | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.boot_config_valid | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.sub_cmd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.boot_cfg.timestamp | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.num_desc | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.buf.total_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_invoke_cmd.ta_cmd_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.app_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_ta.cmd_buf_len | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_load_toc.toc_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_memory_part.resvd | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format1 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.pref_format2 | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_req_perf_hw.req | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.fw_type | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_save_restore_ip_fw.save_fw | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_reg_prog.reg_value | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_tmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_phy_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.buf_size | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_setup_vmr.tmr_flags | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.mode | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_spatial_part.override_ips | 0 |
| PARAM_VALUE | 2 | cmd->cmd.cmd_unload_ta.session_id | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.gfx_xcp_mask | 0 |
| PARAM_VALUE | 2 | cmd->cmd.config_sq_perfmon.reg_override | 0 |
| PARAM_VALUE | 2 | cmd->cmd_id | 7,10 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp.fw_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp.session_id | 0 |
| PARAM_VALUE | 2 | cmd->resp.status | 0 |
| PARAM_VALUE | 2 | cmd->resp.tmr_size | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.boot_cfg.boot_cfg | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.ptl_state | 0 |
| PARAM_VALUE | 2 | cmd->resp.uresp.perf_hw_info.resp | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_hi | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_addr_lo | 0 |
| PARAM_VALUE | 2 | cmd->resp_buf_size | 0 |
| PARAM_VALUE | 2 | cmd->resp_offset | 0 |
| BUF_SIZE | 0 | psp | 4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &psp->mutex | |
| TYPE_LOCK | (struct psp_context)->mutex |