diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2019-09-23 20:41:04 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 09:11:00 -0500 |
commit | 1f01cd99051507478f8dac837c939088a894d279 (patch) | |
tree | 72308565ad7ae9d6288dab627a6b90c0124e62b6 | |
parent | 90c88dab8ef514c901b3a0e82f617d2f06c4ae9f (diff) | |
download | linux-stable-1f01cd99051507478f8dac837c939088a894d279.tar.gz linux-stable-1f01cd99051507478f8dac837c939088a894d279.tar.bz2 linux-stable-1f01cd99051507478f8dac837c939088a894d279.zip |
drm/amdgpu: add command id in psp response failure message
For better clarification of issue.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index af726bc6980d..920910fb83be 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -170,8 +170,9 @@ psp_cmd_submit_buf(struct psp_context *psp, if (ucode) DRM_WARN("failed to load ucode id (%d) ", ucode->ucode_id); - DRM_WARN("psp command failed and response status is (0x%X)\n", - psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK); + 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); if (!timeout) { mutex_unlock(&psp->mutex); return -EINVAL; |