Date: Tue, 23 Feb 2010 21:51:14 +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 scvidctl.c syscons.c syscons.h src/sys/sys fbio.h Message-ID: <201002232152.o1NLq6lT049195@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkim 2010-02-23 21:51:14 UTC FreeBSD src repository Modified files: sys/dev/fb vesa.c sys/dev/syscons scvidctl.c syscons.c syscons.h sys/sys fbio.h Log: SVN rev 204265 on 2010-02-23 21:51:14Z by jkim Yet another attempt to make palette loading more safer: - Add a separate palette data for 8-bit DAC mode when SC_PIXEL_MODE is set and fill it up with default gray-scale palette data for text. Now we don't have to set `hint.sc.0.vesa_mode' to get the default palette data. - Add a new adapter flag, V_ADP_DAC8 to track whether the controller is using 8-bit palette format and load correct palette when switching modes. - Set 8-bit DAC mode only for non-VGA compatible graphics mode. Revision Changes Path 1.28 +33 -24 src/sys/dev/fb/vesa.c 1.43 +9 -1 src/sys/dev/syscons/scvidctl.c 1.480 +16 -4 src/sys/dev/syscons/syscons.c 1.97 +4 -1 src/sys/dev/syscons/syscons.h 1.20 +1 -0 src/sys/sys/fbio.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002232152.o1NLq6lT049195>