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

Commit ca2797ff authored by Dave Jones's avatar Dave Jones
Browse files

[AGPGART] Fix Nforce3 suspend on amd64.



kernel.org bugzilla #6206

Based on patch from Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 283a12c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -617,6 +617,9 @@ static int agp_amd64_resume(struct pci_dev *pdev)
	pci_set_power_state(pdev, PCI_D0);
	pci_set_power_state(pdev, PCI_D0);
	pci_restore_state(pdev);
	pci_restore_state(pdev);


	if (pdev->vendor == PCI_VENDOR_ID_NVIDIA)
		nforce3_agp_init(pdev);

	return amd_8151_configure();
	return amd_8151_configure();
}
}