diff options
author | John Clements <john.clements@amd.com> | 2021-06-07 13:49:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-07 14:57:32 -0400 |
commit | 312d9253ecac6b293325ff72e6c1d1b171aaf2b3 (patch) | |
tree | 8d2c1f66cd5eefe4087f89e28143ab3e3e3dc87e /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
parent | 4a1d4b6d38bdd842427dd525c1d4e1341de36d68 (diff) |
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.c | 3 |
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; |