[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1upGwtjWgtLUZ1k@intel.com>
Date: Fri, 28 Oct 2022 13:04:11 +0300
From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
To: Thomas Zimmermann <tzimmermann@...e.de>
Cc: Hector Martin <marcan@...can.st>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Javier Martinez Canillas <javierm@...hat.com>,
stable@...r.kernel.org,
Pekka Paalanen <pekka.paalanen@...labora.com>,
asahi@...ts.linux.dev, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/simpledrm: Only advertise formats that are supported
On Thu, Oct 27, 2022 at 01:08:24PM +0200, Thomas Zimmermann wrote:
> I trust you when you say that <native>->XRGB8888 is not enough. But
> although I've read your replies, I still don't understand why this
> switch is necessary.
>
> Why don't we call drm_fb_build_fourcc_list() with the native
> format/formats and let it append a number of formats, such as adding
> XRGB888, adding ARGB8888 if necessary, adding ARGB2101010 if necessary.
> Each with a elaborate comment why and which userspace needs the format. (?)
Are you saying there is some real userspace that breaks without
the alpha formats? That would already be broken on many devices.
--
Ville Syrjälä
Intel
Powered by blists - more mailing lists