Re: [PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-24 Thread andriy.shevche...@linux.intel.com
On Mon, Feb 24, 2025 at 10:19:13AM +0100, Thomas Zimmermann wrote: > Am 21.02.25 um 16:51 schrieb andriy.shevche...@linux.intel.com: > > On Fri, Feb 21, 2025 at 11:36:00AM +, Aditya Garg wrote: ... > > > + for (x = 0; x < pixels; x++) { > > > + pix = le32_to_cpu(sbuf32[x]); > > > +

Re: [PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-24 Thread Thomas Zimmermann
Hi Am 21.02.25 um 16:51 schrieb andriy.shevche...@linux.intel.com: On Fri, Feb 21, 2025 at 11:36:00AM +, Aditya Garg wrote: From: Kerem Karabay Add XRGB emulation helper for devices that only support BGR888. ... + for (x = 0; x < pixels; x++) { + pix = le32_to_c

Re: [PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-21 Thread andriy.shevche...@linux.intel.com
On Fri, Feb 21, 2025 at 05:21:08PM +, Aditya Garg wrote: > > On 21 Feb 2025, at 9:21 PM, andriy.shevche...@linux.intel.com wrote: > > On Fri, Feb 21, 2025 at 11:36:00AM +, Aditya Garg wrote: ... > >> + for (x = 0; x < pixels; x++) { > >> + pix = le32_to_cpu(sbuf32[x]); > >> + /* write red

Re: [PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-21 Thread Aditya Garg
Hi Andy > On 21 Feb 2025, at 9:21 PM, andriy.shevche...@linux.intel.com wrote: > > On Fri, Feb 21, 2025 at 11:36:00AM +, Aditya Garg wrote: >> From: Kerem Karabay >> >> Add XRGB emulation helper for devices that only support BGR888. > > ... > >> + for (x = 0; x < pixels; x++) { >> + p

Re: [PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-21 Thread andriy.shevche...@linux.intel.com
On Fri, Feb 21, 2025 at 11:36:00AM +, Aditya Garg wrote: > From: Kerem Karabay > > Add XRGB emulation helper for devices that only support BGR888. ... > + for (x = 0; x < pixels; x++) { > + pix = le32_to_cpu(sbuf32[x]); > + /* write red-green-blue to output i

[PATCH v3 1/3] drm/format-helper: Add conversion from XRGB8888 to BGR888

2025-02-21 Thread Aditya Garg
From: Kerem Karabay Add XRGB emulation helper for devices that only support BGR888. Signed-off-by: Kerem Karabay Signed-off-by: Aditya Garg Reviewed-by: Thomas Zimmermann --- v2 -> Fix incorrect description v3 -> No change in this patch drivers/gpu/drm/drm_format_helper.c | 54