--- Dave Airlie <[EMAIL PROTECTED]> wrote: > Yes we only have one binary interface, between the core and module, > this interface is minimal, so AGP won't go in it... *ALL* the core > does is deal with the addition/removal of modules, the idea being > that the interface is very minor and new features won't change it...
If you're Nvidia you ship the library source (since it is GPL) and a binary driver. You compile the library on your kernel so that kernel API IFDEF's get executed and then link to the binary driver. This model won't work with IFDEF'd inline functions that are used in a binary driver. They will have to be real functions in the library. Things like this from the i830 driver will need to be library functions #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,2) #define down_write down #define up_write up #endif With the right set of library functions it should be possible to write a video driver that is OS independent. How big is the library that is going to get duplicated? Note that it only gets duplicated for different cards not multiple instances of the same card family. Are you going to hide the exported symbols so that we don't need the DRM() macros? ===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel