Skip to content

Commit bd275e6

Browse files
Gui Chengmingalexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Frank.Min <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 62952a3) Cc: [email protected] # 6.12.x
1 parent af04b32 commit bd275e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ static int amdgpu_is_fw_attestation_supported(struct amdgpu_device *adev)
122122
if (adev->flags & AMD_IS_APU)
123123
return 0;
124124

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+
125129
if (adev->asic_type >= CHIP_SIENNA_CICHLID)
126130
return 1;
127131

0 commit comments

Comments
 (0)