On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote:
> > >
> > > No, you can quite validly do a sg alloc on an AGP card, you can also
> > > legally run an AGP card in PCI-only mode something the current code allows
> > > (as userspace sets it) but the new code actually stops as it detects it..
> >
> > So how can I tell AGP from PCI in user space so I know whether to do
> > drmScatterGatherAlloc() or drmAgpAlloc()?
> 
> Another sysfs object?
> 
> at the moment you don't ... userspace knows already...

drmAgpAcquire() will always fail on a PCI card, right? It would be
much better to use a DRM call to tell the difference.

This will still allow an AGP card to run in PCI mode if you really
want to. drmAgpAcquire() - find out if you have AGP - then ignore the
result.

-- 
Jon Smirl
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to