Jon Smirl wrote: > drmAgpAcquire() will always fail on a PCI card, right? It would be > much better to use a DRM call to tell the difference.
For a "true" PCI card, yes. This is one of the changes I made to fail more gracefully on PCI G450 cards. > 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. The way I'm doing it for MGA is a bit different. I've added a "DMA bootstrap" ioctl. User-mode tells the kernel what DMA configuration (e.g., AGP mode, size of buffers, etc.) it wants. The kernel then does what it can and tells user-mode what happend. In this case, if you request a non-zero AGP mode, but PCI DMA is used, the returned AGP mode will be zero. I should have this patch out tomorrow or Friday. ------------------------------------------------------- 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=20 -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
