Re: 2.6.12-rc1-mm2

Brice Goglin
2005-03-24T15:22:19Z

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):

Same problem on my Radeon M6 LY here.
This seems to be due to agp_find_bridge not being exported anymore
in agp_backend.h. Dave might have forgotten it when reworking my patch.
Patch attached.

Brice

Signoff-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

--- 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 *);