Skip to contentSkip to conversation

ati-agp suspend/resume support (try 3)

PATCH New Jaco Kroon 1 participant 1 message Dec 26, 2005 Agpgart driver

lore
Share & tools
lore

Jaco Kroon

author
#0 lore raw

PATCH 1/1 ati-agp suspend/resume support (try 3)

Based on the patch at http://unixhead.org/docs/thinkpad/ati-agp/ati-agp.diff, add support for suspend/resume in the ati-agp module.

drivers/char/agp/ati-agp.c renamed from drivers/char/agp/ati-agp.c.orig +5 -0
@@ -243,6 +243,10 @@
 	return 0;
 }
 
+static int agp_ati_resume(struct pci_dev *dev)
+{
+	return ati_configure();
+}
 
 /*
  *Since we don't need contigious memory we just try
@@ -525,6 +529,7 @@
 	.id_table	= agp_ati_pci_table,
 	.probe		= agp_ati_probe,
 	.remove		= agp_ati_remove,
+	.resume		= agp_ati_resume,
 };
 
 static int __init agp_ati_init(void)