[PATCH 16/36] xf86: load modesetting driver on Linux hotplug
airlied at gmail.com
Tue Jul 3 03:07:27 PDT 2012
On Mon, Jul 2, 2012 at 11:55 PM, Keith Packard <keithp at keithp.com> wrote:
> Dave Airlie <airlied at gmail.com> writes:
>> From: Dave Airlie <airlied at redhat.com>
>> This driver is currently really the only choice for a hotplug
>> at the moment, we can refine this in the future to try and
>> pick the driver names.
>> We have to reload this as it can get unloaded it not used
>> in the original probe.
> Should xf86platformAddDevice be doing this module load instead? It's got
> the module name sitting there. Duplicating kludges for "modesetting"
> across two functions seems sub-optimal after all.
Yeah I've merged this into the hotplug functions in xf86platformBus,
once I get to having some hw other than modesetting driven USB
devices, I will probably revisit,
the split out a bit more, but this is will work perfectly well for all
current use cases.
More information about the xorg-devel