summaryrefslogtreecommitdiff
path: root/sys/dev/video
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-04-18 21:35:46 -0400
committerIan Moffett <ian@osmora.org>2025-04-18 21:35:46 -0400
commit776923710d509a04ccc082c1f8dbc6b0c10b3910 (patch)
treebd97d035fe0a2588b4b34bc8567669608625f75e /sys/dev/video
parentefca7154774baf5235bf0c379e265334f34c0127 (diff)
kernel: video: Add bpp field to fbdev
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/video')
-rw-r--r--sys/dev/video/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/video/fbdev.c b/sys/dev/video/fbdev.c
index cf4954a..f21c769 100644
--- a/sys/dev/video/fbdev.c
+++ b/sys/dev/video/fbdev.c
@@ -48,5 +48,6 @@ fbdev_get(void)
ret.width = FRAMEBUFFER->width;
ret.height = FRAMEBUFFER->height;
ret.pitch = FRAMEBUFFER->pitch;
+ ret.bpp = FRAMEBUFFER->bpp;
return ret;
}