Driver selection when running without xorg.conf

Alan Coopersmith Alan.Coopersmith at Sun.COM
Mon Apr 21 12:34:05 PDT 2008


For our Solaris/SPARC port of Xorg, I need to be able to select the default
devices based on the results of an ioctl on /dev/fb instead of by PCI id,
and to list a couple of possibilities to try.   While modifying xf86AutoConfig.c
to support this, the ability to list multiple drivers to try for a given PCI
vendor id fell out naturally (for instance, try "geode" then "amd" or
"intel" then "i810", for those with drivers & server not fully in sync).

I've attached my proposed changes, both as a patch and full source - does
anyone have any comments/suggestions/objections to this?

(This could also allow listing multiple options where the choices of
 driver/preference aren't so clear, such as nv vs. nvidia vs. nouveau,
 ati vs. fglrx vs. radeonhd, via vs openchrome, etc. - I'll leave those
 to someone else to add, though I suspect the preferred order to try
 may end up distro dependent for most of those.)

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86autoconfig.patch
Type: text/x-patch
Size: 9484 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080421/69ea8dc4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86AutoConfig.c
Type: text/x-csrc
Size: 16059 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080421/69ea8dc4/attachment.c>


More information about the xorg mailing list