Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3634458imm; Mon, 18 Jun 2018 01:14:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKICuO7FRlmKxTvVd5Y1jtH9HDwPzi0L9HqYJeiCiySYoxdIisYlGuBUo/T1/nTumHJ/WdDY X-Received: by 2002:a65:49cb:: with SMTP id t11-v6mr10025179pgs.218.1529309654853; Mon, 18 Jun 2018 01:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529309654; cv=none; d=google.com; s=arc-20160816; b=bQKRPkcI6dKbk9h521J7jfkduekV0x4id23wQUNNdldJEwRHjBX9+BD1mNWNcDNraW cS/cxG8anvt1s/SFVU7LyT6sZMa6EeSrmLQnQ28NrNfuKJydkQDQOmToIvQiN3N9cjxF mdTRutGsDEmGg3ckipk/DEazIOf4FnQCZJqddi1xQCgP+siRlVPxsS2V+fuOQToT4OjY tT/B1cAJaTcoGatR49iVDKgnCGLPwpG/oGL/RJxQNN6lotiHwVTIi6HAO10l5eeuj2tb wiRQZwfaVlaDdAVZYD+u6kjE9qRsGo0IdtnDQ0e003x9SRBYWCiuMbg1WDDBq9nnINrj Vd4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=2dPFtroTXbedOtBBLnpJvcc/WiudRQXBF9oapdSuPKQ=; b=hKAihschG+ActmZf2QlBRxqpbjgx2z0ZDKsd606IIpwQ4WMK6Cb3KNCM2ImdfyO7Se yQAljyVmvfMkYUVkl0hrRyiDOmxahw6PaoNBrKnubVu83VdfMKmXfOG2PwxktbRmFj/M UqdCDc9ktRBTwrrd20h9SjGjkm+ntfnSzrPdCDnF1FLttJrA8skfbhq0ZQqxgMa/aUmE 74zzYV8jMKLZ5lN1L5mHDAGDMHTeDRO1vKc9yOeXCTlNv6HfqO07dJMBO/dmeAuY9ML4 uLqtzHzowviWRUBIM5mCTHB4q6DABpb72pmhHdsiahBytzS8AC78J6lb4eFqh51ubJ62 Etlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=ubzrYzLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si11622086pge.373.2018.06.18.01.14.00; Mon, 18 Jun 2018 01:14:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=ubzrYzLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933334AbeFRINV (ORCPT + 99 others); Mon, 18 Jun 2018 04:13:21 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:53896 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932650AbeFRINT (ORCPT ); Mon, 18 Jun 2018 04:13:19 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 841E15C00F6; Mon, 18 Jun 2018 10:13:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1529309597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2dPFtroTXbedOtBBLnpJvcc/WiudRQXBF9oapdSuPKQ=; b=ubzrYzLKTmJeeEaBdOBIJG4a+L8ceIyimjVU4+nNe4Z05XBJUYJV+TQ135ALtEmy1J09wf jI4uwiu+G6UwN35X0VoOgOW4R5IV1cBW0aPL5aKnt8KYtU09owKo/8QXvVF7tS73L9sovP 3SBDtOxJUU02vcyQyVDHmKymXWkIx64= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Mon, 18 Jun 2018 10:13:16 +0200 From: Stefan Agner To: Marek Vasut , Daniel Vetter , Sascha Hauer Cc: Leonard Crestez , festevam@gmail.com, marex@denx.de, shawnguo@kernel.org, devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, marcofrk@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, dl-linux-imx , kernel@pengutronix.de, Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/3] drm: mxsfb: Change driver.name to mxsfb-drm In-Reply-To: <20180618074320.GS3438@phenom.ffwll.local> References: <47ea7572011735b68a8a70f0e11bdf00cb2fd86a.1529091248.git.leonard.crestez@nxp.com> <07be6d9a85b6be655fc2b084be81d8bf9715b57a.camel@nxp.com> <638457fd-85da-8fec-d146-517c43f71813@denx.de> <6995fa4b-47a9-887b-5e4f-4284ca6a2c79@gmail.com> <20180618074320.GS3438@phenom.ffwll.local> Message-ID: <85308177b3679d1103feee7a2b6e5879@agner.ch> X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.4 X-Spamd-Result: default: False [-2.35 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWELVE(0.00)[16]; TAGGED_RCPT(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; URL_IN_SUBJECT(0.40)[driver.name]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:29691, ipnet:2a02:418::/29, country:CH]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-2.65)[98.45%]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18.06.2018 09:43, Daniel Vetter wrote: > On Sat, Jun 16, 2018 at 01:32:44AM +0200, Marek Vasut wrote: >> On 06/16/2018 12:42 AM, Leonard Crestez wrote: >> > On Fri, 2018-06-15 at 23:36 +0200, Marek Vasut wrote: >> >> On 06/15/2018 10:58 PM, Leonard Crestez wrote: >> >>> On Fri, 2018-06-15 at 16:47 -0300, Fabio Estevam wrote: >> >>>> On Fri, Jun 15, 2018 at 4:43 PM, Leonard Crestez >> >>>> wrote: >> > >> >>>>> The FBDEV driver uses the same name and both can't be registered at the >> >>>>> same time. Fix this by renaming the drm driver to mxsfb-drm >> >>>> >> >>>> Stefan sent the same patch a few days ago: >> >>> >> >>> In that thread there is a proposal for removing the old fbdev/mxsfb >> >>> driver entirely. >> >>> >> >>> That would break old DTBs, isn't this generally considered bad? Also, >> >>> are we sure the removal of fbdev/mxsfb wouldn't lose any features? >> >>> >> >>> What my series does is make both drivers work with the same kernel >> >>> image and turns the choice into a board-level dtb decision. Supporting >> >>> everything at once seems desirable to me and it allows for a very >> >>> smooth upgrade path. >> >> >> >> Having two drivers in the kernel with different set of bugs is always bad. >> >> >> >>> The old driver could be removed later, after all users are converted. >> >> >> >> Both drivers were in for long enough already. And let's be realistic, >> >> how many MX23/MX28 users of old DTs with new kernels are there who >> >> cannot update the DT as well ? >> > >> > Grepping for "display =" in arch/arm/boot/dts/imx* I see that old >> > bindings are also used by 3rd-party boards for imx6/7: >> > * imx6sx-nitrogen6sx >> > * imx6ul-geam >> > * imx6ul-isiot >> > * imx6ul-opos6uldev >> > * imx6ul-pico-hobbit >> > * imx6ul-tx6ul >> > * imx7d-nitrogen7 >> >> Er, yes, a handful of boards which could be updated :) >> >> > Converting everything might be quite a bit of work, and explicitly >> > supporting old bindings is also work. >> >> Does adding support for old bindings justify the effort invested ? I >> doubt so, it only adds more code to maintain. >> >> > It is very confusing that there is a whole set of displays for imx6/7 >> > which are supported by upstream but only with a non-default config. >> > While it is extremely common in the embedded field to have custom >> > configs the default one in the kernel should try to "just work". >> > >> > Couldn't this patch series be considered a bugfix? It was also >> > surprisingly small. >> >> I think it's just a workaround which allows you to postpone the real >> fix, and I don't like that. > > Yeah agreed, imo the proper fix here would be to either update the dts for > the affected boards and/or make mxsfb accept the old dt bindings for > backwards compat. Artificially extending the life of the fbdev drivers > seems silly. We shouldn't have merged a DRM driver with a driver name which conflicts with an existing driver... If anything, this is artificially shortening the lifetime of the fbdev driver :-) Again, I am ok with removing the driver. I just think it is silly to do it just because of the conflicting driver name. Maybe Sascha, original author of the mxs fbdev driver has an opinion on this? -- Stefan