Skip to content

Commit ec9435d

Browse files
Gui Chengmingdumbbell
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 <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> (cherry picked from commit 62952a38d9bcf357d5ffc97615c48b12c9cd627c) Cc: stable@vger.kernel.org # 6.12.x
1 parent 1727fdf commit ec9435d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

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

127+
if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(14, 0, 2) ||
128+
amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(14, 0, 3))
129+
return 0;
130+
127131
if (adev->asic_type >= CHIP_SIENNA_CICHLID)
128132
return 1;
129133

0 commit comments

Comments
 (0)