Re: [PATCH 3/9] drm/format-helper: Add conversion from XRGB8888 to ARGB8888

2022-12-20 Thread Javier Martinez Canillas
On 12/13/22 21:12, Thomas Zimmermann wrote: > Add dedicated helper to convert from XRGB to ARGB. Sets > all alpha bits to make pixels fully opaque. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platform

[PATCH 3/9] drm/format-helper: Add conversion from XRGB8888 to ARGB8888

2022-12-13 Thread Thomas Zimmermann
Add dedicated helper to convert from XRGB to ARGB. Sets all alpha bits to make pixels fully opaque. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_format_helper.c | 53 +++- .../gpu/drm/tests/drm_format_helper_test.c| 63 +++ include/dr