Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: fix fw attestation for MP0_14_0_{2/3}

FW attestation was disabled on MP0_14_0_{2/3}.

V2:
Move check into is_fw_attestation_support func. (Frank)
Remove DRM_WARN log info. (Alex)
Fix format. (Christian)

Signed-off-by: Gui Chengming <Jack.Gui@amd.com>
Reviewed-by: Frank.Min <Frank.Min@amd.com>
Reviewed-by: Christian König <Christian.Koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Gui Chengming and committed by
Alex Deucher
62952a38 def59436

+4
+4
drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c
··· 122 122 if (adev->flags & AMD_IS_APU) 123 123 return 0; 124 124 125 + if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(14, 0, 2) || 126 + amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(14, 0, 3)) 127 + return 0; 128 + 125 129 if (adev->asic_type >= CHIP_SIENNA_CICHLID) 126 130 return 1; 127 131