artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119a58f
)
Display color depth alongside resolution when attaching simplefb(4).
author
fcambus
<fcambus@openbsd.org>
Tue, 31 Jul 2018 17:25:55 +0000
(17:25 +0000)
committer
fcambus
<fcambus@openbsd.org>
Tue, 31 Jul 2018 17:25:55 +0000
(17:25 +0000)
OK kettenis@, deraadt@
sys/dev/fdt/simplefb.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/simplefb.c
b/sys/dev/fdt/simplefb.c
index
11c1a28
..
3be2ac6
100644
(file)
--- a/
sys/dev/fdt/simplefb.c
+++ b/
sys/dev/fdt/simplefb.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: simplefb.c,v 1.
3 2017/12/18 10:13:45 kettenis Exp $
*/
+/* $OpenBSD: simplefb.c,v 1.
4 2018/07/31 17:25:55 fcambus Exp $
*/
/*
* Copyright (c) 2016 Mark Kettenis
*
@@
-154,7
+154,7
@@
simplefb_attach(struct device *parent, struct device *self, void *aux)
ri->ri_flg &= ~RI_CLEAR;
}
- printf(": %dx%d
\n", ri->ri_width, ri->ri_height
);
+ printf(": %dx%d
, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth
);
ri->ri_flg |= RI_VCONS;
rasops_init(ri, SIMPLEFB_HEIGHT, SIMPLEFB_WIDTH);