[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <z7NQYyKnuywG0bUt7Wr9e53SGgSZgbMVNKpLAOIP0mH3GljFQI3hd_aQFc8qaqwTbBq8yF3QvR9ugLxlivX-ogj508Vc60XHQPAN3IL5Uik=@emersion.fr>
Date: Thu, 17 Feb 2022 16:18:40 +0000
From: Simon Ser <contact@...rsion.fr>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Thomas Zimmermann <tzimmermann@...e.de>,
Linux Fbdev development list <linux-fbdev@...r.kernel.org>,
David Airlie <airlied@...ux.ie>, Helge Deller <deller@....de>,
Javier Martinez Canillas <javierm@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux/m68k <linux-m68k@...r.kernel.org>,
DRI Development <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH 2/8] drm/fb-helper: Add support for DRM_FORMAT_C[124]
On Thursday, February 17th, 2022 at 17:12, Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
> > What is C0?
>
> A non-existing color-indexed mode with zero colors ;-)
> Introduced purely to make a check like in the comment below work.
> What we really want to check here is if the mode is color-indexed
> or not...
Maybe it would be worth introducing a drm_format_info_is_color_indexed
function? Would be self-describing when used, and would avoid to miss
some places to update when adding new color-indexed formats.
Powered by blists - more mailing lists