[PATCH 5/6] drm/simpledrm: Support the AB24 format

Thomas Zimmermann tzimmermann at suse.de
Wed Sep 7 07:12:01 UTC 2022


Hi

Am 05.09.22 um 18:32 schrieb Thierry Reding:
> From: Thierry Reding <treding at nvidia.com>
> 
> Add AB24 to the list of supported formats. The format helpers support
> conversion to that format and it is documented in the simple-framebuffer
> device tree bindings.
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>

> ---
>   drivers/gpu/drm/tiny/simpledrm.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
> index 16377b39f012..7829a12ba3dd 100644
> --- a/drivers/gpu/drm/tiny/simpledrm.c
> +++ b/drivers/gpu/drm/tiny/simpledrm.c
> @@ -563,6 +563,7 @@ static int simpledrm_device_init_mm(struct simpledrm_device *sdev)
>   static const uint32_t simpledrm_primary_plane_formats[] = {
>   	DRM_FORMAT_XRGB8888,
>   	DRM_FORMAT_ARGB8888,
> +	DRM_FORMAT_ABGR8888,
>   	DRM_FORMAT_RGB565,
>   	//DRM_FORMAT_XRGB1555,
>   	//DRM_FORMAT_ARGB1555,

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220907/ebb6b29a/attachment.sig>


More information about the dri-devel mailing list