[PATCH v2 5/6] drm/format-helper: introduce drm_fb_xrgb8888_to_gray2()
Javier Martinez Canillas
javierm at redhat.com
Mon Jul 21 11:24:19 UTC 2025
Marcus Folkesson <marcus.folkesson at gmail.com> writes:
> Convert XRGB8888 to 2bit grayscale.
>
> It uses drm_fb_xrgb8888_to_gray8() to convert the pixels to gray8 as an
> intermediate step before converting to gray2.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> ---
I would like Thomas to review it too, but for me the change looks good.
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list