提交 1e4a53de 编写于 作者: D Darren Powell 提交者: Alex Deucher

amdgpu/pm: add extra info to SMU msg pre-check failed message

Insert the value of the response to error message emitted when the
SMU msg pre-check failes
Signed-off-by: NDarren Powell <darren.powell@amd.com>
Reviewed-by: NKenneth Feng <kenneth.feng@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 f876549d
......@@ -104,8 +104,8 @@ int smu_cmn_send_msg_without_waiting(struct smu_context *smu,
ret = smu_cmn_wait_for_response(smu);
if (ret != 0x1) {
dev_err(adev->dev, "Msg issuing pre-check failed and "
"SMU may be not in the right state!\n");
dev_err(adev->dev, "Msg issuing pre-check failed(0x%x) and "
"SMU may be not in the right state!\n", ret);
if (ret != -ETIME)
ret = -EIO;
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册