diff options
author | Dave Jones <davej@redhat.com> | 2006-08-10 00:03:27 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-08-10 00:03:27 +0200 |
commit | 296b3f9ee6e8176e54229ef1d357b4e044c01fb2 (patch) | |
tree | ee27efe5f82ada3ca78079bdda7489d7515c8b0d /drivers/char/agp/amd64-agp.c | |
parent | 6f2e5a4840d8bf0708dea3c01a1cf5bf2a14bdc9 (diff) |
[AGPGART] Fix Nforce3 suspend on amd64.
kernel.org bugzilla #6206
Based on patch from Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/char/agp/amd64-agp.c')
-rw-r--r-- | drivers/char/agp/amd64-agp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 1251b2515bbe..bb75cd002776 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(); } |