Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/rpi turn off hardware cursor while blanking ...



details:   https://anonhg.NetBSD.org/src/rev/8b487b019501
branches:  trunk
changeset: 332631:8b487b019501
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed Oct 01 13:31:27 2014 +0000

description:
turn off hardware cursor while blanking screen.

diffstat:

 sys/arch/evbarm/rpi/rpi_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r b83c9f8bc57a -r 8b487b019501 sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Wed Oct 01 13:30:18 2014 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Wed Oct 01 13:31:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpi_machdep.c,v 1.51 2014/10/01 13:30:18 mlelstv Exp $ */
+/*     $NetBSD: rpi_machdep.c,v 1.52 2014/10/01 13:31:27 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.51 2014/10/01 13:30:18 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.52 2014/10/01 13:31:27 mlelstv Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_ddb.h"
@@ -941,6 +941,8 @@
                                return 0;
                        rpi_video_on = d;
                        rpi_fb_set_video(d);
+                       rpi_fb_movecursor(cursor_x, cursor_y,
+                                         d ? cursor_on : 0);
                }
                return 0;
        case WSDISPLAYIO_GVIDEO:



Home | Main Index | Thread Index | Old Index