9
0
Fork 0

video: simplefb: Add a8r8g8b8 support

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-12-17 16:18:28 +01:00
parent ff1542fc5e
commit 96ec430eeb
1 changed files with 8 additions and 0 deletions

View File

@ -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,