Module Name: src
Committed By: macallan
Date: Tue Aug 24 12:47:18 UTC 2010
Modified Files:
src/sys/dev/pci: radeonfb.c
Log Message:
re-initialize the DAC when re-entering terminal emulation mode
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/radeonfb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/radeonfb.c
diff -u src/sys/dev/pci/radeonfb.c:1.36 src/sys/dev/pci/radeonfb.c:1.37
--- src/sys/dev/pci/radeonfb.c:1.36 Tue Aug 17 18:53:16 2010
+++ src/sys/dev/pci/radeonfb.c Tue Aug 24 12:47:17 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: radeonfb.c,v 1.36 2010/08/17 18:53:16 macallan Exp $ */
+/* $NetBSD: radeonfb.c,v 1.37 2010/08/24 12:47:17 macallan Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.36 2010/08/17 18:53:16 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.37 2010/08/24 12:47:17 macallan Exp $");
#define RADEONFB_DEFAULT_DEPTH 8
@@ -1027,6 +1027,7 @@
if ((dp->rd_wsmode == WSDISPLAYIO_MODE_EMUL) &&
(dp->rd_vd.active)) {
radeonfb_engine_init(dp);
+ radeonfb_init_palette(sc, dp == &sc->sc_displays[0] ? 0 : 1);
radeonfb_modeswitch(dp);
vcons_redraw_screen(dp->rd_vd.active);
}