Re: [PATCH v2 08/13] drm/format-helper: Add conversion from XRGB8888 to ARGB2101010

2022-12-23 Thread José Expósito
On Tue, Dec 20, 2022 at 05:11:40PM +0100, Thomas Zimmermann wrote: > Add dedicated helper to convert from XRGB to ARGB2101010. Sets > all alpha bits to make pixels fully opaque. > > v2: > * set correct format in struct drm_framebuffer (Javier) > * use cpubuf_to_le32() > * typ

[PATCH v2 08/13] drm/format-helper: Add conversion from XRGB8888 to ARGB2101010

2022-12-20 Thread Thomas Zimmermann
Add dedicated helper to convert from XRGB to ARGB2101010. Sets all alpha bits to make pixels fully opaque. v2: * set correct format in struct drm_framebuffer (Javier) * use cpubuf_to_le32() * type fixes Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Can