Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci re-initialize the DAC when re-entering terminal ...
details: https://anonhg.NetBSD.org/src/rev/ec5a217432b1
branches: trunk
changeset: 757301:ec5a217432b1
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Aug 24 12:47:17 2010 +0000
description:
re-initialize the DAC when re-entering terminal emulation mode
diffstat:
sys/dev/pci/radeonfb.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e2f4f0788eac -r ec5a217432b1 sys/dev/pci/radeonfb.c
--- a/sys/dev/pci/radeonfb.c Tue Aug 24 12:05:01 2010 +0000
+++ b/sys/dev/pci/radeonfb.c Tue Aug 24 12:47:17 2010 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index