diff options
| author | John Clements <[email protected]> | 2019-07-25 07:29:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-02 15:30:39 +0000 |
| commit | 6c37bde9c63b4116913fd79abbb2e5abaeb52e23 (patch) | |
| tree | 6f4b11b3961692fa0d8cf1571dbb961dca87c8ca /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amdgpu: add PSP KDB loading support for Arcturus (diff) | |
| download | kernel-6c37bde9c63b4116913fd79abbb2e5abaeb52e23.tar.gz kernel-6c37bde9c63b4116913fd79abbb2e5abaeb52e23.zip | |
drm/amdgpu: update PSP CMD fail response status print
Print the response in hex with the apprpriate mask.
Signed-off-by: John Clements <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 24fefd19d410..18454ff64db2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -164,8 +164,8 @@ 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 (%d)\n", - psp->cmd_buf_mem->resp.status); + DRM_WARN("psp command failed and response status is (0x%X)\n", + psp->cmd_buf_mem->resp.status & GFX_CMD_STATUS_MASK); if (!timeout) { mutex_unlock(&psp->mutex); return -EINVAL; |
