summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
diff options
context:
space:
mode:
authorJohn Clements <john.clements@amd.com>2020-10-26 14:57:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-26 13:27:00 -0400
commit19ae333001b375bbc7d1ff9eaa9cbb0a72fff65e (patch)
treed1e2ad6a6f42c2935796fbb34e5142e83a2d7063 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
parent0165b85c278415d90fa8e439ab54e27d23663112 (diff)
drm/amdgpu: added support for psp fw attestation
loaded fw can be queried from sys fs interface Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
index 06e03851d9c5..da250bc1ac57 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
@@ -398,4 +398,6 @@ int psp_init_sos_microcode(struct psp_context *psp,
const char *chip_name);
int psp_init_ta_microcode(struct psp_context *psp,
const char *chip_name);
+int psp_get_fw_attestation_records_addr(struct psp_context *psp,
+ uint64_t *output_ptr);
#endif