From: Rex Zhu Date: Sat, 24 Feb 2018 06:29:12 +0000 (+0800) Subject: drm/amd/pp: Print more smu failed info on Vega10 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=63b2b08b57d978833db36a047179404c40a52b09;p=openwrt%2Fstaging%2Fblogic.git drm/amd/pp: Print more smu failed info on Vega10 Reviewed-by: Alex Deucher Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c index 70dd5f8906db..99ad0a25300c 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: 0x%x, error code: 0x%x\n", msg, parameter, ret); return 0; }