Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9b487e4 authored by Alex Deucher's avatar Alex Deucher
Browse files

Revert "drm/radeon: always apply pci shutdown callbacks"

This seems to break reboot on some evergreen systems.

bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=99524
https://bugzilla.kernel.org/show_bug.cgi?id=192271



This reverts commit a481daa8.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 3a1d19a2
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -366,10 +366,9 @@ static void
radeon_pci_shutdown(struct pci_dev *pdev)
radeon_pci_shutdown(struct pci_dev *pdev)
{
{
	/* if we are running in a VM, make sure the device
	/* if we are running in a VM, make sure the device
	 * torn down properly on reboot/shutdown.
	 * torn down properly on reboot/shutdown
	 * unfortunately we can't detect certain
	 * hypervisors so just do this all the time.
	 */
	 */
	if (radeon_device_is_virtual())
		radeon_pci_remove(pdev);
		radeon_pci_remove(pdev);
}
}