Commit a45a9e5e authored by Alex Deucher's avatar Alex Deucher

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: default avatarNirmoy Das <nirmoy.das@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c6d567b
...@@ -822,7 +822,7 @@ static int psp_ras_initialize(struct psp_context *psp) ...@@ -822,7 +822,7 @@ static int psp_ras_initialize(struct psp_context *psp)
if (!psp->adev->psp.ta_ras_ucode_size || if (!psp->adev->psp.ta_ras_ucode_size ||
!psp->adev->psp.ta_ras_start_addr) { !psp->adev->psp.ta_ras_start_addr) {
dev_warn(psp->adev->dev, "RAS: ras ta ucode is not available\n"); dev_info(psp->adev->dev, "RAS: optional ras ta ucode is not available\n");
return 0; return 0;
} }
...@@ -907,7 +907,7 @@ static int psp_hdcp_initialize(struct psp_context *psp) ...@@ -907,7 +907,7 @@ static int psp_hdcp_initialize(struct psp_context *psp)
if (!psp->adev->psp.ta_hdcp_ucode_size || if (!psp->adev->psp.ta_hdcp_ucode_size ||
!psp->adev->psp.ta_hdcp_start_addr) { !psp->adev->psp.ta_hdcp_start_addr) {
dev_warn(psp->adev->dev, "HDCP: hdcp ta ucode is not available\n"); dev_info(psp->adev->dev, "HDCP: optional hdcp ta ucode is not available\n");
return 0; return 0;
} }
...@@ -1054,7 +1054,7 @@ static int psp_dtm_initialize(struct psp_context *psp) ...@@ -1054,7 +1054,7 @@ static int psp_dtm_initialize(struct psp_context *psp)
if (!psp->adev->psp.ta_dtm_ucode_size || if (!psp->adev->psp.ta_dtm_ucode_size ||
!psp->adev->psp.ta_dtm_start_addr) { !psp->adev->psp.ta_dtm_start_addr) {
dev_warn(psp->adev->dev, "DTM: dtm ta ucode is not available\n"); dev_info(psp->adev->dev, "DTM: optional dtm ta ucode is not available\n");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment