Hello. I'm working in adapting the mach64 drm driver to the new template structure. I have a pair of questions: What is the meaning of the __HAVE_SG define? I've set it to zero in the mach64 driver, but I'm not sure about this supposition. In the mach64_dma.c , the following line: dev_priv->sarea = dev->maplist[0]; is now wrong, because the drm_device_t member maplist is now a drm_map_list_t* and in the mach64 trunk, it was a drm_map_t**. I'm trying to figure how to write it now, with the new type, but I'm not sure about it. Do we have to make dev_priv->sarea point to the head of the maplist? What is this supposed to be for? I've almost finished all the porting to the 4.1.0 trunk, but it have been a blind porting. I hope not to burn my laptop, because I'm still paying it. :( (If I dare to test this trunk). And finally, where is the "evil register programming" of the driver? Do I need to comment it? What should we need to do instead of this register programming. Could you please point me to some document of resource to know how to do it? Is the utah-glx driver implemented in this way, or could I use it as a reference? Excuse for my bad english and thanks for your time. Best regards. _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dri-devel