On Sun, Jun 15, 2003 at 01:57:30PM -0300, Maximo wrote: > > This all mean that i need to work first on DRM module, and make it > talk to the device and after that work on 3D drive to translate all > requests to the DRM module. Is that correct?
Nothing forces you to do that, but my advice would be to do so. > I also noticed in the savage DRM there is a "BCI Initialization" > that there isn't in the others modules of other devices, what exactaly is > that? Please read the archives about it (it's just : http://marc.theaimsgroup.com/?l=dri-devel&w=2&r=1&s=Savage+BCI&q=b Especially this one: http://marc.theaimsgroup.com/?l=dri-devel&m=104686586219373&w=2 but also give a quick look to the others there since they're no so many. > > I would like to know a doc with those functions related to the > device, on thoses modules i found a lot of functions that request some kind > of information of the device, where do i find any docs about them? See if the docs at http://jrfonseca.dyndns.org/projects/dri/doxygen/radeondrm/files.html are what you're looking for. Note that the only functions you eventually need to recreate in the Savage driver are those in the radeon_* files. The rest is shared by all the drivers. > And i > also noticed the the modules are basically function definitions but where > are they called from? Some of those functions are special: they're ioctls, and are called when a user space program (in this case the 3D driver) does an ioctl on a file. I don't know what's your brackground but you can think of them as Remote Procedure Calls between the user program and the kernel, or like the old DOS interrupts. See this link for more info about ioctls and linux kernel programming: http://www.xml.com/ldd/chapter/book/ch05.html#t1 and also 'man ioctl'. Jos� Fonseca ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
