Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3359483pxb; Mon, 17 Jan 2022 18:33:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKkPw71EiwyXoTmFJ6fUCPXom/eFSY+lrNxLNwJ7x5Lx72nr5OWSSUSMB+3e2oN9l8UoeJ X-Received: by 2002:a05:6a00:1944:b0:438:d002:6e35 with SMTP id s4-20020a056a00194400b00438d0026e35mr23812702pfk.20.1642473188605; Mon, 17 Jan 2022 18:33:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642473188; cv=none; d=google.com; s=arc-20160816; b=BaeP4y/uJiu9EgigRkk/MSxUHI3onMgS1p7FVGJc34cfAKTe/g1rlQOT1/ix/Scw/O a040XKD03gpIcZee5xHWKCzQc+ZVD6vk6SQX4nHQPCEpdpNeISBkblQzt64p3SmA2SHS UJqOMod1SR8bEw4N4CPbL09wTlr07vfVny+Qklc70vIKNIDHA6BHo1FlJOXc6NKxZx4b 3IzV+UgC9Q/btyEIf63Cc3vU48IGkjnVLzQYc1dMbq2Mf6UVAczB5EM2EJd8b26g8+8V vDvFVP99oKildNeW1oDg1iCylwDl8p3MiZ4amtxsAYIbBGSxP216PPHt0hJQhJnAEpdS qjyw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/yGWMV2IaBCLdrcmqlD9KYJZK4kVmU0MZLnSvlDxWhI=; b=RFwarG8Wm63/wwnLbM800LEgQ1WpV1u4a+aYLwEu77K/UdxTel/ozwfWnD0WQ8NEQj PEP1UPASBl2u8wpEr/OesOOa/JC6Q+LkoH5IuOZGvyaRNFNFQ7HXGtEeNSujOiO9AlUm 5Zp2EVKFmMs/gFp715dyFL19L52oD26xcRWJbiUiO9DlhzovJwsCNJWLvgfB3k6Cawgf lPFjaHPlJbxEn2jx+CA+ZJEoSYUMjX7I+6pSbClZ7Ln4HIz344aswvjA9Z7h9d5Q2VoN Rzpr+EcwtdMnSRPGms+g78T3aeLTUv2eKJiOFdNfSghgO+y7dTaCrm0cVZVlqJANqy4f kOvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=fS+Bu50t; 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 r3si14971112pff.242.2022.01.17.18.32.56; Mon, 17 Jan 2022 18:33:08 -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=fS+Bu50t; 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 S237172AbiAQOsq (ORCPT + 99 others); Mon, 17 Jan 2022 09:48:46 -0500 Received: from mout.gmx.net ([212.227.17.20]:59109 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231979AbiAQOsj (ORCPT ); Mon, 17 Jan 2022 09:48:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642430909; bh=0z5LHwE5NG6AcV/mo1P1LpHBQnyVU+bCpmzShbRlbGU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=fS+Bu50tH8J6jQmtlnTIrC8aRu9PBg/h/d9G4/qwdTpXpePoYTvZNMlQEFZ4pgPvC VLzqu/UtNNadpMDDudUr5xUKAqtU474B9xhybWkQyuOz/ekiyKEkNqLrVM5mIoWg2w zhiXsT872MQgcVGi58UW4JGKEEHuVPBoU+SF8c20= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.167.237]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N9Mtg-1mDA6q3GWC-015KxP; Mon, 17 Jan 2022 15:48:28 +0100 Message-ID: <57d276d3-aa12-fa40-6f90-dc19ef393679@gmx.de> Date: Mon, 17 Jan 2022 15:47:23 +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 To: Geert Uytterhoeven , Thomas Zimmermann Cc: Gerd Hoffmann , Daniel Vetter , Linus Torvalds , "airlied@gmail.com" , Linux Fbdev development list , Linux Kernel Mailing List , DRI Development , Javier Martinez Canillas References: <20220117125716.yjwxsze35j2ndn2i@sirius.home.kraxel.org> <70530b62-7b3f-db88-7f1a-f89b824e5825@suse.de> From: Helge Deller In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:0IYh08vDK6QIg5wdcH+NhEdYzxVPfDL3OyfZJU3NzK8g5WMPnjY oX/cVPByBDrvgHTcvm5X2rmX4escCEdre5r98uIWeHzo7VTtIf73qg0b6k1wt5xA80GbFuP nWcJZHaH7HzleB5Ps49xB68EzA8xktko/LZeGGnVHJMlSBzOayoZJiM3hQiOvtUN+pWyboV 33lix+6VBnZlf+fLh2PtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UH5P+eqU0rM=:VibbxS6CbIXwAAHtUnBBil ak0y+AouoDFlohFc1kDED8OdBWiPWQi4OxNxG91caPk365RWHdqNL+5MavZP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-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/17/22 15:10, Geert Uytterhoeven wrote: > Hi Thomas, > > On Mon, Jan 17, 2022 at 2:51 PM Thomas Zimmermann = wrote: >> Am 17.01.22 um 14:29 schrieb Geert Uytterhoeven: >>> On Mon, Jan 17, 2022 at 1:57 PM Gerd Hoffmann wrot= e: >>>>> b) to include new drivers (for old hardware) if they arrive (probabl= y happens rarely but there can be). >>>>> I know of at least one driver which won't be able to support DRM= .... >>>> >>>> Hmm? I seriously doubt that. There is always the option to use a >>>> shadow framebuffer, then convert from standard drm formats to whateve= r >>>> esoteric pixel format your hardware expects. >>>> >>>> Been there, done that. Have a look at the cirrus driver. The physic= al >>>> hardware was designed in the early 90-ies, almost 30 years ago. Thes= e >>>> days it exists in virtual form only (qemu emulates it). Thanks to th= e >>>> drm driver it runs wayland just fine even though it has a bunch of >>>> constrains dictated by the hardware design. >>> >>> The Cirrus DRM driver supports TrueColor (RGB565/888 and ARGB8888) >>> modes only. The Cirrus fbdev driver also supports mochrome and 256 >>> color modes. >>> >>> There exist some DRM drivers that do support DRM_FORMAT_C8, but none o= f >>> the "tiny" ones do. Same for DRM_FORMAT_RGB{332,233}. Using a shadow >>> frame buffer to convert from truecolor to 256 colors would be doable, >>> but would give bad results. And what about less colors? >>> Adding support for e.g. DRM_FORMAT_C4 is not straight-forward, as >>> the DRM core assumes in many places that a pixel is at least 1 byte, >>> and would crash otherwise (yes I tried). Other modes needed are >>> DRM_FORMAT_Y4 and DRM_FORMAT_{BW,WB} (monochrome). >> >> We export XRGB32 from each driver, because userspace expects it. But >> that is not a hard requirement. Userspace can use any format. It's just >> that no one seems to have any use cases so far, so no work has been >> done. Think of XRGB32 as a fallback. > > Using an XRGB32 intermediate would kill the user experience on old > machines, due to both increased memory usage and copy overhead. > >> Personally, I'd much appreciate if userspace would support more of the >> native formats and not rely on XRGB32. > > Supporting monochrome, 16 colors, and 256 colors would be nice. =46rom this conversation it seems DRM completely lacks backwards compatibi= lity, including a missing 2D bitblt copy. Isn't that all what's needed and then migrating existing drivers would be easy ? Helge >>> This not only to support "old" hardware, but also modern small OLED >>> and e-ink displays. >> >> There's a DRM driver for Repaper e-Ink displays. So it seems doable at >> least. > > Which uses an DRM_FORMAT_XRGB8888 intermediate, and > drm_fb_xrgb8888_to_gray8() and repaper_gray8_to_mono_reversed() > to convert from truecolor to monochrome. I guess that would work, > as this is a slow e-ink display. Have fun as a text console ;-) > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m= 68k.org > > In personal conversations with technical people, I call myself a hacker.= But > when I'm talking to journalists I just say "programmer" or something lik= e that. > -- Linus Torvalds >