From: Sascha Hauer Subject: Re: [PATCH] drm: cleanup device registration Date: Thu, 2 Feb 2012 23:48:19 +0100 Message-ID: <20120202224819.GB1990@pengutronix.de> References: <1328183884-22972-1-git-send-email-s.hauer@pengutronix.de> <20120202123402.GZ1990@pengutronix.de> <20120202142718.285dee3f@pyramind.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [92.198.50.35]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B118A1377 for ; Thu, 2 Feb 2012 14:48:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <20120202142718.285dee3f@pyramind.ukuu.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alan Cox Cc: Inki Dae , David Airlie , kernel@pengutronix.de, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Thu, Feb 02, 2012 at 02:27:18PM +0000, Alan Cox wrote: > > 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. > > Which is obsolete and unmaintained. More of a problem would be the > various ati framebuffer drivers. > > I would like to see Linux move to the situation where if there is a > driver for a given device its either one or the other not one and some > legacy code which is just extra work. > > Doesn't need to be "all KMS" - but for any given card either/or seems > perfectly reasonable. > > The big thing that is needed is someone crazy enough to write a KMS > driver to replace vesa/uvesafb and the like. I am currently working on a layer which provides all the necessary drm glue code for simple framebuffer devices. My test driver is a Freescale i.MX framebuffer driver. This currently has < 500 loc which is less than the corresponding driver under drivers/video. I am not crazy enough to implement a vesa KMS driver, but my hope is that these tasks can become quite easy with such a layer. 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 |