Re: [BUG]: agpgart for i810 chipsets broken in 2.5.51

From: Antonino Daplas (
Date: Tue Dec 10 2002 - 14:36:47 EST

On Tue, 2002-12-10 at 21:23, Dave Jones wrote:
> On Wed, Dec 11, 2002 at 12:08:22AM +0500, Antonino Daplas wrote:
> > Tried it with framebuffer console off, same results. Moved agp before vt
> > in char/Makefile, same. Even manually calling agp_init() doesn't work
> > because what's really needed is agp_intel_init().
> >
> > Anyway, I guess I'll stick to what I'm doing right now, periodically do
> > an inter_module_get("drm_agp") until it becomes available.
> That's really quite icky. Even putting an..
> dev = pci_find_blah..
> agp_intel_init(dev);
> #endif
> before console_init() call in init/main.c seems cleaner than that imo,
> (and this is still quite gross).
That's fine by me. It's basically what I'm doing in 2.4, except that I
call it directly from the driver. I'm just not in the habit of touching
other people's code.

agp_intel_init() will be called twice though, first by i810fb, then the
usual inits, so a flag has to be set once the function is called.

If it's okay with you, I'll do it that way (and save me some 100 lines
of code in the process :-), and submit a patch.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:18 EST