diff options
| author | Tao Zhou <[email protected]> | 2024-01-26 10:44:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-31 19:05:19 +0000 |
| commit | a1eac5bd912767e385a2b590d3e21cbe063a5537 (patch) | |
| tree | b6c64d5a342c6cdc5b746ba21ad3be9f74c08c87 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | drm/amdgpu: drm/amdgpu: remove golden setting for gfx 11.5.0 (diff) | |
| download | kernel-a1eac5bd912767e385a2b590d3e21cbe063a5537.tar.gz kernel-a1eac5bd912767e385a2b590d3e21cbe063a5537.zip | |
drm/amdgpu: add PSP RAS address query command
Convert mca address to physical address or vice versa via RAS TA.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index 652b0a01854a..9951bdd022de 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -502,6 +502,9 @@ int psp_ras_enable_features(struct psp_context *psp, int psp_ras_trigger_error(struct psp_context *psp, struct ta_ras_trigger_error_input *info, uint32_t instance_mask); int psp_ras_terminate(struct psp_context *psp); +int psp_ras_query_address(struct psp_context *psp, + struct ta_ras_query_address_input *addr_in, + struct ta_ras_query_address_output *addr_out); int psp_hdcp_invoke(struct psp_context *psp, uint32_t ta_cmd_id); int psp_dtm_invoke(struct psp_context *psp, uint32_t ta_cmd_id); |
