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:58:37 +0000 (18:58 +0200)
commit0cb2ddf9a3a0dbe7e949ef4c103d7540bb2994a8
tree4c6b926425daf41ab7977dc422bb3729014f1194
parenta86a8e6ef256eb1effb6690c1bed0e2fade81c5a
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