]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05b6a7f859d9f24fe3f267eeaeef745f9ea6330f
tree036cc0bf8641411ba77e82d2153687c6c3eaf8e0
parentc89a4cc307f73ac117422ee8270d7a3adcc6fc2b
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