Re: 2.6.12-rc1-mm2

Andrew Morton
2005-03-24T20:05:41Z

Stefano Rivoir <s.rivoir@gts.it> wrote:
>
> Alle 16:18, giovedì 24 marzo 2005, Brice Goglin ha scritto:
> > Stefano Rivoir a écrit :
> > > Alle 13:41, giovedì 24 marzo 2005, Andrew Morton ha scritto:
> > >>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc1/
> > >>2. 6.12-rc1-mm2/
> > >>
> > >>
> > >>- Some fixes for the recent DRM problems.
> > >
> > > Hi Andrew,
> > >
> > > While I was OK with DRM up to 2.6.12-rc1-mm1, now I get this at startup,
> > > and Xorg fails to enable DRI (attached, lspci and .config):
>
> > --- linux-mm/include/linux/agp_backend.h.old 2005-03-24
> > 16:17:25.000000000 +0100
> > +++ linux-mm/include/linux/agp_backend.h 2005-03-24
> > 16:10:25.000000000 +0100
> > @@ -100,6 +100,7 @@
> > extern int agp_bind_memory(struct agp_memory *, off_t);
> > extern int agp_unbind_memory(struct agp_memory *);
> > extern void agp_enable(struct agp_bridge_data *, u32);
> > +extern struct agp_bridge_data * (*agp_find_bridge)(struct pci_dev *);
> > extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
> > extern void agp_backend_release(struct agp_bridge_data *);
>
> Right, that fixed it for me.
>

There were contradictory patches in flight and I stuck the latest drm tree
into rc1-mm2 at the last minute, alas. You should revert
agp-make-some-code-static.patch.

But I assume that fixing the compile warnings does not fix the oopses which
Stefano and Brice are seeing?