drm/amd/pm: Send message when resp status is 0xFC
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 25 Feb 2022 04:13:49 +0000 (09:43 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:25:16 +0000 (14:25 -0400)
commit8718ca1dbf497c302df989afaeb82f05f5a3d961
tree036cc0bf8641411ba77e82d2153687c6c3eaf8e0
parent69691c823531c36c7283ecaa040e99e9c12ece07
drm/amd/pm: Send message when resp status is 0xFC

When PMFW is really busy, it will respond with 0xFC. However, it doesn't
change the response register state when it becomes free. Driver should
retry and proceed to send message if the response status is 0xFC.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c