[PATCH] drm/amd/pp: Print more info when smu message failed on Vega10

Rex Zhu Rex.Zhu at amd.com
Sat Feb 24 12:01:49 UTC 2018


Change-Id: Ifaa7058a4682bafeeef68e78bfcff26012ba71c1
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
 drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c
index 70dd5f8..1bdeeeb 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c
@@ -168,7 +168,7 @@ int vega10_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr,
 
 	ret = vega10_wait_for_response(hwmgr);
 	if (ret != 1)
-		pr_err("Failed to send message: 0x%x, ret value: 0x%x\n", msg, ret);
+		pr_err("Failed message: 0x%x, input parameter is %x, error code: 0x%x\n", msg, parameter, ret);
 
 	return 0;
 }
-- 
1.9.1



More information about the amd-gfx mailing list