Re: When will the agp / framebuffer code be working in linuxppc 2.5?
Antonino Daplas <[email protected]>
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2003-02-26 at 15:52, Miles Lane wrote: > On Tue, 2003-02-25 at 08:27, James Simmons wrote: > > > > > I cannot get the agp/framebuffer code in the linuxppc 2.5 tree to > > > compile. > > > Is anyone working on this? > > > > What is your config? > > > > I am building the source from "rsync -avz > source.mvista.com::linuxppc-2.5 ." > > CONFIG_AGP=y > CONFIG_DRM=y > CONFIG_DRM_RADEON=y > The agp code has a lot of x86-specific stuff in it. Try to add the attached file (agp.h) to your linux/include/asm. It just contains empty functions for the x86-specific stuff. The agp code might compile, whether it works, I don't know. BTW, does agp work for the ppc in 2.4.x? Tony
agp.h
(text/x-c-header, 246 B)
#ifndef AGP_H
#define AGP_H 1
#include <asm/pgtable.h>
#define map_page_into_agp(page) { return 0; }
#define unmap_page_from_agp(page) { return 0; }
#define flush_agp_mappings() do { } while(0)
#define flush_agp_cache() do { } while(0)
#endif