[PATCH 5/6] drm/simpledrm: Support the AB24 format
Thierry Reding
thierry.reding at gmail.com
Mon Sep 5 16:32:59 UTC 2022
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>
---
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,
--
2.37.2
More information about the dri-devel
mailing list