Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3361412pxb; Mon, 17 Jan 2022 18:36:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJziTkOrR7o+9N8g4US/xaR12lRSF3XVpJbZGSZ7Yxbp/p41zYBWEHoEdspy63QrTfr1kZWE X-Received: by 2002:a63:7845:: with SMTP id t66mr21934672pgc.103.1642473368018; Mon, 17 Jan 2022 18:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642473368; cv=none; d=google.com; s=arc-20160816; b=fqZ24qXyCl97e7rkNVSiu7noqZMIwfNlbjKsgnHMdzDYCjE1A+heHtN7bHDX6kUgeZ xDTO6QFQjTEpPUrfTYedlDQJURq5ukV8jpVKb5NKyIn0xFL1uD1VFqElHzV7FefkUNY0 v46V7Bu7otfTrJO9Ieqq3RCc7kqRT0zbOm6wshPt4XxBqqFUVNlpVkM6fSHpY2tRZcna Hs8Lmj6DRjVuNVm7BwQ7AIl7H5zBWxl6jcEE1taX53QwC9K9/l6owN6iFlTKmL1ZBuTq rXzntAQ5Yo2gCV7r/uB1yQ5/4ndxEGDPOEM56zhVTJi4Bh3X7brDYA0zxOS7/4AYi3WW pG3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Xb6Xz/p6AOnoqXyB/drggXWeBac9JwzmuHmNubGerzg=; b=wd8vPooJTyIT2ApU2SAwHsn9TfRC6JI1Sg8ifAk3S6Y6Ye4rJJbKKhi2AT83Sq6Bqz o5gxgOZgyY8DL5QyiaxF3YyD5KLPDva4u4EaT2SDXSuI93Kk88cvAxCmXK/lhSxiOtKj In0wO4cSU5xqGFBms1GJiJL0xnKzStzE6mEmL44K6pEkHkyW3Zzd0uAKGFtFC8UXNUbg GtHgJblAVyKbTn71Vb+mFKred9X3Fux+TuTWNk58oXVcCiGUf720Iz7Dp3dHN+w4Aby4 B+/7mRKA2EVijmFFcSgY386f7PIv6lhey3ihbyYnjhiS2nmq8LNwU8ILTLt5UYE99LQw 4uUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=Sc4bFJ6k; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mn18si1211052pjb.89.2022.01.17.18.35.56; Mon, 17 Jan 2022 18:36:07 -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=@ffwll.ch header.s=google header.b=Sc4bFJ6k; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240679AbiAQP4Z (ORCPT + 99 others); Mon, 17 Jan 2022 10:56:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240675AbiAQP4X (ORCPT ); Mon, 17 Jan 2022 10:56:23 -0500 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9061EC061574 for ; Mon, 17 Jan 2022 07:56:23 -0800 (PST) Received: by mail-oi1-x231.google.com with SMTP id w188so23963914oiw.13 for ; Mon, 17 Jan 2022 07:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xb6Xz/p6AOnoqXyB/drggXWeBac9JwzmuHmNubGerzg=; b=Sc4bFJ6kmqbF0nE/+hvj3odKgssDSJ1bp81szybNpUwN5yMpdGlm9MWppbHy3TaWuZ jgbYomFnHa3MfzYnTtUloN3yuggyCQ9hF4OQp4tJiUvbT8VIOYcZobWvZ9+YzOtey6V4 L+HnZ7nHk1vFMw43Rj/kn5vd5r0cv0ZYWFaFQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xb6Xz/p6AOnoqXyB/drggXWeBac9JwzmuHmNubGerzg=; b=42SIFICbbjCvuzG2HCDTgDYbdEyb6rDrndxeuowysLI5rUxN4VOCl9nWKtwsmXIkxq ToT3wTgeqgK3hpQDQfFZ2cUbRwtQrv9xitrGow/EqSpo+Wd7zho9uJ+zAlnVFyS3zl8O ilrxQykypDW+qCKtunt45tXMh6zsY9pgd1i6raYFBWDPR82cZP/aXBT/azMVGYcTzWBG nPYXLZG8mXbGZUIJ4dtG2LlYH3+dJtTvo+isW+06NHkqpplWRYb2mI9RSkc1QFa/dUYp mBqTqVaFJe+yLb/IRiSwBftGWXOp+5ec43VHU55kWg48Y/CKszjd82d69PchzplNThaP tuwQ== X-Gm-Message-State: AOAM531W3GJLMcHDKtIpLAgHtPUvnOF8nw66XE4W4bhZw3S7tKKCN1/y 9d3DVDmrYc0bUIfP2vx801vUpLCowuD/aX4OsUchLw== X-Received: by 2002:a05:6808:1188:: with SMTP id j8mr23202940oil.101.1642434982892; Mon, 17 Jan 2022 07:56:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Vetter Date: Mon, 17 Jan 2022 16:56:11 +0100 Message-ID: Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer To: Helge Deller Cc: Linus Torvalds , "airlied@gmail.com" , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Javier Martinez Canillas , Geert Uytterhoeven Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 17, 2022 at 4:43 PM Helge Deller wrote: > > On 1/17/22 16:00, Daniel Vetter wrote: > > On Mon, Jan 17, 2022 at 1:16 PM Helge Deller wrote: > >> > >> Hello Daniel, > >> > >> On 1/17/22 11:02, Daniel Vetter wrote: > >>> Hi Helge > >>> > >>> On Fri, Jan 14, 2022 at 7:18 PM Helge Deller wrote: > >>>> > >>>> The fbdev layer is orphaned, but seems to need some care. > >>>> So I'd like to step up as new maintainer. > >>>> > >>>> Signed-off-by: Helge Deller > >>>> > >>>> diff --git a/MAINTAINERS b/MAINTAINERS > >>>> index 5d0cd537803a..ce47dbc467cc 100644 > >>>> --- a/MAINTAINERS > >>>> +++ b/MAINTAINERS > >>>> @@ -7583,11 +7583,12 @@ W: http://floatingpoint.sourceforge.net/emulator/index.html > >>>> F: arch/x86/math-emu/ > >>>> > >>>> FRAMEBUFFER LAYER > >>>> -L: dri-devel@lists.freedesktop.org > >>>> +M: Helge Deller > >>>> L: linux-fbdev@vger.kernel.org > >>>> -S: Orphan > >>> > >>> Maybe don't rush maintainer changes in over the w/e without even bothering > >>> to get any input from the people who've been maintaining it before. > >>> > >>> Because the status isn't entirely correct, fbdev core code and fbcon and > >>> all that has been maintained, but in bugfixes only mode. And there's very > >>> solid&important reasons to keep merging these patches through a drm tree, > >>> because that's where all the driver development happens, and hence also > >>> all the testing (e.g. the drm test suite has some fbdev tests - the only > >>> automated ones that exist to my knowledge - and we run them in CI). So > >>> moving that into an obscure new tree which isn't even in linux-next yet is > >>> no good at all. > >>> > >>> Now fbdev driver bugfixes is indeed practically orphaned and I very much > >>> welcome anyone stepping up for that, but the simplest approach there would > >>> be to just get drm-misc commit rights and push the oddball bugfix in there > >>> directly. But also if you want to do your own pull requests to Linus for > >>> that I don't care and there's really no interference I think, so > >>> whatever floats. > >>> > >>> But any code that is relevant for drm drivers really needs to go in through > >>> drm trees, nothing else makes much sense. > >>> > >>> I guess you're first action as newly minted fbdev maintainer is going to be to > >>> clean up the confusion you just created. > >> > >> Most of my machines depend on a working fbdev layer since drm isn't (and probably > >> -due to technical requirements of DRM- won't be) available for those. > >> So, since the fbdev drivers were marked orphaned, I decided to step up as maintainer. > >> > >> I see your point that at least the fbdev core code and fbcon are shared between DRM and fbdev. > >> For me it's really not important to drive any patches through a seperate tree, so > >> I'd be happy to join the drm-misc tree if you feel it's necessary. (By the way, > >> adding my tree to for-next was on my todo list...) > >> > >> What's important for me though is, to keep fbdev actively maintained, which means: > >> a) to get fixes which were posted to fbdev mailing list applied if they are useful & correct, > > > > Yeah it'd be great if we have that, for a while Bart took care of > > these, but had to step down again. drm-misc is maintained with the dim > > scrip suite, which comes with docs and bash completion and everything. > > Good starting pointer is here: > > > > https://drm.pages.freedesktop.org/maintainer-tools/getting-started.html > > > > Process for getting commit rights is documented here: > > > > https://drm.pages.freedesktop.org/maintainer-tools/commit-access.html#drm-misc > > > > But there's a pile more. I think once we've set that up and got it > > going we can look at the bigger items. Some of them are fairly > > low-hanging fruit, but the past 5+ years absolutely no one bothered to > > step up and sort them out. Other problem areas in fbdev are extremely > > hard to fix properly, without only doing minimal security-fixes only > > support, so fair warning there. I think a good starting point would be > > to read the patches and discussions for some of the things you've > > reverted in your tree. > > > > Anyway I hope this gets you started, and hopefully after a minor > > detour: Welcome to dri-devel, we're happy to take any help we can get, > > there's lots to do! > > > > Hello Daniel, > > you somehow missed to answer my main topics below...: Well others replied on some specifics already, but for your reverts really read the commit message first. fbcon is full or broken locking and crashes that syzbot hits, so if you want to resurrect that code, those bugs need to be fixed first. Or at least some way to make sure that only people who don't care about serious issues in their kernel can use the code. We haven't done much maintainering, but we've tried to at least somewhat stay on top of the oopses and issues syzbot discovers (not even all of them unfortunately). Wrt useable console: shadow buffer + memcpy tends to be most performant, actually useful 2d acceleration is really hard. See the blog post Thomas linked. If you go with that, drm has you fully covered. None of the things you bring up are anything new really, and have been discussed at length over the past 5-10 years here on dri-devel. That's why I suggested that a good start is to focus on the simple fixes first, and meanwhile ramp up on the complexity you're volunteering for. There's some really tricky things going on here. -Daniel > > > >> b) to include new drivers (for old hardware) if they arrive (probably happens rarely but there can be). > >> I know of at least one driver which won't be able to support DRM.... > >> Of course, if the hardware is capable to support DRM, it should be written for DRM and not applied for fbdev. > >> c) reintroduce the state where fbcon is fast on fbdev. This is important for non-DRM machines, > >> either when run on native hardware or in an emulator. > >> d) not break DRM development > >> > >> Especially regarding c) I complained in [1] and got no feedback. I really would like to > >> understand where the actual problems were and what's necessary to fix them. > >> > >> Helge > >> > >> [1] https://lore.kernel.org/r/feea8303-2b83-fc36-972c-4fc8ad723bde@gmx.de > > > > > > > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch