From: Dave Jones Date: Sun, 21 May 2006 21:11:42 +0000 (-0400) Subject: [AGPGART] Fix Nforce3 suspend on amd64. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ca2797ffaabc1f73cf8a73a30f709f0c1a6bef34;p=linux-beck.git [AGPGART] Fix Nforce3 suspend on amd64. kernel.org bugzilla #6206 Based on patch from Serge Belyshev Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 36517d4d1ad9..ac3c33a2e37d 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c @@ -617,6 +617,9 @@ static int agp_amd64_resume(struct pci_dev *pdev) pci_set_power_state(pdev, PCI_D0); pci_restore_state(pdev); + if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) + nforce3_agp_init(pdev); + return amd_8151_configure(); }