Date: Tue, 3 Nov 2009 20:22:09 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/fb vesa.c src/sys/dev/syscons syscons.c src/sys/sys fbio.h Message-ID: <200911032022.nA3KMneh089993@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkim 2009-11-03 20:22:09 UTC FreeBSD src repository Modified files: sys/dev/fb vesa.c sys/dev/syscons syscons.c sys/sys fbio.h Log: SVN rev 198858 on 2009-11-03 20:22:09Z by jkim Fix VESA color palette corruption: - VBE 3.0 says palette format resets to 6-bit mode when video mode changes. We simply set 8-bit mode when we switch modes if the adapter supports it. - VBE 3.0 also says if the mode is not VGA compatible, we must use VBE function to save/restore palette. Otherwise, VGA function may be used. Thus, reinstate the save/load palette functions only for non-VGA compatible modes regardless of its palette format. - Let vesa(4) set VESA modes even if vga(4) claims to support it. - Reset default palette if VESA pixel mode is set initially. - Fix more style nits. Revision Changes Path 1.15 +36 -59 src/sys/dev/fb/vesa.c 1.477 +3 -0 src/sys/dev/syscons/syscons.c 1.17 +1 -0 src/sys/sys/fbio.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911032022.nA3KMneh089993>