Re: [PATCH] drm: cleanup device registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 02, 2012 at 07:05:00AM -0500, David Airlie wrote:
> ----- Original Message -----
> > From: "Sascha Hauer" <s.hauer@xxxxxxxxxxxxxx>
> > To: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> > Cc: "Inki Dae" <inki.dae@xxxxxxxxxxx>, kernel@xxxxxxxxxxxxxx
> > 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.

I see. For example the i810 also has a framebuffer driver. Do you see
a way to fix this except writing a kms driver for all legacy devices?
Otherwise I would leave the pci part untouched and only keep the
platform/USB pieces which I'm admittedly more interested in.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux