[PATCH] drm: cleanup device registration

David Airlie airlied at redhat.com
Thu Feb 2 04:05:00 PST 2012


----- Original Message -----
> From: "Sascha Hauer" <s.hauer at pengutronix.de>
> To: dri-devel at lists.freedesktop.org
> Cc: "Inki Dae" <inki.dae at samsung.com>, kernel at pengutronix.de
> Sent: Thursday, 2 February, 2012 11:57:52 AM
> Subject: [PATCH] drm: cleanup device registration
> 
> The non modesetting drm drivers currently use a handcrafted pci probe
> function. This requires the drm core to keep a list of registered
> devices
> for each driver. This series adds a probe function for the non
> modesetting
> drivers and removes the legacy probe code. The USB and platform
> drivers
> use the devices_list aswell which is unnecessary. This is also
> cleaned
> up in this series.

No it can't work like this because we have conflicts between fb and drm drivers, so the DRM is required to do its own
probe if an fb driver for a device is already loaded.

it can't use the PCI probe out of the box.

Dave.


More information about the dri-devel mailing list