[PATCH 2/2] xfree86: configure: remove vendor and card name matching rules

Dan Nicholson dbn.lists at gmail.com
Wed Jun 9 08:27:34 PDT 2010


On Wed, Jun 9, 2010 at 7:27 AM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Tiago Vignatti wrote:
>> Vendor and board naming were never used to create the configure file a device.
>> This patch remove their references.
>
> I have been wanting for a while to move the autoconfiguration matching for
> video cards from a hardcoded list in the code to xorg.conf.d-style files like
> we use for input devices, and wonder if we'd want to use these in Match rules
> like the input devices have - though obviously we can do MatchPCIVendor "0x8086"
> just as well as MatchPCIVendor "Intel", and probably more reliably since pci.ids
> names can change without warning.

Of course, getting the strings from pci.ids during autoconfig puts you
right back to a slow initialization. I think it would be easy enough
to use the IDs. I did something similar for USB IDs and InputClass:

http://lists.freedesktop.org/archives/xorg-devel/2010-June/009802.html

> Of course, wanting to do it, and having a couple weeks free to actually do it
> are two very different things.

If you want some help on this, let me know. I'm pretty familiar with
how the configuration/matching part works, but less familiar with the
Device initialization code.

--
Dan


More information about the xorg-devel mailing list