Might it not be possible to eliminate all the PCIGART_ENABLED stuff and for 
the time being control this in the XF86Config.  If you have a PCI card you 
use ForcePCIMode true.  If you have a AGP card you use either ForcePCIMode 
false or just say nothing and the driver assumes AGP.  This way the PCI GART 
gets more testing and a lot of people like me don't spend many frustating 
hours figuring out that PCI Radeons are not supported by default and than 
having to build their own to get it working.

On Wednesday 04 December 2002 03:23 pm, Michel Dänzer wrote:
> On Mit, 2002-12-04 at 15:27, José Fonseca wrote:
> > On Wed, Dec 04, 2002 at 02:48:50PM +0100, Michel Dänzer wrote:
> > > On Mit, 2002-12-04 at 12:52, Keith Whitwell wrote:
> > > > José Fonseca wrote:
> > > > > Is there any reason no to enable x86 PCI support on Radeon?
> > > >
> > > > I think nobody's been able to make it work stably.
> > >
> > > I don't think PCI cards work less stably than AGP cards per se, the
> > > main concern is AGP cards falling back to PCI GART when agpgart isn't
> > > available for some reason. I wonder if there's a way to determine the
> > > slot type from the 2D driver?
> >
> > If that's the reason then the solution couldn't be simpler. See the
> > patch attached.
>
> Unfortunately, all Radeons are actually AGP chips, so IsPCI is never set
> automatically, owners of PCI cards would have to use Option
> "ForcePCIMode". My idea was to determine the type of GART to use from
> the type of slot the card is connected to.
>
> Besides, I'd remove all the PCIGART_ENABLED ugliness while we're at it.



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to