Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5550525pxb; Wed, 19 Jan 2022 22:45:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0lZShAbvrmXvygO/hLpnZBfMVQtymKtWjtVRuXsiHkp3n1wSj+IsqrTP2Z4fU31CnvvDu X-Received: by 2002:a05:6a00:2181:b0:4c1:3b84:b43f with SMTP id h1-20020a056a00218100b004c13b84b43fmr34306723pfi.50.1642661149654; Wed, 19 Jan 2022 22:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642661149; cv=none; d=google.com; s=arc-20160816; b=zZG90aEa8IpukKO8MMJ0KV46U9/YKM8uxE6DzyV+3zHuvjGusDuziSVAqma4N3WLnH hYngHN/HSzkukv8okjzjAd/MMfOWPV2QptddDeV4Z7MaDF8nJFoCcIE64Suj4/dhhdgG fQsVe1PMkqGGW5+cQb2+QgpqmKrxoJa/LoqV/d4gqr8KYlwJAzyCzLwkWmS1TKOOT7cX qLXumfIkDViYzVBzEGT78Fq5JkbzyQpfmdOdByBc8N80+whPkFLNOKeuwC9PwRhVaJKM b6mzU2leX/TZ1j53er6geA51JRes184iw0AmCV5umjvSfUbaC5UrAaLwx4zDsW+mVwS4 NCgQ== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=HdYeDpFlbNy0FZx9I0iofA/ZoIuwXS07A3gJjUKqTq8=; b=wvKrauuGH65sFQfEVa89wlsakwXE7/5osVpsWINNDu07G3UWJT4SiRF6QJbQ15QOd6 nuD9Ws1D3ATe1NQWcD8VZQnhhSu93aMsEvISCQEj4viKpqTukCCF2Phm0DazD3adgN1a eCzx+GY8dn1yHFiEAlXrVdmlG3Lr++YWzkJMxuKoIpdMXpkojeQNYr0tPFNiNEq8weYr 0wDrjA8Wvvz8zbiK8ykyRvZMy0rjyZMuPpQGIiDy5gi+AvWJ6nL1Aht7X+ayRrQRkmTN lyCTTiEhSoeBZneS7bcDBkTZUCOZcxuVdiykYDGj5zZkTbbMBf53cKmD/UH3bZuIWZI7 LQ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=FUoqr2g6; 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 124si301791pgg.761.2022.01.19.22.45.38; Wed, 19 Jan 2022 22:45:49 -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=FUoqr2g6; 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 S237825AbiARKpm (ORCPT + 99 others); Tue, 18 Jan 2022 05:45:42 -0500 Received: from mout.gmx.net ([212.227.17.20]:36519 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235240AbiARKpm (ORCPT ); Tue, 18 Jan 2022 05:45:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642502731; bh=JW+QcUwSTe/qvoccvRFDM6uCr/IeefTcWJCBZIb73JE=; h=X-UI-Sender-Class:Date:Subject:From:To:Cc:References:In-Reply-To; b=FUoqr2g6SrdxgbR7s3ZBQzgB6sf5/IzzwT+GDFZBQPHyfBcjzHzRbEwEzMKAhnT4M pXZAH9qJYjA53LMfM5wG4P2aICpoxOeK9PAiKq7Am7HlpfCUKhWMNcgQ6uGvM1fgaN MbtZ/oV0MDQ8ah9iW0mAWS9rph88+IHgV6ltWy88= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.155.155]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N7zBb-1mEFXF39ON-0154Gr; Tue, 18 Jan 2022 11:45:30 +0100 Message-ID: Date: Tue, 18 Jan 2022 11:44:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer Content-Language: en-US From: Helge Deller To: Gerd Hoffmann Cc: Daniel Vetter , Linux Fbdev development list , Sven Schnelle , Linux Kernel Mailing List , DRI Development , Javier Martinez Canillas , Geert Uytterhoeven , Thomas Zimmermann , Linus Torvalds References: <20220117125716.yjwxsze35j2ndn2i@sirius.home.kraxel.org> <70530b62-7b3f-db88-7f1a-f89b824e5825@suse.de> <57d276d3-aa12-fa40-6f90-dc19ef393679@gmx.de> <20220118062947.6kfuam6ah63z5mmn@sirius.home.kraxel.org> <20220118091615.3ih5n7vhd6tgmnku@sirius.home.kraxel.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:lmGpmKheriWIpGTC9y29Op8mC39RE4Ab6zzfHl/6o98L6WwynYR 6NhK0wilkiCZsfmY5AWLyEJK9Lghxg5Zja6JIpAExEb+wWiIC+fvJnLTfDG2u/+cDFHUPl+ oDLW0D58BnAwNvS85SrQc1Eh3cdbwyFcpoKE9X8yvJ6GcxwbWjuUHOw3ZhauRyPDJZsptAd OHXGO4NEsQm1qxmdUNNag== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TGVFCWwRQW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rsDwb5YzC7Rvn573J8kFhF0jJnvZEDtoGzy2Ugmfl 2FMGI/43j5SOy8= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/18/22 11:13, Helge Deller wrote: > On 1/18/22 10:16, Gerd Hoffmann wrote: >> On Tue, Jan 18, 2022 at 09:20:43AM +0100, Helge Deller wrote: >>> On 1/18/22 07:29, Gerd Hoffmann wrote: >>>>> Please correct me if I'm wrong, but text-console emulation/scrolling= on DRM is >>>>> currently unaccelerated and bound to Truecolour modes only, >>>> >>>> Yes. Adding support for formats beside argb8888 to the drm fbcon >>>> emulation shouldn't be that much of a problem though. >>> >>> Really? Assuming a graphic card which runs with only 256 colors frameb= uffer >>> is easily supported by DRM, and you can use fbcon without using lots o= f memcpy()? >> >> Driver: programming a fixed color cube palette, then use RGB332. >> >> fbcon/fbdev emulation: RGB332 support must be added I think. But both >> argb888 and rgb565 are supported today, so it should not be hard to fin= d >> the places where you have to add some code to handle RGB332 too. > > I'd expect that that framework is provided by DRM developers if there is= the wish > to get rid of old fbdev and transition existing drivers over to use DRM. > >>>> Acceleration is harder. The scroll acceleration had issues nobody >>>> addressed for years, and on modern hardware it is simply not used, wh= ich >>>> is probably the reason nobody stepped up fixing things and it ended u= p >>>> being dropped. >>> >>> The DRM layer doesn't use scroll acceleration. >>> More than 30 other existing fbdev drivers use it. >> >> Yes. The world shifted from 2d acceleration to 3d acceleration. Moder= n >> hardware simply has no classic blitter any more. Which is a problem >> when it comes to keeping scroll acceleration alive, it is already a ver= y >> niche use case and it will only become worse ... > > For me it's Ok that the DRM drivers don't use 2d acceleration (as it is = today > with the arguments mentioned multiple times). > But the patches broke existing fbdev acceleration which is available by > the fbdev drivers. That's a big regression from point of fbdev. > >>>> Bringing it back is much more work than just reverting the commits re= moving it. >>> >>> Reverting those commits have no effect on DRM's usage of fbcon. >>> But reverting those commits bring back scroll acceleration for all oth= ers. >>> I'm trying to find out which patches did apparently fixed such issues >>> for the REDRAW case. If you have a pointer it would be helpful. >> >> IIRC the code had a bunch of races and syzkaller flagged problems. >> I didn't follow very closely though. > > That's sad. > Nevertheless I wonder if the changes which were apparently done for > the SCROLL_REDRAW case (on the higher level?) didn't also fixed the issu= es > for SCROLL_MOVE. I've just looked through all patches in drivers/video which were tagged with syzbot or syzkaller back to year 2005. The vast majority fixed the reported issues on a higher level, e.g. when screen is to be resized, or when font size is to be changed. The few ones which touched driver code fixed a real driver bug, e.g. by adding a check. NONE of those patches touched either the SCROLL_MOVE or the SCROLL_REDRAW = case. That means, I see no reason why SCROLL_MOVE had to be ripped-out and just SCROLL_REDRAW had to be used instead, other than simply "it's not being used by DRM, so let's pull it out". The patches which removed SCROLL_MOVE support simply ignored the fact that SCROLL_MOVE is still heavily used by fbdev (non-DRM). I don't see a reason why the two patches which removed SCROLL_MOVE shouldn't be reverted. Or what am I missing? Helge