Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1189177pxb; Fri, 21 Jan 2022 11:50:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLvORhUqpPebsSrL/7PD9KFHBwOftKAzO9JIPHncyRJR9I5TrQOCtqNqI02kFH1ToVguJ/ X-Received: by 2002:a17:902:db0b:b0:14b:28f9:cb92 with SMTP id m11-20020a170902db0b00b0014b28f9cb92mr1898803plx.65.1642794652078; Fri, 21 Jan 2022 11:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642794652; cv=none; d=google.com; s=arc-20160816; b=sKxWXPTLp8HjdkMCyWh7pb80otfyF+U//xREx4Uy7QOoq+9ql7FVF6CqeSfO+tzn9o 7KIo49nqnKnSgW/LgnQsvBjIqmzMObQY/HU/OZMUK3zpxPq6oeKPhlyvPUWooarTWYSF 4U38V0UI7OhO1x2dKulJGYEvhbpFPtiwqkB4PHH9Wd2KDtQRkym8YtWwsk+q58mBEZE5 YmgS0gUAQBHNBg7WgVz/rPu9khMF6bbzwhSYBNxT0VV3ntysZXd2RWDO1zJMuLOR8J5m Chvem4KStDNWI2+CTA+RMsb+N9LOs4W01riYJJK9sGrlzz55ppg2LQ3LeAG8CFqjaVC4 zUkg== 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=790ASOPuelDKgJCWbHfE72K9QtVauJVh+5rgqS6XWlg=; b=R4PEyNi2I2yZVR3icYNKokP8WA9fEAKIAdSVP3dtSUaF5QUpEiDTjHATy8R2Jj/qpA RWoR9odRYY3rUTE6DUl2Fxjie8jw5c2bPaHnx5zqHMv3Ix7rzH6I3lyYtyiI6COz6vNj 4ynzt9se76ZsHFLsCbgX3QncsxA1lozyEp4WwJ1sX8Oe93hfyorBDrmA5pEdWrMuB5H8 p0gXSwL4yKBx9oMh0SV55KHCLULIqOdzKZ6mZFtoZBoR8B584B9U5M0t2fewlAfs7y9e lHWwheV3kPPuFyhvNbU0iu0KwGyHIh2RRAQF/R8NgY41BoABe9EYpEMjUdj9XYE5Uvvd KUpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=IO5N5LDn; 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 u5si6689356plz.74.2022.01.21.11.50.40; Fri, 21 Jan 2022 11:50:52 -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=IO5N5LDn; 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 S1356251AbiASQ4v (ORCPT + 99 others); Wed, 19 Jan 2022 11:56:51 -0500 Received: from mout.gmx.net ([212.227.17.21]:46323 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356239AbiASQ4q (ORCPT ); Wed, 19 Jan 2022 11:56:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642611383; bh=790ASOPuelDKgJCWbHfE72K9QtVauJVh+5rgqS6XWlg=; h=X-UI-Sender-Class:Date:To:Cc:References:From:Subject:In-Reply-To; b=IO5N5LDnCrJ/sUXAXxb0DnYgrElXjrComLAgS5+zl6QcmTfdrRdy5Kb2UaCNF56AO 4+chFyFSKxgAbG7fOYdjkHGvRXIrJbZAmmPUiwBwdOrKGZLZ38TZsoqilXSHUiahBC JSVeomxeOmq9hdljttLWEO4gLj5fKJY3ILBvGG0k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.183.52]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MxDkm-1mLj6F233Y-00xZhO; Wed, 19 Jan 2022 17:56:23 +0100 Message-ID: <408c5dbd-a915-e3fc-fafb-738f6badc91a@gmx.de> Date: Wed, 19 Jan 2022 17:55:15 +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 , Sven Schnelle , Daniel Vetter Cc: Linux Fbdev development list , Daniel Vetter , Linus Torvalds , Javier Martinez Canillas , DRI Development , Linux Kernel Mailing List , Tomi Valkeinen , Claudio Suarez , Gerd Hoffmann , Pavel Machek , Greg Kroah-Hartman , Geert Uytterhoeven , Sam Ravnborg References: <20220119110839.33187-1-deller@gmx.de> <20220119110839.33187-3-deller@gmx.de> <4d8950c7-5f51-ca2b-4c93-741c7805a214@gmx.de> <8735ljkboo.fsf@x1.stackframe.org> From: Helge Deller Subject: Re: [PATCH 2/2] Revert "fbcon: Disable accelerated scrolling" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mCGZru8DeL3paShNjPqKyVgOekHsVUXzqSNQGg8DN6QsWjcg8iB nClHsEFZqoJUpviM1uVCxS1J5nDqsatiawqr+YD8RCrVJwTO62HJwFWKznhIwkZGf0Tqjin 1gDbcTWRjMkW2BAJnIIPKFHUzS5ZNgxVXyzAHI0oBdodkkt+VAnXTQCBK2kJxY010TNf7jr nYMC5mUkUFMU9uTKjjwaA== X-Spam-Flag: NO X-UI-Out-Filterresults: not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VRxL Kil8RcyDRtUwhF8SfB57lCaoEgFzIHeGqvsJd5WUG2jrfpyDpbD/5Hs8vw89tK95IGUVnZIMh 1iFE/XW/in0eYI= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On 1/19/22 16:37, Thomas Zimmermann wrote: > Am 19.01.22 um 16:05 schrieb Sven Schnelle: >> Daniel Vetter writes: >> >>> On Wed, Jan 19, 2022 at 3:01 PM Linus Torvalds >>> wrote: >>> Irrespective of this code being buggy or not buggy I think the bigger >>> pictures, and really the reason I want to see as much code ditched >>> from the fbdev/fbcon stack as we possible can, are very clear: >>> >>> - it's full of bugs >>> - there's no test coverage/CI to speak of >>> - it's very arcane code which is damn hard to understand and fix issue= s within >>> - the locking is busted (largely thanks to console_lock, and the >>> effort to make that reasonable from -rt folks has been slowly creeping >>> forward for years). >>> >>> Iow this subsystem is firmly stuck in the 90s, and I think it's best >>> to just leave it there. There's also not been anyone actually capable >>> and willing to put in the work to change this (pretty much all actual >>> changes/fixes have been done by drm folks anyway, like me having a >>> small pet project to make the fbdev vs fbcon locking slightly less >>> busted). >> >> Saying it's stuck in the 90ies, and actively trying to prevent >> Helge from taking over maintainership at the same time looks odd. > > The issues are in the design itself. It's impossible to model today's > hardware and constraints with fbdev. It's impossible to change > configuration in a reliable way (i.e., what DRM calls atomic). Fbdev > mmaps plain video ram to userspace, which is one of the reasons why > DRM's fbdev support is hard to improve. That's fully understood, but I think you are mixing up things here... The fbdev userspace api is most likely not the best way forward. I'm sure that drm can and will provide better solutions for userspace. And userspace will surely pick up those new interfaces. DRM folks will drive it in the right direction, I'm sure! But in addition fbdev/fbcon is the kernel framework for nearly all existing graphic cards which are not (yet) supported by DRM. They need fbdev/fbcon to show their text console and maybe a simple X serv= er. If you break fbdev for those cards, they are completely stuck. Hopefully those drivers will be ported to DRM, but that's currently not easily possible (or they would be so slow that they are unuseable). So, I don't think you should try to improve DRM's /dev/fb0 support further= , but instead work forward for a new interface which perfectly suits DRM. That's Ok, and my goal is not to prevent that. >> I think Helge should at least get a chance to fix the issues. If the >> state is still the same in a year or so it should be discussed again. > > You cannot fix that in 10yrs. > >> >>> The other side is that being a maintainer is about collaboration, and >>> this entire fbdev maintainership takeover has been a demonstration of >>> anything but that. MAINTAINERS entry was a bit confusing since defacto >>> drm has been maintaining it for years. >> >> It was marked as 'Orphaned'. Anyone is free to send a Patch/PR to take >> over maintainership. If you have strong opinions about that code (And y= ou >> obviously have reading your mail, set it to 'maintained' and care about >> it. Everything else is just wrong in my opinion. > > No, it's not wrong. Helge takes fbdev over the weekend, without notewort= hy experience, and ignores advice from the people that have kept it alive = over the past years. This isn't going to work in the long term. > > Best regards > Thomas > >> >> /Sven >