agp: A rewrite of the i810 bits of the driver