drm/amdgpu: Update psp fw attestation support list
authorJohn Clements <john.clements@amd.com>
Mon, 7 Jun 2021 05:49:39 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jun 2021 18:57:32 +0000 (14:57 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c

index 8d1ad294cb026db75c56e7929b486b699cb229bc..2ca3c329de6ddc0e363a175bc2ebf8df3f0eab41 100644 (file)
@@ -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;