On Mon, 2002-12-16 at 20:09, Keith Whitwell wrote: > > 1) Provide a set of DRM APIs for PCI DMA buffers allocation. No > > assumption about the buffer management is made and that is entirely left > > to the DRM driver (which is free to put some in a linked list, map them > > or whatever). In Linux they basically would be just a very thin wrapper > > around pci_*_consistent routines. > > Is there an existing linux interface to these routines that could be used > instead of adding code to the drm module?
Not a user space one but it is certainly meaningful to talk about a generic "pci memory device" - /dev/pcimap or somesuch. That would also be usable for other things than X11. The code for it isnt hard - take the via82cxxx_audio driver and remove the sound parts just keeping the allocation/mmap code. The biggest question would be - having opened it how do you describe a PCI device. On some systems the memory allocated for PCI use is dependant on the device and which bus it occupies. > > 2) Have the current AGP allocation and memory mapping APIs available for > > internal drive usage, instead of just an IOCTL interface for X usage. > > I don't understand what you're suggesting by this. I assume allowing the kernel drm to call the kernel agp code ? ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel