Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5528365pxb; Wed, 26 Jan 2022 14:12:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1AUa1zRnorM41uaEwSWn7Uhb+yK3oVPHJ//EQaDC4ykE3iwj/PF0UJ6RkMfbiQrdRDEpT X-Received: by 2002:a05:6402:1d4a:: with SMTP id dz10mr1039283edb.202.1643235171777; Wed, 26 Jan 2022 14:12:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643235171; cv=none; d=google.com; s=arc-20160816; b=PxGin0uZ6dOA7pBHCieSkjAXZszQ1TOUrtshxhpkvpteC4TzXypf57jNGN+YnH/FdO 21IZWrqvXTKa1fgdP10t46pT1pu/JcPdfedY49d3NExxgQwocITEi0GkF492PY0Y3TRh SIByFpcAg+zSmtGphqQv+0utJHHDawuqq13pj2AfnoEXT6RRLwTBa+YjXh8fGJqPdDib VRbQP6Cwp6lQr1e60hkoJVtuWRwEo+XzGulP5ZwAUL5bjN11P4JbQJtE/ue3lSG9CaJu 6Fdmxu3iNUrUjOXggo6j8M1/4wkUqM+ofUMvWNO8KXuF85MrqsJ+/UvQ9V/6KO+aEBc5 ENpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=NwpKnTisJGmuQssXI5Rj7DsKIM8cUfD+jJVvdsCB0XY=; b=UOHuOtjZPxZFW3Zvtsg4E/RD9JvWMfliOyZoluewM/PF7KjatKOe0TFGMVwy7MbjPF OvU+a9QIoaIKkJZGpnF+dGnLg81eWp0Vo8njRCtPP1rJ3hdQ5L1DAD7bhdFAXakvIL1j zfZh8SsTZYVLzRizqb2tUiwNK2rZyS2ei8ShjtUEEaLBPFds1yqtaWwoeGwiFqLp6Srt dUMX3noB94sxpp6jKDAwSGHnbF+a96LhNvHZULtcZbdf5f1xJNWvqnnOAie26ZAiXwuo fffBlQfR5tAlwPWLJKJ0rlUgKUhn8tD1rDGv9B5qpnYACTap41Nc+FhEK3pQisPfF8Zn DeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Cror795F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si244652ejm.633.2022.01.26.14.12.25; Wed, 26 Jan 2022 14:12:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Cror795F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233413AbiAZP4V (ORCPT + 99 others); Wed, 26 Jan 2022 10:56:21 -0500 Received: from mout.gmx.net ([212.227.15.15]:53185 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233161AbiAZP4U (ORCPT ); Wed, 26 Jan 2022 10:56:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1643212548; bh=E7ISE7GQD0/qoufruRmrS+ak1BLXOdtSXna02CfJuqE=; h=X-UI-Sender-Class:Date:To:Cc:References:From:Subject:In-Reply-To; b=Cror795FglamWfFgkSa+Z07laV66Fm+edlkcYlRiOJAYHlObebVw3UN20jJvzujlj RbWvksoKzHnfTdndb7GMRXreo5Bx+6bQhUUzg4lVBU0zZ8wL60fX5aH+TJcGEcyxtp Z4uwxeHeFkSvegc9qtizTzZyRioE6AL+90jMiRT4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.143.57]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRCOE-1mrnUG2sdQ-00NE5d; Wed, 26 Jan 2022 16:55:48 +0100 Message-ID: Date: Wed, 26 Jan 2022 16:54:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Content-Language: en-US To: Thomas Zimmermann , Andy Shevchenko Cc: Andy Shevchenko , linux-fbdev@vger.kernel.org, Michael Hennerich , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phillip Potter , Carlis , Lee Jones , Heiner Kallweit References: <20220125202118.63362-1-andriy.shevchenko@linux.intel.com> <991e988b-7225-881b-a59a-33c3eae044be@suse.de> <3877516e-3db3-f732-b44f-7fe12b175226@gmx.de> <75a10e6f-ade7-01d9-9523-9a1936f8a2cc@suse.de> From: Helge Deller Subject: Re: [PATCH v1 0/4] fbtft: Unorphan the driver for maintenance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:wLeX3lW85cf04BQA7+bhtz676rHQMTVZ4yZFry1X8quEdLDGNDN 80kzr00Fs9Gk7oyOQx3m49TbT83qHKm9jCXlRejPx8sqILNasEeWRYrzBAg04s0HXuNdLAu SqK7z87HbjY0Sh6ddxF+xL/xhDTK1x335kBGwuVj2SyzCnDOqua9W8PXmG4yLG21n8ruotj AYP/XvyPGa6/7cJsOdViQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lrySdbHoy2s=:fa2jRWfRaC0uf7ZMaZzVFT xlqbQBSc7+Eerzi9kGXMhWjtJ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jWo/EA= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/26/22 16:02, Thomas Zimmermann wrote: > Hi > > Am 26.01.22 um 14:32 schrieb Andy Shevchenko: >> On Wed, Jan 26, 2022 at 12:41:41PM +0100, Thomas Zimmermann wrote: >>> Am 26.01.22 um 11:59 schrieb Helge Deller: >> >> ... >> >> >>> It's always for the same reason: the hw is old and devs have moved on. >> >> It's pity to have a working system with an old hardware that no one in >> the kernel community gives a shit about because simply they are not in >> the same boat. Try to be on the people's position... > > Yes, I do care about old hardware. Yes, I know. I saw various articles about it. > I made helpers for converting fbdev drivers to DRM. I even made the > initial commits for those drivers where I could find the HW on Ebay. [1]= > [1] https://gitlab.freedesktop.org/tzimmermann/linux/-/tree/fbconv-plus-= drivers Just out of curiosity, does the tgui driver you patched there is now supported by DRM? I couldn't find it (just the tridentfb fbdev driv= er), so I assume it's somehow handled by simpledrm instead? > I made sure that every single of them at least gets fbcon onto the > screen. So interested devs could start immediately. Yet, no one ever > showed up to convert even a single driver. Both Geert wrote about that he was trying to convert a driver. The same is true for Sven where he came up with a prelimarary visualizefx driver... Both had issues which currently prevent that those drivers get finished. > As it stands, 90s PCI hardware is currently supported by DRM's > simpledrm as long as the device has VESA. Good. Some of the drivers in fbdev are for non-x86 architectures and don't have a VESA BIOS. Is is possible that simpledrm could (theoretic= ally) support those too? > The performance is at least usable on AthlonXP-era computers. Now the > owners of these devices at least have a chance of using modern > graphics userspace. Yes. > That userspace is important: graphics drivers don't live in a vacuum. > There's no point in having one if it requires extra support from all > other components. And there's more: > > =C2=A0* Occasionally, fbdev gets in the way of DRM. Just this week, we f= ixed a related bug. [2] > > =C2=A0* Fbdev's mmap semantics is the reason why it's hard to do fast in= DRM. > > =C2=A0* Maintaining both stacks, DRM and fbdev, adds work to kernel, use= rspace and distro devs. > > Therefore, anything we do that keeps fbdev alive is a step backwards and= a burden on the overall Linux graphics community. That's understood and I don't disagree. The earlier drivers are converted to DRM the better. I probably don't even have any issues with dropping fbdev & drivers for th= e x86, ARM64, s390x & ppc64 platforms - I think many older cards aren't used= either used (anymore), or your simpledrm may cover the most common cards. I think the patches we currently jointly develop to disable fbcon accelera= tion is exactly going into this direction. The problems I see are mostly on non-x86 architectures or corner-case usag= es like embedded devices or special machines. They may be oldish, but still b= eing used. Those machines would completely loose their console without fbdev. > Please excuse my ranting, but fbdev proponents seem to be ignorant to > all these points. It's apparently all about 'my console is slow'. Your ranting is fair, but I wouldn't say I'm ignorant to your arguments. Of course performance is relevant, or would you exchange your car which today is capable to drive 100 mph with another car which only drives a maximum 10 mph? (Yes, that's around the factor of speed decrease= I see). Or even worse: suddenly not being allowed/able to drive your car at all? Helge