summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-04-09 18:28:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-28 23:35:49 -0400
commit1e4a53de01c68d4ec9800b9a0f6efe9f26184a77 (patch)
tree56e105debc0bfc92f5268e008553b2e87ec0a6a5 /drivers/gpu/drm/amd/pm
parentf876549dd002e8f5788c281096a7310bc53fbe20 (diff)
downloadlinux-stable-1e4a53de01c68d4ec9800b9a0f6efe9f26184a77.tar.gz
linux-stable-1e4a53de01c68d4ec9800b9a0f6efe9f26184a77.tar.bz2
linux-stable-1e4a53de01c68d4ec9800b9a0f6efe9f26184a77.zip
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: Darren Powell <darren.powell@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
index dc7d2e71aa6f..5d1743f3321e 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
@@ -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;