]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d4c4e2c796d46acf59548de2d0bc5cf89258899
tree97096c9dda0caa1457bf6d02341e43c039c6dd69
parent620f818cb0ed5e1f75d7dcf60df4f025e5d23de7
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