This is a better patch for the three proposed IOCTLs. 1) Fixes a merge bug that made the first one segfault 2) Plays nice with framebuffer. If framebuffer is found DRM will revert to stealth mode and disable the new features. 3) Compiles and works on 2.4. New features are disabled on 2.4 but with a little work could be activated.
The radeon mode setting code is included for reference, it is not finished yet. As part of removing the code accessing registers from the user space Mesa drivers, I put a copy of radeon_regs.h in the DRM directory. The main points are the IOCTL for fetching the VBIOS ROM image, hotplug support for resetting secondary adapters, and the VGA code for ensuring a single VGA device is enabled. I still need the kernel PCI quirk for identifying the boot adapter to finish the ROM code. The goal is that these additions should be transparent to DRI. Only extensions to Mesa will use them. ===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com
patch.bz2
Description: patch.bz2