Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1368472pxb; Fri, 21 Jan 2022 16:43:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJ28swVvlaLjNDDri50f6WVP8mTI67XyK4Cox4evy1YgzjkweTEvlQD8MfKpgEKZh2iakZ X-Received: by 2002:a17:902:d4c3:b0:14a:3575:2843 with SMTP id o3-20020a170902d4c300b0014a35752843mr6046790plg.40.1642812198792; Fri, 21 Jan 2022 16:43:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642812198; cv=none; d=google.com; s=arc-20160816; b=pCohyzYL2t8paF4kvhZcc2WozTMf2/6ZHDRWc8QVgHo+K5/o2nY1bMrl1z4ctv5A62 tYy4XSqMCzLxVuNqG3T8kKEKemk9ggHtTzKBteVbr8ilQLCW2rZPrlffNAVlsa17yGLy 17DpzHD9GIZyImsCVuJ97RYx0Oj6fDfSiX2wvhhRsl2NSlgrLYqCO5EPaQCul0kMp5q3 9S7vB4qxBIkJwn/wRCH3+Y6b9lqO5EOBXb/aKzYukoseoSFKCNaRrBJ1Rqw+o+Y9Wlw5 1hstf7ADuBGJADsynnRyDcBWn0HlkDzMiHERYJZvcTe3EHWhOqJg7oMQgq6Kll9cl9fC GYWQ== 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=yrM5fABO5SZcVbJoe9Ix4MRfc99NE9JR6NJPbJC6LIw=; b=HS0cBFOt/V48oqjFWc1hAKBFBaCaIAp8448vmLonI8wqWFAa1cPS2AtKSMMvF3YJ/Z VNeRSlIMVWy5XEtU/nZ+lk/XZdjZOq80C5dEuHpEBX87p62MEPu+6xgyBW7KUMpRE4Xs VIDePfN8Z5s8jslSJ6UDc4s9zezFAkzTVHZPkhNh7KX435mP7o5nERfnLaA35Wk5K0h1 yASixAtJoHTivWRfwYhHuGRE50/ubZxf/AsXvNY+/gYxtmxRHLY4HjdkS69mfWNFqNuM Y68xDLI9LLbaCfd6cuU1er1onv2r4OE5T+/sgUKBIYO6MWvc4RsF6tKR2LQ+529IfUMi 5/Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=KdiG09w8; 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 z3si6883864plo.583.2022.01.21.16.43.07; Fri, 21 Jan 2022 16:43:18 -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=KdiG09w8; 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 S1378859AbiAUIzj (ORCPT + 99 others); Fri, 21 Jan 2022 03:55:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349524AbiAUIzi (ORCPT ); Fri, 21 Jan 2022 03:55:38 -0500 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE4A4C06173F for ; Fri, 21 Jan 2022 00:55:37 -0800 (PST) Received: by mail-ot1-x329.google.com with SMTP id m8-20020a9d4c88000000b00592bae7944bso10999093otf.1 for ; Fri, 21 Jan 2022 00:55:37 -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=yrM5fABO5SZcVbJoe9Ix4MRfc99NE9JR6NJPbJC6LIw=; b=KdiG09w8aBvAILbJf1NNS5DPaRYfzCW+Q2zBiSQtGxosLVvdbNwIij9eBpVmRKEEfd RiRNQcPkdeCrvSHGjaGe0wdonu4KDRc+HZkaE+DdIjteru54VOeon+Jkt5l+H6OONHzd Nyn93CewKb0rN9iwOgv9qdnYX9xYsU8pQrCKU= 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=yrM5fABO5SZcVbJoe9Ix4MRfc99NE9JR6NJPbJC6LIw=; b=uBrG83FP9Q3AIO4MDgLhR15QnPruX2pK4tVPW3mHLP4Hb11U+TppD5tjhVPIrwsJOn QZGhH8V77XKYU7J4lMZ0q2YUGdpMsJ+63LsMZxsrjOdK4j+ZGu0YbNLd7UkvQ83FvN0b iDKq+VHH8S2Ank49KM0f0xKhgp2qZnmF+k+kwRzQxZLQp/VScN328Rq3lYe6V03CQT+i Fn0HRA7K4C6uuS+TUBi1+Zr1eVLFp2eTKFvnfcNCeLqXjOCPBLNm68cd24CRDM9pXtK0 LqwpT28OXbmv2aHTtS14XHFECxOu3UUmxR9Z6+2N+BWXTFR9NZvajsb7fk8Wy89Gu7X3 wg4Q== X-Gm-Message-State: AOAM530ARA6hvShTQLT1+GTUPxTB2wzNx1fl45ueNzauy3on+nODUqlO bjlEeFbABAg1X5/DBcDNBmTjMKwvW+RbhIUkUmVGCw== X-Received: by 2002:a05:6830:2704:: with SMTP id j4mr2063258otu.323.1642755337197; Fri, 21 Jan 2022 00:55:37 -0800 (PST) MIME-Version: 1.0 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> <3f96f393-e59d-34ac-c98b-46180e2225cd@suse.de> <20220120125015.sx5n7ziq3765rwyo@sirius.home.kraxel.org> In-Reply-To: <20220120125015.sx5n7ziq3765rwyo@sirius.home.kraxel.org> From: Daniel Vetter Date: Fri, 21 Jan 2022 09:55:25 +0100 Message-ID: Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer To: Gerd Hoffmann Cc: Thomas Zimmermann , Geert Uytterhoeven , Helge Deller , Linux Fbdev development list , Sven Schnelle , Linux Kernel Mailing List , DRI Development , Javier Martinez Canillas , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 21, 2022 at 9:46 AM Gerd Hoffmann wrote: > > Hi, > > > What I still don't understand: why are you so keen on maintaining an > > interface that only serves the console? Nothing else uses fbdev these days. > > Why not improve DRM/userspace to the point where it fits your requirements? > > Long-term, the latter would make a lot more sense. > > And note that it is *much* easier to write drm drivers these days. > We got alot of helpers, we got generic fbdev emulation and more. > > If you are curious just compare the initial commit of the bochs drm > driver with the current code. Initially the driver had to manage ttm > and fbdev and whatnot else. These days writing a (non-accelerated) drm > driver is basically some boilerplate picking the helpers which work best > for your hardware, the code to actually program the hardware and that's > it. > > The "new drivers should be drm" policy exists for years already btw, > exactly because of the unfixable fbdev API limitations. The bochs drm > was a fbdev driver initially. Never merged. Got rewritten as drm > driver and that was merged instead. In 2013, almost a decade ago. > > And, yes, it very well might be that drm misses some piece here and > there for specific hardware, such as fbdev emulation not supporting > rgb332. But I fully agree with Thomas here: Improving drm is probably > a much better way to spend your time. drm is where the development > happens. fbdev is only kept alive. Just to clarify, since we had lots of smaller and bigger misunderstandings in the thread thus far: DRM_FORMAT_RGB332 exists, so drm support that already. The fbdev emulation doesn't yet, but all that's needed for that is filling out the code to remap the drm description to the fbdev format description for this case. Plus testing it all works ofc with fbcon and whatelse. Note that RGB332 is a bit more work than e.g. C4, since atm fbdev still uses only bpp to identify formats, so would need to be switch over to drm_fourcc first before adding anything which aliases with something existing (we have C8 already wired up). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch