Skip to content

Commit 8f0622a

Browse files
committed
drm/amdgpu/psp: dont warn on missing optional TA's
Replace dev_warn() with dev_info() and note that they are optional to avoid confusing users. The RAS TAs only exist on server boards and the HDCP and DTM TAs only exist on client boards. They are optional either way. Acked-by: Nirmoy Das <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2b961e6 commit 8f0622a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ static int psp_ras_initialize(struct psp_context *psp)
818818

819819
if (!psp->adev->psp.ta_ras_ucode_size ||
820820
!psp->adev->psp.ta_ras_start_addr) {
821-
dev_warn(psp->adev->dev, "RAS: ras ta ucode is not available\n");
821+
dev_info(psp->adev->dev, "RAS: optional ras ta ucode is not available\n");
822822
return 0;
823823
}
824824

@@ -902,7 +902,7 @@ static int psp_hdcp_initialize(struct psp_context *psp)
902902

903903
if (!psp->adev->psp.ta_hdcp_ucode_size ||
904904
!psp->adev->psp.ta_hdcp_start_addr) {
905-
dev_warn(psp->adev->dev, "HDCP: hdcp ta ucode is not available\n");
905+
dev_info(psp->adev->dev, "HDCP: optional hdcp ta ucode is not available\n");
906906
return 0;
907907
}
908908

@@ -1048,7 +1048,7 @@ static int psp_dtm_initialize(struct psp_context *psp)
10481048

10491049
if (!psp->adev->psp.ta_dtm_ucode_size ||
10501050
!psp->adev->psp.ta_dtm_start_addr) {
1051-
dev_warn(psp->adev->dev, "DTM: dtm ta ucode is not available\n");
1051+
dev_info(psp->adev->dev, "DTM: optional dtm ta ucode is not available\n");
10521052
return 0;
10531053
}
10541054

0 commit comments

Comments
 (0)