Inform 8bpp capability on 8bpp framebuffer in
authoraoyama <aoyama@openbsd.org>
Sat, 5 Aug 2023 00:34:19 +0000 (00:34 +0000)
committeraoyama <aoyama@openbsd.org>
Sat, 5 Aug 2023 00:34:19 +0000 (00:34 +0000)
commitff5ac6858747b9e76e6e562155f2ef1ae85364b2
tree90971fc5d64d23db5eaa72df2d9cf7196f787630
parenteef6c82a44db240d0ac529bdc0330fb3f3c7ba22
Inform 8bpp capability on 8bpp framebuffer in
WSDISPLAYIO_GETSUPPORTEDDEPTH ioctl.

This is needed to use recent updated wsfb(4) driver in 8bpp mode.
We can use 1bpp X server on 8bpp framebuffer by 'startx -- -depth 1'.

Tested by me.
sys/arch/luna88k/dev/lunafb.c