video driver matching via xorg.conf.d

Daniel Stone daniel at fooishbar.org
Thu Jun 10 04:02:45 PDT 2010


On Wed, Jun 09, 2010 at 11:15:33PM -0700, Alan Coopersmith wrote:
> I don't think the device initialization code is involved.   What I was thinking
> of was replacing the code currently in xf86AutoConfig() in
> common/xf86AutoConfig.c and videoPtrToDriverList() in xf86pciBus.c (and I guess
> matchDriverFromFiles() in there, though I don't know much about it)
> 
> with a something like:
> 
> xorg.conf.d/90-video-driver-defaults.conf:

Even better, just have the drivers themselves install these, so you
won't attempt to load a driver which doesn't exist, and you can do
device enables with proper autoconfig as soon as the driver's updated,
rather than having to keep the server and drivers in sync as they are
now.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100610/dccf8e27/attachment.pgp>


More information about the xorg-devel mailing list