diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-03-09 19:02:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-03-09 19:02:45 +0000 |
commit | 2c7d6aa6442aa686cbffc0f4959df4a688428428 (patch) | |
tree | b51a49e2f0bbd7c51c7e56aac8ade16baf42d265 /sys/dev/fdt/simplefb.c | |
parent | 0a0ced14e844cd926d9ad7cd4148372dfc2bc72c (diff) |
Add support for 30-bit color modes.
Diffstat (limited to 'sys/dev/fdt/simplefb.c')
-rw-r--r-- | sys/dev/fdt/simplefb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/fdt/simplefb.c b/sys/dev/fdt/simplefb.c index 92a4546b9f1..13708ea3f32 100644 --- a/sys/dev/fdt/simplefb.c +++ b/sys/dev/fdt/simplefb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: simplefb.c,v 1.11 2020/05/28 20:24:26 fcambus Exp $ */ +/* $OpenBSD: simplefb.c,v 1.12 2021/03/09 19:02:44 kettenis Exp $ */ /* * Copyright (c) 2016 Mark Kettenis * @@ -54,7 +54,9 @@ struct simplefb_format simplefb_formats[] = { { "x8r8g8b8", 32, 16, 8, 8, 8, 0, 8 }, { "a8r8g8b8", 32, 16, 8, 8, 8, 0, 8 }, { "x8b8g8r8", 32 }, - { "a8b8g8r8", 32 } + { "a8b8g8r8", 32 }, + { "x2r10g10b10", 32, 20, 10, 10, 10, 0, 10 }, + { "a2r10g10b10", 32, 20, 10, 10, 10, 0, 10 }, }; struct simplefb_softc { |