mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/5] video: simplefb: add r5g5b5a1 and x8b8g8r8 formats to SIMPLEFB_FORMATS
@ 2026-04-13 10:06 Ahmad Fatoum
  2026-04-13 10:06 ` [PATCH 2/5] video: simplefb-fixup: use shared SIMPLEFB_FORMATS table Ahmad Fatoum
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2026-04-13 10:06 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The DT binding (display/simple-framebuffer.yaml) lists 11 pixel formats
but SIMPLEFB_FORMATS only covers 9 of them.

Sync with Linux to add the remaining two.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 include/linux/platform_data/simplefb.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/linux/platform_data/simplefb.h b/include/linux/platform_data/simplefb.h
index a4f07eccd81d..bc36a1cd3e44 100644
--- a/include/linux/platform_data/simplefb.h
+++ b/include/linux/platform_data/simplefb.h
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-FileCopyrightText: 2013 David Herrmann <dh.herrmann@gmail.com> */
+/* SPDX-Comment: Origin-URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/platform_data/simplefb.h?id=8681e3663411ee6b64dd0714b23f5c86f64f7533 */
 /*
  * simplefb.h - Simple Framebuffer Device
- *
- * Copyright (C) 2013 David Herrmann <dh.herrmann@gmail.com>
  */
 
 #ifndef __PLATFORM_DATA_SIMPLEFB_H__
@@ -16,11 +16,13 @@
 #define SIMPLEFB_FORMATS \
 { \
 	{ "r5g6b5", 16, {11, 5}, {5, 6}, {0, 5}, {0, 0}, DRM_FORMAT_RGB565 }, \
+	{ "r5g5b5a1", 16, {11, 5}, {6, 5}, {1, 5}, {0, 1}, DRM_FORMAT_RGBA5551 }, \
 	{ "x1r5g5b5", 16, {10, 5}, {5, 5}, {0, 5}, {0, 0}, DRM_FORMAT_XRGB1555 }, \
 	{ "a1r5g5b5", 16, {10, 5}, {5, 5}, {0, 5}, {15, 1}, DRM_FORMAT_ARGB1555 }, \
 	{ "r8g8b8", 24, {16, 8}, {8, 8}, {0, 8}, {0, 0}, DRM_FORMAT_RGB888 }, \
 	{ "x8r8g8b8", 32, {16, 8}, {8, 8}, {0, 8}, {0, 0}, DRM_FORMAT_XRGB8888 }, \
 	{ "a8r8g8b8", 32, {16, 8}, {8, 8}, {0, 8}, {24, 8}, DRM_FORMAT_ARGB8888 }, \
+	{ "x8b8g8r8", 32, {0, 8}, {8, 8}, {16, 8}, {0, 0}, DRM_FORMAT_XBGR8888 }, \
 	{ "a8b8g8r8", 32, {0, 8}, {8, 8}, {16, 8}, {24, 8}, DRM_FORMAT_ABGR8888 }, \
 	{ "x2r10g10b10", 32, {20, 10}, {10, 10}, {0, 10}, {0, 0}, DRM_FORMAT_XRGB2101010 }, \
 	{ "a2r10g10b10", 32, {20, 10}, {10, 10}, {0, 10}, {30, 2}, DRM_FORMAT_ARGB2101010 }, \
-- 
2.47.3




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-13 14:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-13 10:06 [PATCH 1/5] video: simplefb: add r5g5b5a1 and x8b8g8r8 formats to SIMPLEFB_FORMATS Ahmad Fatoum
2026-04-13 10:06 ` [PATCH 2/5] video: simplefb-fixup: use shared SIMPLEFB_FORMATS table Ahmad Fatoum
2026-04-13 10:06 ` [PATCH 3/5] parameter: allow enum params to be set by numeric index Ahmad Fatoum
2026-04-13 10:06 ` [PATCH 4/5] video: simplefb-fixup: add stdout-path mode to register_simplefb param Ahmad Fatoum
2026-04-13 10:07 ` [PATCH 5/5] Documentation: add OpenBSD booting guide Ahmad Fatoum
2026-04-13 12:48 ` [PATCH 1/5] video: simplefb: add r5g5b5a1 and x8b8g8r8 formats to SIMPLEFB_FORMATS Sascha Hauer
2026-04-13 14:56 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox