summaryrefslogtreecommitdiff
path: root/sys/include/dev/video
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-24 19:52:56 -0400
committerIan Moffett <ian@osmora.org>2024-04-24 19:52:56 -0400
commitd06eca1772190435e5dcb370db734653d3989bc8 (patch)
treedb09ef7b5b28f033a0313722516c0eae105b3bf3 /sys/include/dev/video
parenteb5d1c92c4e79c04a9d2e0027728e1378ba61f49 (diff)
kernel: fbdev: Add framebuffer ioctl
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/video')
-rw-r--r--sys/include/dev/video/fbdev.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/include/dev/video/fbdev.h b/sys/include/dev/video/fbdev.h
index 123182f..e9c9282 100644
--- a/sys/include/dev/video/fbdev.h
+++ b/sys/include/dev/video/fbdev.h
@@ -32,6 +32,15 @@
#include <sys/types.h>
+#define FBIOCTL_INFO 0x00000000
+
+struct fbdev_info {
+ uint32_t width;
+ uint32_t height;
+ uint32_t pitch;
+ uint32_t bits_per_pixel;
+};
+
struct fbdev {
void *mem;
uint32_t width;