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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Jan 2022 09:58:24 +0000 (10:58 +0100)
commitf71c91ed1d4b4bfbbb55327b04dcc32b2d970f62
tree15cd89943a926d5fd807b79b6c55a655fd9befee
parent8a17a077e7e9ecce25c95dbdb27843d2d6c2f0f7
drm/amd/display: reset dcn31 SMU mailbox on failures

commit 83293f7f3d15fc56e86bd5067a2c88b6b233ac3a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c