Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Justin Forbes
On Mon, Oct 31, 2022 at 11:52 AM Hector Martin wrote: > > On 01/11/2022 01.15, Justin Forbes wrote: > > On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: > >> > >> drm_fb_build_fourcc_list() currently returns all emulated formats > >> unconditionally as long as the native format is among them,

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Hector Martin
On 01/11/2022 01.15, Justin Forbes wrote: > On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: >> >> drm_fb_build_fourcc_list() currently returns all emulated formats >> unconditionally as long as the native format is among them, even though >> not all combinations have conversion helpers. Altho

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Justin Forbes
On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: > > drm_fb_build_fourcc_list() currently returns all emulated formats > unconditionally as long as the native format is among them, even though > not all combinations have conversion helpers. Although the list is > arguably provided to userspace

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Thomas Zimmermann
Merged into drm-misc-fixes Am 27.10.22 um 15:57 schrieb Hector Martin: drm_fb_build_fourcc_list() currently returns all emulated formats unconditionally as long as the native format is among them, even though not all combinations have conversion helpers. Although the list is arguably provided to

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Hector Martin
On 28/10/2022 17.07, Thomas Zimmermann wrote: > In yesterday's discussion on IRC, it was said that several devices > advertise ARGB framebuffers when the hardware actually uses XRGB? Is > there hardware that supports transparent primary planes? ARGB hardware probably exists in the form of embedd

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Pekka Paalanen
On Fri, 28 Oct 2022 11:34:34 +0200 Thomas Zimmermann wrote: > Hi > > Am 28.10.22 um 11:17 schrieb Pekka Paalanen: > > On Fri, 28 Oct 2022 10:53:49 +0200 > > Thomas Zimmermann wrote: > > > >> Hi > >> > >> Am 28.10.22 um 10:37 schrieb Pekka Paalanen: > >>> On Fri, 28 Oct 2022 10:07:27 +0200

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Thomas Zimmermann
Hi Am 28.10.22 um 11:17 schrieb Pekka Paalanen: On Fri, 28 Oct 2022 10:53:49 +0200 Thomas Zimmermann wrote: Hi Am 28.10.22 um 10:37 schrieb Pekka Paalanen: On Fri, 28 Oct 2022 10:07:27 +0200 Thomas Zimmermann wrote: Hi Am 27.10.22 um 15:57 schrieb Hector Martin: drm_fb_build_fourcc_

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Pekka Paalanen
On Fri, 28 Oct 2022 10:53:49 +0200 Thomas Zimmermann wrote: > Hi > > Am 28.10.22 um 10:37 schrieb Pekka Paalanen: > > On Fri, 28 Oct 2022 10:07:27 +0200 > > Thomas Zimmermann wrote: > > > >> Hi > >> > >> Am 27.10.22 um 15:57 schrieb Hector Martin: > >>> drm_fb_build_fourcc_list() currently

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Thomas Zimmermann
Hi Am 28.10.22 um 10:37 schrieb Pekka Paalanen: On Fri, 28 Oct 2022 10:07:27 +0200 Thomas Zimmermann wrote: Hi Am 27.10.22 um 15:57 schrieb Hector Martin: drm_fb_build_fourcc_list() currently returns all emulated formats unconditionally as long as the native format is among them, even thoug

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Pekka Paalanen
On Fri, 28 Oct 2022 10:07:27 +0200 Thomas Zimmermann wrote: > Hi > > Am 27.10.22 um 15:57 schrieb Hector Martin: > > drm_fb_build_fourcc_list() currently returns all emulated formats > > unconditionally as long as the native format is among them, even though > > not all combinations have convers

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Thomas Zimmermann
Hi Am 27.10.22 um 15:57 schrieb Hector Martin: drm_fb_build_fourcc_list() currently returns all emulated formats unconditionally as long as the native format is among them, even though not all combinations have conversion helpers. Although the list is arguably provided to userspace in precedence

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Pekka Paalanen
On Thu, 27 Oct 2022 22:57:11 +0900 Hector Martin wrote: > drm_fb_build_fourcc_list() currently returns all emulated formats > unconditionally as long as the native format is among them, even though > not all combinations have conversion helpers. Although the list is > arguably provided to userspa

[PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-27 Thread Hector Martin
drm_fb_build_fourcc_list() currently returns all emulated formats unconditionally as long as the native format is among them, even though not all combinations have conversion helpers. Although the list is arguably provided to userspace in precedence order, userspace can pick something out-of-order