On Tuesday 04 June 2002 18:53, you wrote: > Maybe you should start reading about advanced c programming > technics first? (Okay, Pascal will do the job as well.) > advanced here means programming with mutexes, semaphores, > interrupts, object handles, buffering, chaching, memory
I'm supposed to know most of this, hope my boss doesn't read this list :-). > ringbuffer = ..... So the ringbuffer is nothing more than an implementation of a fifo queue in which the driver puts the commands to be processed by the command processor. > freelist = hmm it seems to have something to do with dma buffers but since i don't know the dma structs/api, i'll have to take a closer look. If my impression is right, the only thing the kernel module does is (next to init/cleanup) converting a user ioctl request (draw vertex, go full screen) to appropriate commands for the CP. It does this by using a ring buffer for the commands and dma transfers for the textures (with appropriate cp instructions i presume) managed by a freelist. Hmm, rereading the DRI DEV FAQ (thanks for this wonderfull document), I'll next get familiar with the drm_* code before i ask any more 'obvious' questions :-) Peter _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel