drm/amd/pp: Print more smu failed info on Vega10
authorRex Zhu <Rex.Zhu@amd.com>
Sat, 24 Feb 2018 06:29:12 +0000 (14:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:06 +0000 (14:18 -0500)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c

index 70dd5f8906dbf6032c47d0af35c9be553238dae9..99ad0a25300cb9325519eeaf9e89ab294ef1b594 100644 (file)
@@ -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;
 }