drm/amd/pm: Add waiting for response of mode-reset message for yellow carp
authorAaron Liu <aaron.liu@amd.com>
Tue, 13 Jul 2021 06:54:47 +0000 (14:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Jul 2021 15:59:50 +0000 (11:59 -0400)
commitadefab4ef308f43c80537bd28e059eed7f3517e4
tree9e9f0d58e7965392a0e7f2c0140fc40f2145b81d
parent5adcd7458a78120dddec6b53c9619acd8f4d5931
drm/amd/pm: Add waiting for response of mode-reset message for yellow carp

Remove mdelay process and use smu_cmn_send_smc_msg_with_param to send
mode-reset message to SMC.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c