On Tue, Feb 18, 2014 at 02:37:55PM -0800, Alan Coopersmith wrote: > On 02/18/14 02:19 PM, Thierry Reding wrote: > >From: Thierry Reding <[email protected]> > > > >This series introduces a new configuration section, OutputClass, which > >can be used to match an output device against a set of attributes and > >pass in additional configuration. The idea is that each DDX module for > >output drivers can ship configuration snippets that give a hint as to > >what devices they support. > > Does this also work for PCI drivers? Say if a proprietary driver vendor > wanted to include a xorg.conf.d snippet in their driver package that > enabled use of their driver instead of relying on our builtin table > mapping PCI ids to driver names? If so, cool, that's one less distro > patch I need to carry to update that table for them.
Yes, it should work for PCI drivers as well. Aaron Plattner has in fact successfully tested the previous version against the NVIDIA proprietary driver. Well, not quite successfully because the previous version appended the OutputClass matched drivers therefore causing PCI drivers taking precedence. This version should fix that. Note that this currently only works on Linux (I guess perhaps BSD also) since it matches against the DRM/KMS kernel driver name as returned by drmGetVersion(). It uses the ODEV_ATTRIB_DRIVER abstraction, though, so it should be possible to implement something equivalent on other operating systems. Thierry
pgpJLIPWEAszz.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
