diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c index c81e4b8616d0..51bfb672bed7 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c @@ -257,14 +257,17 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes, if (r < 1 || !*status_ptr) { if (misc_op_str) - dev_err(adev->dev, "MES failed to respond to msg=%s (%s)\n", - op_str, misc_op_str); + dev_err(adev->dev, + "MES failed to respond to msg=%s (%s) fence_wait_ret=%ld status=0x%llx\n", + op_str, misc_op_str, r, *status_ptr); else if (op_str) - dev_err(adev->dev, "MES failed to respond to msg=%s\n", - op_str); + dev_err(adev->dev, + "MES failed to respond to msg=%s fence_wait_ret=%ld status=0x%llx\n", + op_str, r, *status_ptr); else - dev_err(adev->dev, "MES failed to respond to msg=%d\n", - x_pkt->header.opcode); + dev_err(adev->dev, + "MES failed to respond to msg=%d fence_wait_ret=%ld status=0x%llx\n", + x_pkt->header.opcode, r, *status_ptr); while (halt_if_hws_hang) schedule();