aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
diff options
context:
space:
mode:
authorJohn Clements <[email protected]>2021-06-07 05:49:39 +0000
committerAlex Deucher <[email protected]>2021-06-07 18:57:32 +0000
commit312d9253ecac6b293325ff72e6c1d1b171aaf2b3 (patch)
tree8d2c1f66cd5eefe4087f89e28143ab3e3e3dc87e /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
parentdrm/amdkfd: add sdma poison consumption handling (diff)
downloadkernel-312d9253ecac6b293325ff72e6c1d1b171aaf2b3.tar.gz
kernel-312d9253ecac6b293325ff72e6c1d1b171aaf2b3.zip
drm/amdgpu: Update psp fw attestation support list
Disable support on APU Reviewed-by: Changfeng <[email protected]> Signed-off-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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;