Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1556314imw; Sat, 9 Jul 2022 06:57:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1thMdrCzBbPXMJOI89Lln4dcAOi09TepwnUJxSJKTqZDAjoWtTtNmEkhZ6bm9V/XQpKUHsB X-Received: by 2002:a17:907:6d86:b0:726:99d7:20e4 with SMTP id sb6-20020a1709076d8600b0072699d720e4mr9176581ejc.342.1657375057529; Sat, 09 Jul 2022 06:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657375057; cv=none; d=google.com; s=arc-20160816; b=vnmRB0nRHO6nx9gsDnMLwM/AAkJp7WHsOKwBiPh08KDCY9GgS7w+5lLQZMyG2H07X1 XJc+asA2ejCC1xTDGxRGXmAMHAHBMDEYgIqaqNuSv3iZnK1lQU+ygbbkmEYHW9VeSiPm zPvH6WdpZfenjyKuvFdtJgb8iZ9aMlG5HEmgrmIjzTlwCpShhi8S8I06GW73L2B0ivhX x2DcQARN0aLUylgv5ZYLslKevL6isVKP1HP0/S6AcZ0GoHiBVf3TeNN/0CN8NTaUb5Ia JKgf6SSe9XIK3LrajZhAfMKiR+kPMF6gdGVXA9v04yIWNTbYXp8G2EQ7Q8OIsvyrGxDZ XJ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=XmkcfsDh57jd1J2jvUdL+BZKRd9qAe04YaTvDGQ4b5o=; b=psMxivVoNZ9GDiRHFXO/FCrn+aPm/X+uPFABRkBXIwlQR0jwzLJ17wa8VfgUIpukyc rjD+OuKsCbwucpRMIt3uc+qkiK/8+kiv4gn+X+MVrAdB5QgM2IKC48kCZeJOVjZDa/oi 9seerruoIeaYGSr5CrfO6cC1zYYXbBqc6n0NRxr/oasttFihwWyg14oSMPGwaOpf64Ea bNhgVTVAJAA2r/SKe0rked3E//T9F23PKqxmi6v1yVbC2iwQUl4yYdtBOk68QnAVHrVI k3/jC+AZvE0aGmTW8f+ajNbDCP+MuY/YRauGl4I9rgSZnuq3UNzf6AS1aeTTBDs2nYvf 9XEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=Zo5LqVUa; dkim=neutral (no key) header.i=@ravnborg.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb24-20020a1709077e9800b0072b41fb3c64si315630ejc.222.2022.07.09.06.57.10; Sat, 09 Jul 2022 06:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=Zo5LqVUa; dkim=neutral (no key) header.i=@ravnborg.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229619AbiGINik (ORCPT + 99 others); Sat, 9 Jul 2022 09:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiGINig (ORCPT ); Sat, 9 Jul 2022 09:38:36 -0400 Received: from mailrelay3-1.pub.mailoutpod1-cph3.one.com (mailrelay3-1.pub.mailoutpod1-cph3.one.com [46.30.210.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A402B878 for ; Sat, 9 Jul 2022 06:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=XmkcfsDh57jd1J2jvUdL+BZKRd9qAe04YaTvDGQ4b5o=; b=Zo5LqVUaSgfH1W5v9cXv82HIf2UTJGKnsGbh9Q5tzQ5DCQVt79EHEiPIYgGqC+LE6cN0xxGkryJDx Sp02VZSmTBldxoUo61et9Qo2JEd9uUmzNkIIKYq559XURbuO8uDvFwZs+u32a+rWhq/PQyS+SnSw89 HimmnJkdp5Ju4TTcVkXNMc+L2IeyHNsCPV2femt6bvayQs9DetIkw6DnJsrkIu6ezP+gWpDC4pnLst MmlDrPUqgq5sjtMzIVIKVwzsiOI0OI5XKk+7BUokSL7RTJio7Y5RPlUoZCByQ+PeVKO4Mp7rt24cRZ p4HI8rrjcytPKML9EX1DQLjkw3fSQDg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=XmkcfsDh57jd1J2jvUdL+BZKRd9qAe04YaTvDGQ4b5o=; b=6o3gycdRpEHGoNrAwURicgyEGwLg1iuyxseqGoOk4kRzw82swxTrUITH5wBxDFk1KMBrTPUNWvZOh dt2Z1nrAQ== X-HalOne-Cookie: aedeed65c7618423d082425d94c8b2f248725526 X-HalOne-ID: 6b4eb816-ff8c-11ec-be7e-d0431ea8bb03 Received: from mailproxy2.cst.dirpod3-cph3.one.com (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 6b4eb816-ff8c-11ec-be7e-d0431ea8bb03; Sat, 09 Jul 2022 13:38:30 +0000 (UTC) Date: Sat, 9 Jul 2022 15:38:28 +0200 From: Sam Ravnborg To: Geert Uytterhoeven Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , linux-fbdev@vger.kernel.org, linux-m68k@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 00/10] drm: Add support for low-color frame buffer formats Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Fri, Jul 08, 2022 at 08:20:45PM +0200, Geert Uytterhoeven wrote: > Hi all, > > A long outstanding issue with the DRM subsystem has been the lack of > support for low-color displays, as used typically on older desktop > systems, and on small embedded displays. IT is super to have this addressed - thanks! > > This patch series adds support for color-indexed frame buffer formats > with 2, 4, and 16 colors. It has been tested on ARAnyM using a > work-in-progress Atari DRM driver supporting 2, 4, 16, 256, and 65536 > colors, with text console operation, fbtest, and modetest. > > Overview: > - Patch 1 introduces a helper, to be used by later patches in the > series, > - Patch 2 introduces a flag to indicate color-indexed formats, > - Patches 3 and 4 correct calculations of bits per pixel for sub-byte > pixel formats, > - Patches 5 and 6 introduce the new C[124] formats, > - Patch 7 fixes an untested code path, > - Patch 8 documents the use of "red" for light-on-dark displays, > - Patches 9 and 10 add more fourcc codes for light-on-dark and > dark-on-light frame buffer formats, which may be useful for e.g. the > ssd130x and repaper drivers. Applied all patches to drm-misc (drm-misc-next), including the last two RFC patches as we then have the formats ready when a user pops up. Sam