--- Jon Smirl <[EMAIL PROTECTED]> wrote: > It will build but it won't work. To make it work I would have to relax the > restriction about X not being able to change the DRM AddMaps for > registers/framebuffers. Can we try to get all of the driver to implement > postinit, it's only about 10 lines of code.
Forget the part about it not working. I forgot to include the code which disables Xfree from changing the mappings so a patched driver should work without problem even if it doesn't implement postinit. You do have to implement postinit and supply the mappings for the reset IOCTLs to work. But if the driver doesn't ask for a reset then these IOCTLs will never be called. Only radeon has reset implemented. I'll add r128 next if people are agreeable to the patch. So the way it stands all drivers should work without problem after applying the patch. If not I messed something up, please let me know if you try the patch. I don't want to check it in and have everyone screaming at me. ===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel