* [PATCH] video: simplefb: Add a8r8g8b8 support
@ 2013-12-18 15:48 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2013-12-18 15:48 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/video/simplefb.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index fcd7517..3572629 100644
--- a/drivers/video/simplefb.c
+++ b/drivers/video/simplefb.c
@@ -37,7 +37,15 @@ static const struct simplefb_mode simplefb_modes[] = {
.green = { .length = 6, .offset = 5 },
.blue = { .length = 5, .offset = 0 },
.transp = { .length = 0, .offset = 0 },
+ }, {
+ .format = "a8r8g8b8",
+ .bpp = 32,
+ .red = { .length = 8, .offset = 16 },
+ .green = { .length = 8, .offset = 8 },
+ .blue = { .length = 8, .offset = 0 },
+ .transp = { .length = 8, .offset = 24 },
},
+
};
static bool simplefb_bitfield_cmp(const struct fb_bitfield *a,
--
1.8.5.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-18 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-18 15:48 [PATCH] video: simplefb: Add a8r8g8b8 support Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox