Commit 52510a40 authored by Shirish S's avatar Shirish S Committed by Alex Deucher

drm/amdgpu/psp: silence response status warning

log the response status related error to the driver's
debug log since  psp response status is not 0 even though
there was no problem while the command was submitted.

This warning misleads, hence this change.
Signed-off-by: default avatarShirish S <shirish.s@amd.com>
Acked-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bbaa343a
...@@ -170,7 +170,7 @@ psp_cmd_submit_buf(struct psp_context *psp, ...@@ -170,7 +170,7 @@ psp_cmd_submit_buf(struct psp_context *psp,
if (ucode) if (ucode)
DRM_WARN("failed to load ucode id (%d) ", DRM_WARN("failed to load ucode id (%d) ",
ucode->ucode_id); ucode->ucode_id);
DRM_WARN("psp command (0x%X) failed and response status is (0x%X)\n", DRM_DEBUG_DRIVER("psp command (0x%X) failed and response status is (0x%X)\n",
psp->cmd_buf_mem->cmd_id, psp->cmd_buf_mem->cmd_id,
psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK); psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK);
if (!timeout) { if (!timeout) {
......
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