From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Date: Fri, 25 Sep 2015 18:44:07 +0000 Subject: Re: No more new fbdev drivers, please Message-Id: <20150925184407.GD3383@phenom.ffwll.local> List-Id: References: <560524E7.4020707@gmail.com> <5605479A.2020903@ti.com> In-Reply-To: <5605479A.2020903@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kamil Lulko On Fri, Sep 25, 2015 at 04:09:46PM +0300, Tomi Valkeinen wrote: > > > On 25/09/15 13:41, Kamil Lulko wrote: > > Hi, > > > >> fbdev is (more or less) maintained, but it's a deprecated framework. All > >> new Linux display drivers should be done on DRM. > > > > What about no-mmu platforms? DRM has a big fat MMU dependency in the > > kconfig, is there a way to write DRM driver for such devices? > > I guess not. > > Then again, I don't see why DRM would have a hard dependency to MMU, if > the work is done to make DRM work optionally without MMU. How much work > that is, I have no idea. We have plenty drivers in drm without hw mmu, and yeah there's probably no reason at all why the drm subsystem has a hard depency on cpu MMUs. Might be some #ifdef fallout that needs to be done, but there shouldn't be anything fundamental. Maybe the old dri1 days code has something, but that's all historical cruft anyway. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: No more new fbdev drivers, please Date: Fri, 25 Sep 2015 20:44:07 +0200 Message-ID: <20150925184407.GD3383@phenom.ffwll.local> References: <560524E7.4020707@gmail.com> <5605479A.2020903@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by gabe.freedesktop.org (Postfix) with ESMTPS id 30E0A6E3AB for ; Fri, 25 Sep 2015 11:41:15 -0700 (PDT) Received: by wiclk2 with SMTP id lk2so33494062wic.0 for ; Fri, 25 Sep 2015 11:41:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: <5605479A.2020903@ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kamil Lulko List-Id: dri-devel@lists.freedesktop.org T24gRnJpLCBTZXAgMjUsIDIwMTUgYXQgMDQ6MDk6NDZQTSArMDMwMCwgVG9taSBWYWxrZWluZW4g d3JvdGU6Cj4gCj4gCj4gT24gMjUvMDkvMTUgMTM6NDEsIEthbWlsIEx1bGtvIHdyb3RlOgo+ID4g SGksCj4gPiAKPiA+PiBmYmRldiBpcyAobW9yZSBvciBsZXNzKSBtYWludGFpbmVkLCBidXQgaXQn cyBhIGRlcHJlY2F0ZWQgZnJhbWV3b3JrLiBBbGwKPiA+PiBuZXcgTGludXggZGlzcGxheSBkcml2 ZXJzIHNob3VsZCBiZSBkb25lIG9uIERSTS4KPiA+IAo+ID4gV2hhdCBhYm91dCBuby1tbXUgcGxh dGZvcm1zPyBEUk0gaGFzIGEgYmlnIGZhdCBNTVUgZGVwZW5kZW5jeSBpbiB0aGUKPiA+IGtjb25m aWcsIGlzIHRoZXJlIGEgd2F5IHRvIHdyaXRlIERSTSBkcml2ZXIgZm9yIHN1Y2ggZGV2aWNlcz8K PiAKPiBJIGd1ZXNzIG5vdC4KPiAKPiBUaGVuIGFnYWluLCBJIGRvbid0IHNlZSB3aHkgRFJNIHdv dWxkIGhhdmUgYSBoYXJkIGRlcGVuZGVuY3kgdG8gTU1VLCBpZgo+IHRoZSB3b3JrIGlzIGRvbmUg dG8gbWFrZSBEUk0gd29yayBvcHRpb25hbGx5IHdpdGhvdXQgTU1VLiBIb3cgbXVjaCB3b3JrCj4g dGhhdCBpcywgSSBoYXZlIG5vIGlkZWEuCgpXZSBoYXZlIHBsZW50eSBkcml2ZXJzIGluIGRybSB3 aXRob3V0IGh3IG1tdSwgYW5kIHllYWggdGhlcmUncyBwcm9iYWJseSBubwpyZWFzb24gYXQgYWxs IHdoeSB0aGUgZHJtIHN1YnN5c3RlbSBoYXMgYSBoYXJkIGRlcGVuY3kgb24gY3B1IE1NVXMuIE1p Z2h0CmJlIHNvbWUgI2lmZGVmIGZhbGxvdXQgdGhhdCBuZWVkcyB0byBiZSBkb25lLCBidXQgdGhl cmUgc2hvdWxkbid0IGJlCmFueXRoaW5nIGZ1bmRhbWVudGFsLiBNYXliZSB0aGUgb2xkIGRyaTEg ZGF5cyBjb2RlIGhhcyBzb21ldGhpbmcsIGJ1dAp0aGF0J3MgYWxsIGhpc3RvcmljYWwgY3J1ZnQg YW55d2F5LgotRGFuaWVsCi0tIApEYW5pZWwgVmV0dGVyClNvZnR3YXJlIEVuZ2luZWVyLCBJbnRl bCBDb3Jwb3JhdGlvbgpodHRwOi8vYmxvZy5mZndsbC5jaApfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXwpkcmktZGV2ZWwgbWFpbGluZyBsaXN0CmRyaS1kZXZl bEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZyZWVkZXNrdG9wLm9yZy9tYWls bWFuL2xpc3RpbmZvL2RyaS1kZXZlbAo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932929AbbIYSlQ (ORCPT ); Fri, 25 Sep 2015 14:41:16 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34102 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932829AbbIYSlP (ORCPT ); Fri, 25 Sep 2015 14:41:15 -0400 Date: Fri, 25 Sep 2015 20:44:07 +0200 From: Daniel Vetter To: Tomi Valkeinen Cc: Kamil Lulko , Daniel Vetter , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: No more new fbdev drivers, please Message-ID: <20150925184407.GD3383@phenom.ffwll.local> Mail-Followup-To: Tomi Valkeinen , Kamil Lulko , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org References: <560524E7.4020707@gmail.com> <5605479A.2020903@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5605479A.2020903@ti.com> X-Operating-System: Linux phenom 4.1.0-2-amd64 User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2015 at 04:09:46PM +0300, Tomi Valkeinen wrote: > > > On 25/09/15 13:41, Kamil Lulko wrote: > > Hi, > > > >> fbdev is (more or less) maintained, but it's a deprecated framework. All > >> new Linux display drivers should be done on DRM. > > > > What about no-mmu platforms? DRM has a big fat MMU dependency in the > > kconfig, is there a way to write DRM driver for such devices? > > I guess not. > > Then again, I don't see why DRM would have a hard dependency to MMU, if > the work is done to make DRM work optionally without MMU. How much work > that is, I have no idea. We have plenty drivers in drm without hw mmu, and yeah there's probably no reason at all why the drm subsystem has a hard depency on cpu MMUs. Might be some #ifdef fallout that needs to be done, but there shouldn't be anything fundamental. Maybe the old dri1 days code has something, but that's all historical cruft anyway. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch