drm/amdgpu: add RAP TA header file
authorWenhui Sheng <Wenhui.Sheng@amd.com>
Thu, 23 Jul 2020 02:57:06 +0000 (10:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:39 +0000 (16:22 -0400)
commita189d0ae0cd68643204cbe9b11e824414b2b06c9
treed503058893e24421519c1f9341ac2e8f05560849
parent425a78f43b34a6bebc5c2746eb09a3b45a45a286
drm/amdgpu: add RAP TA header file

The RAP TA contains tests used to verify if
RAP(Register Access Policy), or otherwise known
as Security Policy is applied correctly
by PSP BL&TOS.

The RAP test is a measure to ensure that we reduce
the avenue of complexity and mistakes when dealing
with RAP in post-si execution, where debugging failures
related to RAP is quite difficult and expensive.

v2: add introduction for RAP TA

Signed-off-by: Wenhui Sheng <Wenhui.Sheng@amd.com>
Reviewed-by: Guchun Chen <Guchun.Chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ta_rap_if.h [new file with mode: 0644]