drm/radeon: Fix EEH during kexec
authorKyleMahlkuch <kmahlkuc@linux.vnet.ibm.com>
Wed, 31 Jul 2019 22:10:14 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 16:56:33 +0000 (18:56 +0200)
commit6e03bca91f8e99a2039659812efb113cae566459
tree16a964cad9a6b5cab1e018ef3679f12f30768e7b
parent441c1558233856636110b2330cf0c91ce069355e
drm/radeon: Fix EEH during kexec

[ Upstream commit 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 ]

During kexec some adapters hit an EEH since they are not properly
shut down in the radeon_pci_shutdown() function. Adding
radeon_suspend_kms() fixes this issue.

Signed-off-by: KyleMahlkuch <kmahlkuc@linux.vnet.ibm.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/radeon/radeon_drv.c