[PATCH 08/36] xfree86: add platform bus hotplug support (v2)
Keith Packard
keithp at keithp.com
Mon Jul 2 11:37:01 PDT 2012
Dave Airlie <airlied at gmail.com> writes:
> +int
> +xf86platformAddDevice(int index)
> +{
> + int i, old_screens, scr_index;
> + DriverPtr drvp = NULL;
> + int entity;
> + screenLayoutPtr layout;
> +
> + for (i = 0; i < xf86NumDrivers; i++) {
> + if (!xf86DriverList[i])
> + continue;
> +
> + if (!strcmp(xf86DriverList[i]->driverName, "modesetting")) {
> + drvp = xf86DriverList[i];
> + break;
> + }
Am I right in assuming that this means that only the 'modesetting'
driver can have hotplugged devices? Would we need changes in the driver
ABI to make this more general?
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120702/b4b5f6c5/attachment.pgp>
More information about the xorg-devel
mailing list