[lkml]   [2004]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: New proposed DRM interface design
--- Dave Airlie <> 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
#define down_write down
#define up_write up

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

Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.097 / U:0.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site