Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner revert accidentially committed change...



details:   https://anonhg.NetBSD.org/src/rev/32158585c102
branches:  trunk
changeset: 342892:32158585c102
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Jan 13 17:07:51 2016 +0000

description:
revert accidentially committed changes in awin_tcon1_set_videomode()

diffstat:

 sys/arch/arm/allwinner/awin_tcon.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r ca1f3dd555e2 -r 32158585c102 sys/arch/arm/allwinner/awin_tcon.c
--- a/sys/arch/arm/allwinner/awin_tcon.c        Wed Jan 13 15:56:05 2016 +0000
+++ b/sys/arch/arm/allwinner/awin_tcon.c        Wed Jan 13 17:07:51 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_tcon.c,v 1.12 2016/01/13 13:29:51 macallan Exp $ */
+/* $NetBSD: awin_tcon.c,v 1.13 2016/01/13 17:07:51 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_allwinner.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_tcon.c,v 1.12 2016/01/13 13:29:51 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_tcon.c,v 1.13 2016/01/13 17:07:51 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -670,9 +670,9 @@
                const u_int phsync_p = !!(mode->flags & VID_PHSYNC);
                const u_int pvsync_p = !!(mode->flags & VID_PVSYNC);
                const u_int hspw = mode->hsync_end - mode->hsync_start;
-               const u_int hbp = mode->htotal - mode->hsync_end;
+               const u_int hbp = mode->htotal - mode->hsync_start;
                const u_int vspw = mode->vsync_end - mode->vsync_start;
-               const u_int vbp = mode->vtotal - mode->vsync_end;
+               const u_int vbp = mode->vtotal - mode->vsync_start;
                const u_int vblank_len =
                    ((mode->vtotal << interlace_p) >> 1) - mode->vdisplay - 2;
                const u_int start_delay =



Home | Main Index | Thread Index | Old Index