drm/radeon: Implement radeon_pci_shutdown
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Wed, 23 Oct 2013 21:07:30 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 16:43:20 +0000 (12:43 -0400)
commit846ae41ae99d314bf2a02784152208a6ddf7eddc
tree99cee22203a34c13601d8e70909a8a3d78a13b1a
parentb18802588809d6ff20db762ddcadb0dbe1f46414
drm/radeon: Implement radeon_pci_shutdown

Currently radeon devices are not properly shutdown during kexec. This
causes a varity of issues, e.g. dpm initialization failures.
Fix this by implementing a radeon_pci_shutdown function, that unloads
the driver cleanly.

Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c