[RFC 0/3] Support autoloading of non-PCI drivers
Thierry Reding
thierry.reding at gmail.com
Thu Feb 13 05:22:13 PST 2014
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.
Patch 1 is preparatory work to store the name of a device's kernel
driver for later use.
Patch 2 adds the new OutputClass section that for now only supports
matching by kernel driver name and providing the name of the DDX module
to load for a matching device.
Patch 3 in this series makes use of these configuration snippets to
auto-load drivers for a particular device.
Thierry
Thierry Reding (3):
xfree86: Store kernel driver name in platform device attribute
xfree86: Introduce OutputClass configuration
xfree86: Support driver loading via OutputClass
hw/xfree86/common/xf86platformBus.c | 78 ++++++++++++++
hw/xfree86/man/xorg.conf.man | 74 +++++++++++++
hw/xfree86/os-support/linux/lnx_platform.c | 12 +++
hw/xfree86/parser/Makefile.am | 1 +
hw/xfree86/parser/OutputClass.c | 167 +++++++++++++++++++++++++++++
hw/xfree86/parser/configProcs.h | 5 +
hw/xfree86/parser/read.c | 6 ++
hw/xfree86/parser/write.c | 2 +
hw/xfree86/parser/xf86Parser.h | 9 ++
include/hotplug.h | 2 +
10 files changed, 356 insertions(+)
create mode 100644 hw/xfree86/parser/OutputClass.c
--
1.8.4.2
More information about the xorg-devel
mailing list