summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
diff options
context:
space:
mode:
authorJohn Clements <john.clements@amd.com>2021-06-07 08:49:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-06-07 21:57:32 +0300
commit312d9253ecac6b293325ff72e6c1d1b171aaf2b3 (patch)
tree8d2c1f66cd5eefe4087f89e28143ab3e3e3dc87e /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
parent4a1d4b6d38bdd842427dd525c1d4e1341de36d68 (diff)
downloadlinux-312d9253ecac6b293325ff72e6c1d1b171aaf2b3.tar.xz
drm/amdgpu: Update psp fw attestation support list
Disable support on APU Reviewed-by: Changfeng <Changfeng.Zhu@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_fw_attestation.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
index 8d1ad294cb02..2ca3c329de6d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
@@ -121,6 +121,9 @@ static const struct file_operations amdgpu_fw_attestation_debugfs_ops = {
static int amdgpu_is_fw_attestation_supported(struct amdgpu_device *adev)
{
+ if (adev->flags & AMD_IS_APU)
+ return 0;
+
if (adev->asic_type >= CHIP_SIENNA_CICHLID)
return 1;