drm/amd/display: reset dcn31 SMU mailbox on failures
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 7 Jan 2022 21:40:10 +0000 (15:40 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jan 2022 20:44:27 +0000 (15:44 -0500)
commit83293f7f3d15fc56e86bd5067a2c88b6b233ac3a
tree6bac847f160dd06e1d3da742058c07c922993b13
parent5fea167ec0a134cb61fde848a3c344f77f0c13a5
drm/amd/display: reset dcn31 SMU mailbox on failures

Otherwise future commands may fail as well leading to downstream
problems that look like they stemmed from a timeout the first time
but really didn't.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c