New DRM driver model - gets rid of DRM() macros!
Jon Smirl
jonsmirl at gmail.com
Thu Sep 30 11:10:48 PDT 2004
Patch removes DRM flush, poll, read functions. It leave the fops entry
null so that the OS default function will be used.
The fops table is converted to be one per driver instead of a global.
This fixes the module open ref count problem. It also simplifies
i810/830 by allow them to directly patch their mmap function into the
fops table.
I spent two days looking for a bug in DRM with multiple drivers under
X. I don't think DRM has problems. I see now that X also fails if two
older DRM drivers are loaded. The first problem seems to be the X's
DRM lock refcount varibale is a static. That won't work for two DRM
drivers.
--
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open.patch
Type: text/x-patch
Size: 13610 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20040930/8e9be147/attachment.bin>
More information about the xorg
mailing list