Commit 1f01cd99 authored by Hawking Zhang's avatar Hawking Zhang Committed by Alex Deucher

drm/amdgpu: add command id in psp response failure message

For better clarification of issue.
Signed-off-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: default avatarLe Ma <Le.Ma@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 90c88dab
...@@ -170,7 +170,8 @@ psp_cmd_submit_buf(struct psp_context *psp, ...@@ -170,7 +170,8 @@ 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 failed and response status is (0x%X)\n", DRM_WARN("psp command (0x%X) failed and response status is (0x%X)\n",
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) {
mutex_unlock(&psp->mutex); mutex_unlock(&psp->mutex);
......
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