Commit 6c37bde9 authored by John Clements's avatar John Clements Committed by Alex Deucher

drm/amdgpu: update PSP CMD fail response status print

Print the response in hex with the apprpriate mask.
Signed-off-by: default avatarJohn Clements <john.clements@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent dc0d9622
...@@ -164,8 +164,8 @@ psp_cmd_submit_buf(struct psp_context *psp, ...@@ -164,8 +164,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 (%d)\n", DRM_WARN("psp command failed and response status is (0x%X)\n",
psp->cmd_buf_mem->resp.status); psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK);
if (!timeout) { if (!timeout) {
mutex_unlock(&psp->mutex); mutex_unlock(&psp->mutex);
return -EINVAL; return -EINVAL;
......
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