summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher2017-06-22 23:48:04 +0200
committerAlex Deucher2017-06-29 18:43:48 +0200
commit14b05f8a012a319cd58d25b4564da98a7b9b7303 (patch)
treed5a0c3399763ef2bc58f5bc94e397d3bc662fec8
parentdrm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init (diff)
downloadkernel-qcow2-linux-14b05f8a012a319cd58d25b4564da98a7b9b7303.tar.gz
kernel-qcow2-linux-14b05f8a012a319cd58d25b4564da98a7b9b7303.tar.xz
kernel-qcow2-linux-14b05f8a012a319cd58d25b4564da98a7b9b7303.zip
drm/amd/powerplay/cz: print message if smc message fails
Helpful in debugging. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
index 39c7091866e8..652aaa43e95c 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
@@ -72,7 +72,7 @@ static int cz_send_msg_to_smc_async(struct pp_smumgr *smumgr,
result = SMUM_WAIT_FIELD_UNEQUAL(smumgr,
SMU_MP1_SRBM2P_RESP_0, CONTENT, 0);
if (result != 0) {
- pr_err("cz_send_msg_to_smc_async failed\n");
+ pr_err("cz_send_msg_to_smc_async (0x%04x) failed\n", msg);
return result;
}