Module Name: xsrc Committed By: msaitoh Date: Sun Nov 9 07:40:31 UTC 2014
Modified Files: xsrc/external/mit/xf86-video-wsfb/dist/src [netbsd-6]: wsfb_driver.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1183): external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.22 external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.23 external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.25 Fix wrong VRAM size calculation on old drivers without GET_FBINFO ioctl. The linebytes is a byte number of width so it should be (linebytes * height), not (width * linebytes). XXX: I'm not sure where WSDISPLAYIO_GET_FBINFO implementation was discussed but I wonder if we should use proper ifdef or macro to share this third party Xorg driver with OpenBSD... No need to handle colormap ioctls if cmsize == 0 even in WSFB_CI case. Add kludge to use luna68k 4/8bpp framebuffers as a monochrome server. The idea is taken from mlterm-fb --depth option implementation. This change should not affect other framebuffer types. Tested on 4bpp on LUNA and 1bpp/8bpp on LUNA-II. To generate a diff of this commit: cvs rdiff -u -r1.13.2.3 -r1.13.2.4 \ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.