Jos� Fonseca wrote: > > On 2002.02.10 09:31 Gareth Hughes wrote: > > ... > > > > These chips can read > > and write arbitrary locations in system memory. For all chips that > > have this feature, the only safe way to program them is from within > > Which of the chips currently supported by DRI is more similar in this [DMA > programming] sense to mach64 and could be looked as a reference > implementation?
All of the drivers do some sort of security checking or enforcement in the kernel. The i810 actually unmaps dma buffers from userspace when they are submitted to hardware to prevent tampering (as they unavoidably contain commands as well as just vertices). The mga driver doesn't have to do this as the vertices and commands are separate, however that driver does a lot of checking of the state prior to submission to the kernel. Keith _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
