Re: Resubmit: Intel 965 Express AGP patches

From: Dave Jones
Date: Wed Sep 06 2006 - 13:12:56 EST


On Wed, Sep 06, 2006 at 09:56:25AM -0700, Eric Anholt wrote:
> > Also, do we need an entry in agp_intel_resume() for the 965 ?
> Yeah, looks like it.

Ok, I added this ..


diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index 42c7d8d..d1ede7d 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1924,6 +1924,8 @@ static int agp_intel_resume(struct pci_d
intel_i830_configure();
else if (bridge->driver == &intel_810_driver)
intel_i810_configure();
+ else if (bridge->driver == &intel_i965_driver)
+ intel_i915_configure();

return 0;
}


This bit could probably be cleaned up a lot by having a .suspend method
in the bridge struct too, but thats for another day.

Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/