drm/amdgpu: refactor smu8_send_msg_to_smc and WARN_ON time out
authorDaniel Kurtz <djkurtz@chromium.org>
Mon, 12 Nov 2018 09:18:12 +0000 (14:48 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Nov 2018 20:55:14 +0000 (15:55 -0500)
commit2bf011c861b75026d948b199659087ac9bdff026
tree97096c9dda0caa1457bf6d02341e43c039c6dd69
parent688be01a0ab7eeefb1cccf3ad1c59803276b5a12
drm/amdgpu: refactor smu8_send_msg_to_smc and WARN_ON time out

This patch refactors smu8_send_msg_to_smc_with_parameter() to include
smu8_send_msg_to_smc_async() so that all the messages sent to SMU can be
profiled and appropriately reported if they fail.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c